Date: Wed, 8 Jul 2009 15:23:18 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/include unistd.h src/lib/libc/sys Makefile.inc Symbol.map pathconf.2 src/sys/bsm audit_kevents.h src/sys/compat/freebsd32 syscalls.master src/sys/compat/svr4 svr4_stat.c src/sys/i386/ibcs2 ibcs2_misc.c src/sys/kern ... Message-ID: <200907081524.n68FOxWW057169@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trasz 2009-07-08 15:23:18 UTC
FreeBSD src repository
Modified files:
include unistd.h
lib/libc/sys Makefile.inc Symbol.map pathconf.2
sys/bsm audit_kevents.h
sys/compat/freebsd32 syscalls.master
sys/compat/svr4 svr4_stat.c
sys/i386/ibcs2 ibcs2_misc.c
sys/kern syscalls.master vfs_syscalls.c
sys/sys syscallsubr.h
Log:
SVN rev 195458 on 2009-07-08 15:23:18Z by trasz
There is an optimization in chmod(1), that makes it not to call chmod(2)
if the new file mode is the same as it was before; however, this
optimization must be disabled for filesystems that support NFSv4 ACLs.
Chmod uses pathconf(2) to determine whether this is the case - however,
pathconf(2) always follows symbolic links, while the 'chmod -h' doesn't.
This change adds lpathconf(3) to make it possible to solve that problem
in a clean way.
Reviewed by: rwatson (earlier version)
Approved by: re (kib)
Revision Changes Path
1.95 +1 -0 src/include/unistd.h
1.141 +1 -0 src/lib/libc/sys/Makefile.inc
1.27 +1 -0 src/lib/libc/sys/Symbol.map
1.24 +25 -3 src/lib/libc/sys/pathconf.2
1.21 +1 -0 src/sys/bsm/audit_kevents.h
1.122 +1 -0 src/sys/compat/freebsd32/syscalls.master
1.33 +2 -1 src/sys/compat/svr4/svr4_stat.c
1.75 +2 -1 src/sys/i386/ibcs2/ibcs2_misc.c
1.259 +1 -0 src/sys/kern/syscalls.master
1.485 +23 -4 src/sys/kern/vfs_syscalls.c
1.57 +1 -1 src/sys/sys/syscallsubr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907081524.n68FOxWW057169>
