From owner-svn-src-head@freebsd.org Mon Aug 24 04:49:21 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E39D9C1D46; Mon, 24 Aug 2015 04:49:21 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4517417D0; Mon, 24 Aug 2015 04:49:21 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7O4nLuT011539; Mon, 24 Aug 2015 04:49:21 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7O4nLV4011538; Mon, 24 Aug 2015 04:49:21 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201508240449.t7O4nLV4011538@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Mon, 24 Aug 2015 04:49:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287093 - head/lib/libc/posix1e X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 04:49:21 -0000 Author: delphij Date: Mon Aug 24 04:49:20 2015 New Revision: 287093 URL: https://svnweb.freebsd.org/changeset/base/287093 Log: Instead of doing an no-op (|= 0), actually clear the flags in acl_clear_flags_np. MFC after: 2 weeks Modified: head/lib/libc/posix1e/acl_flag.c Modified: head/lib/libc/posix1e/acl_flag.c ============================================================================== --- head/lib/libc/posix1e/acl_flag.c Mon Aug 24 04:39:07 2015 (r287092) +++ head/lib/libc/posix1e/acl_flag.c Mon Aug 24 04:49:20 2015 (r287093) @@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset return (-1); } - *flagset_d |= 0; + *flagset_d = 0; return (0); }