corecommands: new file contexts for Gnome applications
PATCH 1/1 corecommands: new file contexts for Gnome applications
This patch adds three new file contexts for script executables belonging to new Gnome applications (weather application and sound recorder).
Signed-off-by Guido Trentalancia <[email protected]>
--- policy/modules/kernel/corecommands.fc | 3 +++ 1 file changed, 3 insertions(+)
policy/modules/kernel/corecommands.fc +3 -0
@@ -322,12 +322,15 @@ ifdef(`distro_gentoo',` /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/gnome-sound-recorder/org.gnome.SoundRecorder -- 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/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) +/usr/share/org.gnome.Weather/org.gnome.Weather.Application -- gen_context(system_u:object_r:bin_t,s0) +/usr/share/org.gnome.Weather/org.gnome.Weather.BackgroundService -- gen_context(system_u:object_r:bin_t,s0) /usr/share/printconf/util/print\.py -- gen_context(system_u:object_r:bin_t,s0) /usr/share/PackageKit/pk-upgrade-distro\.sh -- gen_context(system_u:object_r:bin_t,s0) /usr/share/PackageKit/helpers(/.*)? gen_context(system_u:object_r:bin_t,s0)
PATCH 1/1 corecommands: new file contexts for Gnome applications
Quoted 17 lines · Guido Trentalancia via refpolicy
This patch adds three new file contexts for script executables belonging to new Gnome applications (weather application and sound recorder).
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/kernel/corecommands.fc | 3 +++ 1 file changed, 3 insertions(+)policy/modules/kernel/corecommands.fc +1
-0@@ -322,12 +322,15 @@ ifdef(`distro_gentoo',` /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/gnome-sound-recorder/org.gnome.SoundRecorder -- gen_context(system_u:object_r:bin_t,s0) /usr/share/gnucash/finance-quote-check -- gen_context(system_u:object_r:bin_t,s0)
policy/modules/kernel/corecommands.fc ifdef(`distro_gentoo',` · line 336
Quoted 10 lines
policy/modules/kernel/corecommands.fc +2
-0/usr/share/gnucash/finance-quote-helper -- 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) +/usr/share/org.gnome.Weather/org.gnome.Weather.Application -- gen_context(system_u:object_r:bin_t,s0) +/usr/share/org.gnome.Weather/org.gnome.Weather.BackgroundService -- gen_context(system_u:object_r:bin_t,s0) /usr/share/printconf/util/print\.py -- gen_context(system_u:object_r:bin_t,s0) /usr/share/PackageKit/pk-upgrade-distro\.sh -- gen_context(system_u:object_r:bin_t,s0) /usr/share/PackageKit/helpers(/.*)? gen_context(system_u:object_r:bin_t,s0)
Merged. I added escaping.
Signature · 1 line
Chris PeBenito