summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-09-08 01:44:37 +0000
committerdelphij <delphij@FreeBSD.org>2015-09-08 01:44:37 +0000
commitedf4da8597a941280a832072a6283a31f0ae8c77 (patch)
treedc309965dbba6a2b8e578e1a4bcf05acc8aeee3b
parent1b3405f899e69cf3e70e942bacf6234a17763382 (diff)
downloadFreeBSD-src-edf4da8597a941280a832072a6283a31f0ae8c77.zip
FreeBSD-src-edf4da8597a941280a832072a6283a31f0ae8c77.tar.gz
MFC r287093:
Instead of doing an no-op (|= 0), actually clear the flags in acl_clear_flags_np. Reported by: Pascal Drecker <pascal freebsd drecker com>
-rw-r--r--lib/libc/posix1e/acl_flag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_flag.c b/lib/libc/posix1e/acl_flag.c
index 39e258d..8ad10c5 100644
--- a/lib/libc/posix1e/acl_flag.c
+++ b/lib/libc/posix1e/acl_flag.c
@@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset_d)
return (-1);
}
- *flagset_d |= 0;
+ *flagset_d = 0;
return (0);
}
OpenPOWER on IntegriCloud