Author: delphij
Date: Tue Sep  8 01:44:37 2015
New Revision: 287547
URL: https://svnweb.freebsd.org/changeset/base/287547

Log:
  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>

Modified:
  stable/10/lib/libc/posix1e/acl_flag.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/posix1e/acl_flag.c
==============================================================================
--- stable/10/lib/libc/posix1e/acl_flag.c       Tue Sep  8 00:43:40 2015        
(r287546)
+++ stable/10/lib/libc/posix1e/acl_flag.c       Tue Sep  8 01:44:37 2015        
(r287547)
@@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset
                return (-1);
        }
 
-       *flagset_d |= 0;
+       *flagset_d = 0;
 
        return (0);
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to