[refpolicy] [PATCH 1/7] Label /usr/lib/networkmanager/ like /usr/lib/NetworkManager/

Christopher J. PeBenito cpebenito at tresys.com
Tue Aug 26 09:15:14 EDT 2014


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


More information about the refpolicy mailing list