- Add capability setting to dhcpc and gpm
This commit is contained in:
parent
8e64d7d393
commit
080ce6f2c8
146
policy-F12.patch
146
policy-F12.patch
@ -3051,8 +3051,8 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+')
|
+')
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/nsplugin.te serefpolicy-3.6.28/policy/modules/apps/nsplugin.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/nsplugin.te serefpolicy-3.6.28/policy/modules/apps/nsplugin.te
|
||||||
--- nsaserefpolicy/policy/modules/apps/nsplugin.te 1969-12-31 19:00:00.000000000 -0500
|
--- nsaserefpolicy/policy/modules/apps/nsplugin.te 1969-12-31 19:00:00.000000000 -0500
|
||||||
+++ serefpolicy-3.6.28/policy/modules/apps/nsplugin.te 2009-08-21 18:56:06.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/apps/nsplugin.te 2009-08-22 09:36:26.000000000 -0400
|
||||||
@@ -0,0 +1,287 @@
|
@@ -0,0 +1,288 @@
|
||||||
+
|
+
|
||||||
+policy_module(nsplugin, 1.0.0)
|
+policy_module(nsplugin, 1.0.0)
|
||||||
+
|
+
|
||||||
@ -3266,6 +3266,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+allow nsplugin_config_t self:unix_stream_socket create_stream_socket_perms;
|
+allow nsplugin_config_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
+
|
+
|
||||||
+fs_search_auto_mountpoints(nsplugin_config_t)
|
+fs_search_auto_mountpoints(nsplugin_config_t)
|
||||||
|
+fs_list_inotifyfs(nsplugin_config_t)
|
||||||
+
|
+
|
||||||
+can_exec(nsplugin_config_t, nsplugin_rw_t)
|
+can_exec(nsplugin_config_t, nsplugin_rw_t)
|
||||||
+manage_dirs_pattern(nsplugin_config_t, nsplugin_rw_t, nsplugin_rw_t)
|
+manage_dirs_pattern(nsplugin_config_t, nsplugin_rw_t, nsplugin_rw_t)
|
||||||
@ -5516,7 +5517,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
/var/lib/nfs/rpc_pipefs(/.*)? <<none>>
|
/var/lib/nfs/rpc_pipefs(/.*)? <<none>>
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.if serefpolicy-3.6.28/policy/modules/kernel/files.if
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.if serefpolicy-3.6.28/policy/modules/kernel/files.if
|
||||||
--- nsaserefpolicy/policy/modules/kernel/files.if 2009-07-14 14:19:57.000000000 -0400
|
--- nsaserefpolicy/policy/modules/kernel/files.if 2009-07-14 14:19:57.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/kernel/files.if 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/kernel/files.if 2009-08-22 09:30:11.000000000 -0400
|
||||||
@@ -110,6 +110,11 @@
|
@@ -110,6 +110,11 @@
|
||||||
## </param>
|
## </param>
|
||||||
#
|
#
|
||||||
@ -5593,11 +5594,12 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
## Mount a filesystem on a directory with the default file type.
|
## Mount a filesystem on a directory with the default file type.
|
||||||
## </summary>
|
## </summary>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@@ -1931,6 +1971,27 @@
|
@@ -1931,6 +1971,28 @@
|
||||||
allow $1 etc_t:dir list_dir_perms;
|
allow $1 etc_t:dir list_dir_perms;
|
||||||
read_files_pattern($1, etc_t, etc_t)
|
read_files_pattern($1, etc_t, etc_t)
|
||||||
read_lnk_files_pattern($1, etc_t, etc_t)
|
read_lnk_files_pattern($1, etc_t, etc_t)
|
||||||
+ files_read_etc_runtime_files($1)
|
+ files_read_etc_runtime_files($1)
|
||||||
|
+ files_read_config_files($1)
|
||||||
+')
|
+')
|
||||||
+
|
+
|
||||||
+########################################
|
+########################################
|
||||||
@ -5621,7 +5623,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -2418,6 +2479,11 @@
|
@@ -2418,6 +2480,11 @@
|
||||||
')
|
')
|
||||||
|
|
||||||
delete_files_pattern($1, file_t, file_t)
|
delete_files_pattern($1, file_t, file_t)
|
||||||
@ -5633,7 +5635,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -3449,6 +3515,24 @@
|
@@ -3449,6 +3516,24 @@
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
@ -5658,7 +5660,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
## Read all tmp files.
|
## Read all tmp files.
|
||||||
## </summary>
|
## </summary>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@@ -3515,6 +3599,8 @@
|
@@ -3515,6 +3600,8 @@
|
||||||
delete_lnk_files_pattern($1, tmpfile, tmpfile)
|
delete_lnk_files_pattern($1, tmpfile, tmpfile)
|
||||||
delete_fifo_files_pattern($1, tmpfile, tmpfile)
|
delete_fifo_files_pattern($1, tmpfile, tmpfile)
|
||||||
delete_sock_files_pattern($1, tmpfile, tmpfile)
|
delete_sock_files_pattern($1, tmpfile, tmpfile)
|
||||||
@ -5667,7 +5669,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -3623,7 +3709,12 @@
|
@@ -3623,7 +3710,12 @@
|
||||||
type usr_t;
|
type usr_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
@ -5681,7 +5683,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -3662,6 +3753,7 @@
|
@@ -3662,6 +3754,7 @@
|
||||||
allow $1 usr_t:dir list_dir_perms;
|
allow $1 usr_t:dir list_dir_perms;
|
||||||
read_files_pattern($1, usr_t, usr_t)
|
read_files_pattern($1, usr_t, usr_t)
|
||||||
read_lnk_files_pattern($1, usr_t, usr_t)
|
read_lnk_files_pattern($1, usr_t, usr_t)
|
||||||
@ -5689,7 +5691,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -4188,6 +4280,24 @@
|
@@ -4188,6 +4281,24 @@
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
@ -5714,7 +5716,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
## Search the /var/lib directory.
|
## Search the /var/lib directory.
|
||||||
## </summary>
|
## </summary>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@@ -4955,7 +5065,7 @@
|
@@ -4955,7 +5066,7 @@
|
||||||
selinux_compute_member($1)
|
selinux_compute_member($1)
|
||||||
|
|
||||||
# Need sys_admin capability for mounting
|
# Need sys_admin capability for mounting
|
||||||
@ -5723,7 +5725,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
|
|
||||||
# Need to give access to the directories to be polyinstantiated
|
# Need to give access to the directories to be polyinstantiated
|
||||||
allow $1 polydir:dir { create open getattr search write add_name setattr mounton rmdir };
|
allow $1 polydir:dir { create open getattr search write add_name setattr mounton rmdir };
|
||||||
@@ -4977,12 +5087,15 @@
|
@@ -4977,12 +5088,15 @@
|
||||||
allow $1 poly_t:dir { create mounton };
|
allow $1 poly_t:dir { create mounton };
|
||||||
fs_unmount_xattr_fs($1)
|
fs_unmount_xattr_fs($1)
|
||||||
|
|
||||||
@ -5740,7 +5742,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
@@ -5003,3 +5116,173 @@
|
@@ -5003,3 +5117,173 @@
|
||||||
|
|
||||||
typeattribute $1 files_unconfined_type;
|
typeattribute $1 files_unconfined_type;
|
||||||
')
|
')
|
||||||
@ -6472,8 +6474,8 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+gen_user(guest_u, user, guest_r, s0, s0)
|
+gen_user(guest_u, user, guest_r, s0, s0)
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/staff.te serefpolicy-3.6.28/policy/modules/roles/staff.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/staff.te serefpolicy-3.6.28/policy/modules/roles/staff.te
|
||||||
--- nsaserefpolicy/policy/modules/roles/staff.te 2009-07-14 14:19:57.000000000 -0400
|
--- nsaserefpolicy/policy/modules/roles/staff.te 2009-07-14 14:19:57.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/roles/staff.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/roles/staff.te 2009-08-22 08:58:55.000000000 -0400
|
||||||
@@ -15,156 +15,109 @@
|
@@ -15,156 +15,110 @@
|
||||||
# Local policy
|
# Local policy
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -6662,6 +6664,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
- wireshark_role(staff_r, staff_t)
|
- wireshark_role(staff_r, staff_t)
|
||||||
+ setroubleshoot_stream_connect(staff_t)
|
+ setroubleshoot_stream_connect(staff_t)
|
||||||
+ setroubleshoot_dbus_chat(staff_t)
|
+ setroubleshoot_dbus_chat(staff_t)
|
||||||
|
+ setroubleshoot_dbus_chat_fixit(staff_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
@ -8254,8 +8257,8 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+gen_user(xguest_u, user, xguest_r, s0, s0)
|
+gen_user(xguest_u, user, xguest_r, s0, s0)
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/abrt.fc serefpolicy-3.6.28/policy/modules/services/abrt.fc
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/abrt.fc serefpolicy-3.6.28/policy/modules/services/abrt.fc
|
||||||
--- nsaserefpolicy/policy/modules/services/abrt.fc 1969-12-31 19:00:00.000000000 -0500
|
--- nsaserefpolicy/policy/modules/services/abrt.fc 1969-12-31 19:00:00.000000000 -0500
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/abrt.fc 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/abrt.fc 2009-08-22 09:29:03.000000000 -0400
|
||||||
@@ -0,0 +1,14 @@
|
@@ -0,0 +1,13 @@
|
||||||
+
|
+
|
||||||
+/etc/rc\.d/init\.d/abrt -- gen_context(system_u:object_r:abrt_initrc_exec_t,s0)
|
+/etc/rc\.d/init\.d/abrt -- gen_context(system_u:object_r:abrt_initrc_exec_t,s0)
|
||||||
+
|
+
|
||||||
@ -8269,7 +8272,6 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+
|
+
|
||||||
+/var/run/abrt\.pid -- gen_context(system_u:object_r:abrt_var_run_t,s0)
|
+/var/run/abrt\.pid -- gen_context(system_u:object_r:abrt_var_run_t,s0)
|
||||||
+/var/run/abrt\.lock -- gen_context(system_u:object_r:abrt_var_run_t,s0)
|
+/var/run/abrt\.lock -- gen_context(system_u:object_r:abrt_var_run_t,s0)
|
||||||
+
|
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/abrt.if serefpolicy-3.6.28/policy/modules/services/abrt.if
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/abrt.if serefpolicy-3.6.28/policy/modules/services/abrt.if
|
||||||
--- nsaserefpolicy/policy/modules/services/abrt.if 1969-12-31 19:00:00.000000000 -0500
|
--- nsaserefpolicy/policy/modules/services/abrt.if 1969-12-31 19:00:00.000000000 -0500
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/abrt.if 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/abrt.if 2009-08-21 18:56:07.000000000 -0400
|
||||||
@ -9983,7 +9985,16 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
## </summary>
|
## </summary>
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/bluetooth.te serefpolicy-3.6.28/policy/modules/services/bluetooth.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/bluetooth.te serefpolicy-3.6.28/policy/modules/services/bluetooth.te
|
||||||
--- nsaserefpolicy/policy/modules/services/bluetooth.te 2009-08-14 16:14:31.000000000 -0400
|
--- nsaserefpolicy/policy/modules/services/bluetooth.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/bluetooth.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/bluetooth.te 2009-08-23 09:52:11.000000000 -0400
|
||||||
|
@@ -56,7 +56,7 @@
|
||||||
|
|
||||||
|
allow bluetooth_t self:capability { dac_override net_bind_service net_admin net_raw sys_tty_config ipc_lock };
|
||||||
|
dontaudit bluetooth_t self:capability sys_tty_config;
|
||||||
|
-allow bluetooth_t self:process { getsched signal_perms };
|
||||||
|
+allow bluetooth_t self:process { getcap setcap getsched signal_perms };
|
||||||
|
allow bluetooth_t self:fifo_file rw_fifo_file_perms;
|
||||||
|
allow bluetooth_t self:shm create_shm_perms;
|
||||||
|
allow bluetooth_t self:socket create_stream_socket_perms;
|
||||||
@@ -64,6 +64,7 @@
|
@@ -64,6 +64,7 @@
|
||||||
allow bluetooth_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
allow bluetooth_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
||||||
allow bluetooth_t self:tcp_socket create_stream_socket_perms;
|
allow bluetooth_t self:tcp_socket create_stream_socket_perms;
|
||||||
@ -11892,6 +11903,17 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+ policykit_read_reload(gnomeclock_t)
|
+ policykit_read_reload(gnomeclock_t)
|
||||||
+')
|
+')
|
||||||
+
|
+
|
||||||
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/gpm.te serefpolicy-3.6.28/policy/modules/services/gpm.te
|
||||||
|
--- nsaserefpolicy/policy/modules/services/gpm.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
|
+++ serefpolicy-3.6.28/policy/modules/services/gpm.te 2009-08-22 09:46:40.000000000 -0400
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
allow gpm_t self:capability { setuid dac_override sys_admin sys_tty_config };
|
||||||
|
+allow gpm_t self:process { getcap setcap };
|
||||||
|
allow gpm_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
|
|
||||||
|
allow gpm_t gpm_conf_t:dir list_dir_perms;
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/gpsd.fc serefpolicy-3.6.28/policy/modules/services/gpsd.fc
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/gpsd.fc serefpolicy-3.6.28/policy/modules/services/gpsd.fc
|
||||||
--- nsaserefpolicy/policy/modules/services/gpsd.fc 2009-07-14 14:19:57.000000000 -0400
|
--- nsaserefpolicy/policy/modules/services/gpsd.fc 2009-07-14 14:19:57.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/gpsd.fc 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/gpsd.fc 2009-08-21 18:56:07.000000000 -0400
|
||||||
@ -12312,6 +12334,18 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
sysnet_dns_name_resolve(kpropd_t)
|
sysnet_dns_name_resolve(kpropd_t)
|
||||||
|
|
||||||
kerberos_use(kpropd_t)
|
kerberos_use(kpropd_t)
|
||||||
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/kerneloops.te serefpolicy-3.6.28/policy/modules/services/kerneloops.te
|
||||||
|
--- nsaserefpolicy/policy/modules/services/kerneloops.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
|
+++ serefpolicy-3.6.28/policy/modules/services/kerneloops.te 2009-08-23 09:52:27.000000000 -0400
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
allow kerneloops_t self:capability sys_nice;
|
||||||
|
-allow kerneloops_t self:process { setsched getsched signal };
|
||||||
|
+allow kerneloops_t self:process { getcap setcap setsched getsched signal };
|
||||||
|
allow kerneloops_t self:fifo_file rw_file_perms;
|
||||||
|
|
||||||
|
manage_files_pattern(kerneloops_t, kerneloops_tmp_t, kerneloops_tmp_t)
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ktalk.te serefpolicy-3.6.28/policy/modules/services/ktalk.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ktalk.te serefpolicy-3.6.28/policy/modules/services/ktalk.te
|
||||||
--- nsaserefpolicy/policy/modules/services/ktalk.te 2009-08-14 16:14:31.000000000 -0400
|
--- nsaserefpolicy/policy/modules/services/ktalk.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/ktalk.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/ktalk.te 2009-08-21 18:56:07.000000000 -0400
|
||||||
@ -16478,7 +16512,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+/usr/share/setroubleshoot/SetroubleshootFixit\.py* -- gen_context(system_u:object_r:setroubleshoot_fixit_exec_t,s0)
|
+/usr/share/setroubleshoot/SetroubleshootFixit\.py* -- gen_context(system_u:object_r:setroubleshoot_fixit_exec_t,s0)
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/setroubleshoot.if serefpolicy-3.6.28/policy/modules/services/setroubleshoot.if
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/setroubleshoot.if serefpolicy-3.6.28/policy/modules/services/setroubleshoot.if
|
||||||
--- nsaserefpolicy/policy/modules/services/setroubleshoot.if 2009-07-14 14:19:57.000000000 -0400
|
--- nsaserefpolicy/policy/modules/services/setroubleshoot.if 2009-07-14 14:19:57.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/setroubleshoot.if 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/setroubleshoot.if 2009-08-22 08:58:44.000000000 -0400
|
||||||
@@ -16,8 +16,8 @@
|
@@ -16,8 +16,8 @@
|
||||||
')
|
')
|
||||||
|
|
||||||
@ -16490,7 +16524,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@@ -36,6 +36,63 @@
|
@@ -36,6 +36,84 @@
|
||||||
type setroubleshootd_t, setroubleshoot_var_run_t;
|
type setroubleshootd_t, setroubleshoot_var_run_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
@ -16522,6 +16556,27 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+
|
+
|
||||||
+########################################
|
+########################################
|
||||||
+## <summary>
|
+## <summary>
|
||||||
|
+## Send and receive messages from
|
||||||
|
+## setroubleshoot over dbus.
|
||||||
|
+## </summary>
|
||||||
|
+## <param name="domain">
|
||||||
|
+## <summary>
|
||||||
|
+## Domain allowed access.
|
||||||
|
+## </summary>
|
||||||
|
+## </param>
|
||||||
|
+#
|
||||||
|
+interface(`setroubleshoot_dbus_chat_fixit',`
|
||||||
|
+ gen_require(`
|
||||||
|
+ type setroubleshoot_fixit_t;
|
||||||
|
+ class dbus send_msg;
|
||||||
|
+ ')
|
||||||
|
+
|
||||||
|
+ allow $1 setroubleshoot_fixit_t:dbus send_msg;
|
||||||
|
+ allow setroubleshoot_fixit_t $1:dbus send_msg;
|
||||||
|
+')
|
||||||
|
+
|
||||||
|
+########################################
|
||||||
|
+## <summary>
|
||||||
+## All of the rules required to administrate
|
+## All of the rules required to administrate
|
||||||
+## an setroubleshoot environment
|
+## an setroubleshoot environment
|
||||||
+## </summary>
|
+## </summary>
|
||||||
@ -16963,7 +17018,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+')
|
+')
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/smartmon.te serefpolicy-3.6.28/policy/modules/services/smartmon.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/smartmon.te serefpolicy-3.6.28/policy/modules/services/smartmon.te
|
||||||
--- nsaserefpolicy/policy/modules/services/smartmon.te 2009-08-14 16:14:31.000000000 -0400
|
--- nsaserefpolicy/policy/modules/services/smartmon.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/services/smartmon.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/services/smartmon.te 2009-08-23 09:52:51.000000000 -0400
|
||||||
@@ -19,6 +19,10 @@
|
@@ -19,6 +19,10 @@
|
||||||
type fsdaemon_tmp_t;
|
type fsdaemon_tmp_t;
|
||||||
files_tmp_file(fsdaemon_tmp_t)
|
files_tmp_file(fsdaemon_tmp_t)
|
||||||
@ -16980,7 +17035,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
allow fsdaemon_t self:capability { setgid sys_rawio sys_admin };
|
allow fsdaemon_t self:capability { setgid sys_rawio sys_admin };
|
||||||
dontaudit fsdaemon_t self:capability sys_tty_config;
|
dontaudit fsdaemon_t self:capability sys_tty_config;
|
||||||
-allow fsdaemon_t self:process signal_perms;
|
-allow fsdaemon_t self:process signal_perms;
|
||||||
+allow fsdaemon_t self:process { signal_perms setfscreate };
|
+allow fsdaemon_t self:process { getcap setcap signal_perms setfscreate };
|
||||||
allow fsdaemon_t self:fifo_file rw_fifo_file_perms;
|
allow fsdaemon_t self:fifo_file rw_fifo_file_perms;
|
||||||
allow fsdaemon_t self:unix_dgram_socket create_socket_perms;
|
allow fsdaemon_t self:unix_dgram_socket create_socket_perms;
|
||||||
allow fsdaemon_t self:unix_stream_socket create_stream_socket_perms;
|
allow fsdaemon_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
@ -22836,9 +22891,13 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
########################################
|
########################################
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/logging.te serefpolicy-3.6.28/policy/modules/system/logging.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/logging.te serefpolicy-3.6.28/policy/modules/system/logging.te
|
||||||
--- nsaserefpolicy/policy/modules/system/logging.te 2009-08-14 16:14:31.000000000 -0400
|
--- nsaserefpolicy/policy/modules/system/logging.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/system/logging.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/system/logging.te 2009-08-23 09:54:54.000000000 -0400
|
||||||
@@ -126,7 +126,7 @@
|
@@ -123,10 +123,10 @@
|
||||||
allow auditd_t self:process { signal_perms setpgid setsched };
|
|
||||||
|
allow auditd_t self:capability { chown fsetid sys_nice sys_resource };
|
||||||
|
dontaudit auditd_t self:capability sys_tty_config;
|
||||||
|
-allow auditd_t self:process { signal_perms setpgid setsched };
|
||||||
|
+allow auditd_t self:process { getcap signal_perms setcap setpgid setsched };
|
||||||
allow auditd_t self:file rw_file_perms;
|
allow auditd_t self:file rw_file_perms;
|
||||||
allow auditd_t self:unix_dgram_socket create_socket_perms;
|
allow auditd_t self:unix_dgram_socket create_socket_perms;
|
||||||
-allow auditd_t self:fifo_file rw_file_perms;
|
-allow auditd_t self:fifo_file rw_file_perms;
|
||||||
@ -22863,7 +22922,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
-allow audisp_t self:process setsched;
|
-allow audisp_t self:process setsched;
|
||||||
-allow audisp_t self:fifo_file rw_file_perms;
|
-allow audisp_t self:fifo_file rw_file_perms;
|
||||||
+allow audisp_t self:capability { dac_override sys_nice };
|
+allow audisp_t self:capability { dac_override sys_nice };
|
||||||
+allow audisp_t self:process { signal_perms setsched };
|
+allow audisp_t self:process { getcap signal_perms setcap setsched };
|
||||||
+allow audisp_t self:fifo_file rw_fifo_file_perms;
|
+allow audisp_t self:fifo_file rw_fifo_file_perms;
|
||||||
allow audisp_t self:unix_stream_socket create_stream_socket_perms;
|
allow audisp_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
allow audisp_t self:unix_dgram_socket create_socket_perms;
|
allow audisp_t self:unix_dgram_socket create_socket_perms;
|
||||||
@ -24666,7 +24725,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
+')
|
+')
|
||||||
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/sysnetwork.te serefpolicy-3.6.28/policy/modules/system/sysnetwork.te
|
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/sysnetwork.te serefpolicy-3.6.28/policy/modules/system/sysnetwork.te
|
||||||
--- nsaserefpolicy/policy/modules/system/sysnetwork.te 2009-08-14 16:14:31.000000000 -0400
|
--- nsaserefpolicy/policy/modules/system/sysnetwork.te 2009-08-14 16:14:31.000000000 -0400
|
||||||
+++ serefpolicy-3.6.28/policy/modules/system/sysnetwork.te 2009-08-21 18:56:07.000000000 -0400
|
+++ serefpolicy-3.6.28/policy/modules/system/sysnetwork.te 2009-08-22 09:47:05.000000000 -0400
|
||||||
@@ -20,6 +20,9 @@
|
@@ -20,6 +20,9 @@
|
||||||
init_daemon_domain(dhcpc_t, dhcpc_exec_t)
|
init_daemon_domain(dhcpc_t, dhcpc_exec_t)
|
||||||
role system_r types dhcpc_t;
|
role system_r types dhcpc_t;
|
||||||
@ -24677,7 +24736,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
type dhcpc_state_t;
|
type dhcpc_state_t;
|
||||||
files_type(dhcpc_state_t)
|
files_type(dhcpc_state_t)
|
||||||
|
|
||||||
@@ -41,21 +44,22 @@
|
@@ -41,21 +44,23 @@
|
||||||
#
|
#
|
||||||
# DHCP client local policy
|
# DHCP client local policy
|
||||||
#
|
#
|
||||||
@ -24689,7 +24748,8 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
dontaudit dhcpc_t self:capability { dac_read_search sys_module };
|
dontaudit dhcpc_t self:capability { dac_read_search sys_module };
|
||||||
-allow dhcpc_t self:process signal_perms;
|
-allow dhcpc_t self:process signal_perms;
|
||||||
-allow dhcpc_t self:fifo_file rw_file_perms;
|
-allow dhcpc_t self:fifo_file rw_file_perms;
|
||||||
+allow dhcpc_t self:process { setfscreate ptrace signal_perms };
|
+allow dhcpc_t self:process { getcap setcap setfscreate ptrace signal_perms };
|
||||||
|
+
|
||||||
+allow dhcpc_t self:fifo_file rw_fifo_file_perms;
|
+allow dhcpc_t self:fifo_file rw_fifo_file_perms;
|
||||||
allow dhcpc_t self:tcp_socket create_stream_socket_perms;
|
allow dhcpc_t self:tcp_socket create_stream_socket_perms;
|
||||||
allow dhcpc_t self:udp_socket create_socket_perms;
|
allow dhcpc_t self:udp_socket create_socket_perms;
|
||||||
@ -24705,7 +24765,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
manage_files_pattern(dhcpc_t, dhcpc_state_t, dhcpc_state_t)
|
manage_files_pattern(dhcpc_t, dhcpc_state_t, dhcpc_state_t)
|
||||||
filetrans_pattern(dhcpc_t, dhcp_state_t, dhcpc_state_t, file)
|
filetrans_pattern(dhcpc_t, dhcp_state_t, dhcpc_state_t, file)
|
||||||
|
|
||||||
@@ -66,6 +70,8 @@
|
@@ -66,6 +71,8 @@
|
||||||
# Allow read/write to /etc/resolv.conf and /etc/ntp.conf. Note that any files
|
# Allow read/write to /etc/resolv.conf and /etc/ntp.conf. Note that any files
|
||||||
# in /etc created by dhcpcd will be labelled net_conf_t.
|
# in /etc created by dhcpcd will be labelled net_conf_t.
|
||||||
allow dhcpc_t net_conf_t:file manage_file_perms;
|
allow dhcpc_t net_conf_t:file manage_file_perms;
|
||||||
@ -24714,7 +24774,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
files_etc_filetrans(dhcpc_t, net_conf_t, file)
|
files_etc_filetrans(dhcpc_t, net_conf_t, file)
|
||||||
|
|
||||||
# create temp files
|
# create temp files
|
||||||
@@ -83,9 +89,6 @@
|
@@ -83,9 +90,6 @@
|
||||||
kernel_read_kernel_sysctls(dhcpc_t)
|
kernel_read_kernel_sysctls(dhcpc_t)
|
||||||
kernel_use_fds(dhcpc_t)
|
kernel_use_fds(dhcpc_t)
|
||||||
|
|
||||||
@ -24724,7 +24784,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
corenet_all_recvfrom_unlabeled(dhcpc_t)
|
corenet_all_recvfrom_unlabeled(dhcpc_t)
|
||||||
corenet_all_recvfrom_netlabel(dhcpc_t)
|
corenet_all_recvfrom_netlabel(dhcpc_t)
|
||||||
corenet_tcp_sendrecv_all_if(dhcpc_t)
|
corenet_tcp_sendrecv_all_if(dhcpc_t)
|
||||||
@@ -107,15 +110,6 @@
|
@@ -107,15 +111,6 @@
|
||||||
# for SSP:
|
# for SSP:
|
||||||
dev_read_urand(dhcpc_t)
|
dev_read_urand(dhcpc_t)
|
||||||
|
|
||||||
@ -24740,7 +24800,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
fs_getattr_all_fs(dhcpc_t)
|
fs_getattr_all_fs(dhcpc_t)
|
||||||
fs_search_auto_mountpoints(dhcpc_t)
|
fs_search_auto_mountpoints(dhcpc_t)
|
||||||
|
|
||||||
@@ -124,6 +118,20 @@
|
@@ -124,6 +119,20 @@
|
||||||
term_dontaudit_use_unallocated_ttys(dhcpc_t)
|
term_dontaudit_use_unallocated_ttys(dhcpc_t)
|
||||||
term_dontaudit_use_generic_ptys(dhcpc_t)
|
term_dontaudit_use_generic_ptys(dhcpc_t)
|
||||||
|
|
||||||
@ -24761,7 +24821,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
init_rw_utmp(dhcpc_t)
|
init_rw_utmp(dhcpc_t)
|
||||||
|
|
||||||
logging_send_syslog_msg(dhcpc_t)
|
logging_send_syslog_msg(dhcpc_t)
|
||||||
@@ -183,25 +191,23 @@
|
@@ -183,25 +192,23 @@
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
@ -24795,7 +24855,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
@@ -212,6 +218,7 @@
|
@@ -212,6 +219,7 @@
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
seutil_sigchld_newrole(dhcpc_t)
|
seutil_sigchld_newrole(dhcpc_t)
|
||||||
seutil_dontaudit_search_config(dhcpc_t)
|
seutil_dontaudit_search_config(dhcpc_t)
|
||||||
@ -24803,7 +24863,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
@@ -223,6 +230,10 @@
|
@@ -223,6 +231,10 @@
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
@ -24814,7 +24874,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
kernel_read_xen_state(dhcpc_t)
|
kernel_read_xen_state(dhcpc_t)
|
||||||
kernel_write_xen_state(dhcpc_t)
|
kernel_write_xen_state(dhcpc_t)
|
||||||
xen_append_log(dhcpc_t)
|
xen_append_log(dhcpc_t)
|
||||||
@@ -234,9 +245,9 @@
|
@@ -234,9 +246,9 @@
|
||||||
# Ifconfig local policy
|
# Ifconfig local policy
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -24826,7 +24886,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
allow ifconfig_t self:fd use;
|
allow ifconfig_t self:fd use;
|
||||||
allow ifconfig_t self:fifo_file rw_fifo_file_perms;
|
allow ifconfig_t self:fifo_file rw_fifo_file_perms;
|
||||||
allow ifconfig_t self:sock_file read_sock_file_perms;
|
allow ifconfig_t self:sock_file read_sock_file_perms;
|
||||||
@@ -249,8 +260,11 @@
|
@@ -249,8 +261,11 @@
|
||||||
allow ifconfig_t self:sem create_sem_perms;
|
allow ifconfig_t self:sem create_sem_perms;
|
||||||
allow ifconfig_t self:msgq create_msgq_perms;
|
allow ifconfig_t self:msgq create_msgq_perms;
|
||||||
allow ifconfig_t self:msg { send receive };
|
allow ifconfig_t self:msg { send receive };
|
||||||
@ -24838,7 +24898,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
# for /sbin/ip
|
# for /sbin/ip
|
||||||
allow ifconfig_t self:packet_socket create_socket_perms;
|
allow ifconfig_t self:packet_socket create_socket_perms;
|
||||||
allow ifconfig_t self:netlink_route_socket create_netlink_socket_perms;
|
allow ifconfig_t self:netlink_route_socket create_netlink_socket_perms;
|
||||||
@@ -257,11 +271,19 @@
|
@@ -257,11 +272,19 @@
|
||||||
allow ifconfig_t self:netlink_xfrm_socket { create_netlink_socket_perms nlmsg_read };
|
allow ifconfig_t self:netlink_xfrm_socket { create_netlink_socket_perms nlmsg_read };
|
||||||
allow ifconfig_t self:tcp_socket { create ioctl };
|
allow ifconfig_t self:tcp_socket { create ioctl };
|
||||||
|
|
||||||
@ -24858,7 +24918,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
|
|
||||||
corenet_rw_tun_tap_dev(ifconfig_t)
|
corenet_rw_tun_tap_dev(ifconfig_t)
|
||||||
|
|
||||||
@@ -269,15 +291,18 @@
|
@@ -269,15 +292,18 @@
|
||||||
# for IPSEC setup:
|
# for IPSEC setup:
|
||||||
dev_read_urand(ifconfig_t)
|
dev_read_urand(ifconfig_t)
|
||||||
|
|
||||||
@ -24881,7 +24941,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
|
|
||||||
files_dontaudit_read_root_files(ifconfig_t)
|
files_dontaudit_read_root_files(ifconfig_t)
|
||||||
|
|
||||||
@@ -294,6 +319,8 @@
|
@@ -294,6 +320,8 @@
|
||||||
|
|
||||||
seutil_use_runinit_fds(ifconfig_t)
|
seutil_use_runinit_fds(ifconfig_t)
|
||||||
|
|
||||||
@ -24890,7 +24950,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
|
|||||||
userdom_use_user_terminals(ifconfig_t)
|
userdom_use_user_terminals(ifconfig_t)
|
||||||
userdom_use_all_users_fds(ifconfig_t)
|
userdom_use_all_users_fds(ifconfig_t)
|
||||||
|
|
||||||
@@ -330,8 +357,21 @@
|
@@ -330,8 +358,21 @@
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Summary: SELinux policy configuration
|
Summary: SELinux policy configuration
|
||||||
Name: selinux-policy
|
Name: selinux-policy
|
||||||
Version: 3.6.28
|
Version: 3.6.28
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: serefpolicy-%{version}.tgz
|
Source: serefpolicy-%{version}.tgz
|
||||||
@ -475,6 +475,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 22 2009 Dan Walsh <dwalsh@redhat.com> 3.6.28-6
|
||||||
|
- Add capability setting to dhcpc and gpm
|
||||||
|
|
||||||
* Sat Aug 22 2009 Dan Walsh <dwalsh@redhat.com> 3.6.28-5
|
* Sat Aug 22 2009 Dan Walsh <dwalsh@redhat.com> 3.6.28-5
|
||||||
- Allow cronjobs to read exim_spool_t
|
- Allow cronjobs to read exim_spool_t
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user