glibc/sysdeps/unix
Siddhesh Poyarekar d755bba40f Preserve errno across _PC_CHOWN_RESTRICTED call on XFS
Fix BZ #15305.

On kernel versions earlier than 2.6.29, the Linux kernel exported a
sysctl called restrict_chown for xfs, which could be used to allow
chown to users other than the owner.  2.6.29 removed this support,
causing the open_not_cancel_2 to fail and thus modify errno.  The fix
is to save and restore errno so that the caller sees it as unmodified.

Additionally, since the code to check the sysctl is not useful on
newer kernels, we add an ifdef so that in future the code block gets
rmeoved completely.
2013-04-03 10:56:45 +05:30
..
bsd ulimit: remove buggy bsd implementation 2013-01-23 17:29:35 +01:00
i386 Remove remaining bounded-pointers support from i386 .S files. 2013-02-21 22:21:52 +00:00
inet Move nss directory into sysdeps Subdirs. 2013-02-05 14:32:48 -08:00
powerpc Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sysv/linux Preserve errno across _PC_CHOWN_RESTRICTED call on XFS 2013-04-03 10:56:45 +05:30
x86_64 Remove bounded-pointers handling from x86_64 assembly sources. 2013-02-17 21:57:26 +00:00
clock_gettime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clock_nanosleep.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clock_settime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
confstr.h
get_child_max.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getlogin_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getlogin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getpagesize.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
grantpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Implies
make-syscalls.sh Remove bp-thunks code. 2013-01-31 22:57:06 +00:00
Makefile Remove bp-thunks code. 2013-01-31 22:57:06 +00:00
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
stime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Subdirs
syscall-template.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscall.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscalls.list Name space hygeine for madvise. 2012-10-04 16:31:43 -07:00
sysdep.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00