commit:     8379e35ded31dd45bffe5357bd3e95f6e2c17455
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat Nov 22 17:42:58 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 17:42:58 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=8379e35d

Use same whitespace as upstream (better comparison)

---
 policy/modules/kernel/corecommands.fc | 37 +++++++++++++++++------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/policy/modules/kernel/corecommands.fc 
b/policy/modules/kernel/corecommands.fc
index d63b547..406a11e 100644
--- a/policy/modules/kernel/corecommands.fc
+++ b/policy/modules/kernel/corecommands.fc
@@ -77,6 +77,7 @@ ifdef(`distro_redhat',`
 ifdef(`distro_redhat',`
 /etc/mcelog/triggers(/.*)?             gen_context(system_u:object_r:bin_t,s0)
 ')
+
 /etc/mgetty\+sendfax/new_fax   --      gen_context(system_u:object_r:bin_t,s0)
 
 /etc/netplug\.d(/.*)?                  gen_context(system_u:object_r:bin_t,s0)
@@ -193,7 +194,6 @@ ifdef(`distro_gentoo',`
 /usr/bin/scponly               --      
gen_context(system_u:object_r:shell_exec_t,s0)
 /usr/bin/tcsh                  --      
gen_context(system_u:object_r:shell_exec_t,s0)
 
-
 /usr/lib(.*/)?bin(/.*)?                        
gen_context(system_u:object_r:bin_t,s0)
 
 /usr/(.*/)?sbin(/.*)?                  gen_context(system_u:object_r:bin_t,s0)
@@ -261,12 +261,12 @@ ifdef(`distro_gentoo',`
 /usr/lib/debug/usr/bin(/.*)?   --      gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/debug/usr/sbin(/.*)?  --      gen_context(system_u:object_r:bin_t,s0)
 
-/usr/lib/[^/]*thunderbird[^/]*/thunderbird     --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/[^/]*thunderbird[^/]*/thunderbird-bin --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/[^/]*thunderbird[^/]*/open-browser\.sh --     
gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/[^/]*/run-mozilla\.sh                 --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/[^/]*/mozilla-xremote-client          --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/thunderbird.*/mozilla-xremote-client  --      
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/[^/]*thunderbird[^/]*/thunderbird -- 
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/[^/]*thunderbird[^/]*/thunderbird-bin -- 
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/[^/]*thunderbird[^/]*/open-browser\.sh -- 
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/[^/]*/run-mozilla\.sh --      gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/[^/]*/mozilla-xremote-client -- 
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/thunderbird.*/mozilla-xremote-client -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --    
gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/nspluginwrapper/i386/linux/npviewer   --      
gen_context(system_u:object_r:shell_exec_t,s0)
 /usr/lib/xulrunner-.*/plugin-container         --      
gen_context(system_u:object_r:bin_t,s0)
@@ -283,15 +283,14 @@ ifdef(`distro_gentoo',`
 /usr/local/Printer(/.*)?               gen_context(system_u:object_r:bin_t,s0)
 /usr/local/linuxprinter/filters(/.*)?  gen_context(system_u:object_r:bin_t,s0)
 
-
 /usr/sbin/scponlyc             --      
gen_context(system_u:object_r:shell_exec_t,s0)
 /usr/sbin/sesh                 --      
gen_context(system_u:object_r:shell_exec_t,s0)
 /usr/sbin/smrsh                        --      
gen_context(system_u:object_r:shell_exec_t,s0)
 
 /usr/share/ajaxterm/ajaxterm.py.* --   gen_context(system_u:object_r:bin_t,s0)
-/usr/share/ajaxterm/qweb.py.*  --      gen_context(system_u:object_r:bin_t,s0)
+/usr/share/ajaxterm/qweb.py.* --       gen_context(system_u:object_r:bin_t,s0)
 /usr/share/apr-0/build/[^/]+\.sh --    gen_context(system_u:object_r:bin_t,s0)
-/usr/share/apr-0/build/libtool --      gen_context(system_u:object_r:bin_t,s0)
+/usr/share/apr-0/build/libtool --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/build-1/mkdir.sh    --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/dayplanner/dayplanner --    gen_context(system_u:object_r:bin_t,s0)
 /usr/share/debconf/.+          --      gen_context(system_u:object_r:bin_t,s0)
@@ -302,14 +301,14 @@ ifdef(`distro_gentoo',`
 /usr/share/cluster/svclib_nfslock --   gen_context(system_u:object_r:bin_t,s0)
 /usr/share/cvs/contrib/rcs2log --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/e16/misc(/.*)?              gen_context(system_u:object_r:bin_t,s0)
-/usr/share/gedit-2/plugins/externaltools/tools(/.*)?   
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/gitolite/hooks/common/update                --      
gen_context(system_u:object_r:bin_t,s0)
+/usr/share/gedit-2/plugins/externaltools/tools(/.*)? 
gen_context(system_u:object_r:bin_t,s0)
+/usr/share/gitolite/hooks/common/update -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/gitolite/hooks/gitolite-admin/post-update -- 
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/gnucash/finance-quote-check         --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/gnucash/finance-quote-helper                --      
gen_context(system_u:object_r:bin_t,s0)
+/usr/share/gnucash/finance-quote-check -- 
gen_context(system_u:object_r:bin_t,s0)
+/usr/share/gnucash/finance-quote-helper -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/GNUstep/Makefiles/*\.sh             --      
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/GNUstep/Makefiles/mkinstalldirs     --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/hal/device-manager/hal-device-manager --    
gen_context(system_u:object_r:bin_t,s0)
+/usr/share/hal/device-manager/hal-device-manager -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/hal/scripts(/.*)?           gen_context(system_u:object_r:bin_t,s0)
 /usr/share/mc/extfs/.*         --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/Modules/init(/.*)?          gen_context(system_u:object_r:bin_t,s0)
@@ -328,9 +327,9 @@ ifdef(`distro_gentoo',`
 /usr/X11R6/lib(64)?/X11/xkb/xkbcomp -- gen_context(system_u:object_r:bin_t,s0)
 
 ifdef(`distro_debian',`
-/usr/lib/ConsoleKit/.* --      gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/gdm3/.*       --      gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/udisks/.*     --      gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/ConsoleKit/.*         --      gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/gdm3/.*               --      gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/udisks/.*             --      gen_context(system_u:object_r:bin_t,s0)
 ')
 
 ifdef(`distro_gentoo', `
@@ -397,7 +396,7 @@ ifdef(`distro_redhat', `
 ifdef(`distro_suse', `
 /usr/lib/cron/run-crons                --      
gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/samba/classic/.*      --      gen_context(system_u:object_r:bin_t,s0)
-/usr/lib/ssh/.*                --      gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/ssh/.*                        --      
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/apache2/[^/]*       --      gen_context(system_u:object_r:bin_t,s0)
 ')
 

Reply via email to