aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/Makefile.inc
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-07-08 15:23:18 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-07-08 15:23:18 +0000
commitc38898116a2737ea168993b9419c4370e7280303 (patch)
treee525a39d82e8f09edff07a5f34dbc91455121d99 /lib/libc/sys/Makefile.inc
parent6b53d5c0e71582ff79b1490b71c13fcdb9a1680b (diff)
downloadsrc-c38898116a2737ea168993b9419c4370e7280303.tar.gz
src-c38898116a2737ea168993b9419c4370e7280303.zip
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)
Notes
Notes: svn path=/head/; revision=195458
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r--lib/libc/sys/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index ad6b06e3c002..da4f3c52f308 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -159,6 +159,7 @@ MLINKS+=mq_send.2 mq_timedsend.2
MLINKS+=ntp_adjtime.2 ntp_gettime.2
MLINKS+=open.2 openat.2
MLINKS+=pathconf.2 fpathconf.2
+MLINKS+=pathconf.2 lpathconf.2
MLINKS+=read.2 pread.2 read.2 preadv.2 read.2 readv.2
MLINKS+=readlink.2 readlinkat.2
MLINKS+=recv.2 recvfrom.2 recv.2 recvmsg.2