Date: Tue, 8 Sep 2015 01:44:38 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r287547 - stable/10/lib/libc/posix1e Message-ID: <201509080144.t881icZO099534@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509080144.t881icZO099534>