From edf4da8597a941280a832072a6283a31f0ae8c77 Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 8 Sep 2015 01:44:37 +0000 Subject: MFC r287093: Instead of doing an no-op (|= 0), actually clear the flags in acl_clear_flags_np. Reported by: Pascal Drecker --- lib/libc/posix1e/acl_flag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.1