From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Tue, 26 Aug 2014 09:15:14 -0400 Subject: [refpolicy] [PATCH 1/7] Label /usr/lib/networkmanager/ like /usr/lib/NetworkManager/ In-Reply-To: <1408793751-11289-2-git-send-email-nicolas.iooss@m4x.org> References: <1408793751-11289-1-git-send-email-nicolas.iooss@m4x.org> <1408793751-11289-2-git-send-email-nicolas.iooss@m4x.org> Message-ID: <53FC8862.2000604@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 8/23/2014 7:35 AM, Nicolas Iooss wrote: > On ArchLinux the directory name of Network Manager in /usr/lib is > written in lowercase but not the files in /usr/bin, /var/lib, etc. > > While at it, remove a useless backslash before a minus character. > --- > policy/modules/kernel/corecommands.fc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc > index 1384699f4658..c860d81b7f37 100644 > --- a/policy/modules/kernel/corecommands.fc > +++ b/policy/modules/kernel/corecommands.fc > @@ -223,7 +223,8 @@ ifdef(`distro_gentoo',` > /usr/lib/misc/sftp-server -- gen_context(system_u:object_r:bin_t,s0) > /usr/lib/nagios/plugins(/.*)? gen_context(system_u:object_r:bin_t,s0) > /usr/lib/netsaint/plugins(/.*)? gen_context(system_u:object_r:bin_t,s0) > -/usr/lib/NetworkManager/nm\-.* -- gen_context(system_u:object_r:bin_t,s0) > +/usr/lib/NetworkManager/nm-.* -- gen_context(system_u:object_r:bin_t,s0) > +/usr/lib/networkmanager/nm-.* -- gen_context(system_u:object_r:bin_t,s0) > /usr/lib/news/bin(/.*)? gen_context(system_u:object_r:bin_t,s0) > /usr/lib/nspluginwrapper/np.* gen_context(system_u:object_r:bin_t,s0) > /usr/lib/portage/bin(/.*)? gen_context(system_u:object_r:bin_t,s0) Merged. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com