diff options
author | trasz <trasz@FreeBSD.org> | 2009-07-08 15:23:18 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-07-08 15:23:18 +0000 |
commit | 09784497a28d12cd83a37f13a040e4ad325ef692 (patch) | |
tree | e525a39d82e8f09edff07a5f34dbc91455121d99 /lib/libc/sys/Symbol.map | |
parent | 82187ebf4442997e887a1eb21292f91962a323e1 (diff) | |
download | FreeBSD-src-09784497a28d12cd83a37f13a040e4ad325ef692.zip FreeBSD-src-09784497a28d12cd83a37f13a040e4ad325ef692.tar.gz |
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)
Diffstat (limited to 'lib/libc/sys/Symbol.map')
-rw-r--r-- | lib/libc/sys/Symbol.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index 88bc779..901b261 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -346,6 +346,7 @@ FBSD_1.1 { jail_set; jail_remove; linkat; + lpathconf; mkdirat; mkfifoat; mknodat; |