- Remove debugfs label

This commit is contained in:
Daniel J Walsh 2010-07-21 14:57:11 +00:00
parent d66bec6356
commit 9f811efbbb
2 changed files with 101 additions and 66 deletions

View File

@ -521,7 +521,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/logwatc
+/var/run/epylog\.pid gen_context(system_u:object_r:logwatch_var_run_t,s0) +/var/run/epylog\.pid gen_context(system_u:object_r:logwatch_var_run_t,s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/logwatch.te serefpolicy-3.8.8/policy/modules/admin/logwatch.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/logwatch.te serefpolicy-3.8.8/policy/modules/admin/logwatch.te
--- nsaserefpolicy/policy/modules/admin/logwatch.te 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/admin/logwatch.te 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/admin/logwatch.te 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/admin/logwatch.te 2010-07-21 10:41:06.000000000 -0400
@@ -19,6 +19,9 @@ @@ -19,6 +19,9 @@
type logwatch_tmp_t; type logwatch_tmp_t;
files_tmp_file(logwatch_tmp_t) files_tmp_file(logwatch_tmp_t)
@ -547,15 +547,15 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/logwatc
userdom_dontaudit_search_user_home_dirs(logwatch_t) userdom_dontaudit_search_user_home_dirs(logwatch_t)
+userdom_dontaudit_list_admin_dir(logwatch_t) +userdom_dontaudit_list_admin_dir(logwatch_t)
+
-mta_send_mail(logwatch_t)
+#mta_send_mail(logwatch_t) +#mta_send_mail(logwatch_t)
+mta_base_mail_template(logwatch) +mta_base_mail_template(logwatch)
+mta_sendmail_domtrans(logwatch_t, logwatch_mail_t) +mta_sendmail_domtrans(logwatch_t, logwatch_mail_t)
+role system_r types logwatch_mail_t;
+logging_read_all_logs(logwatch_mail_t) +logging_read_all_logs(logwatch_mail_t)
+write_files_pattern(logwatch_mail_t, logwatch_tmp_t, logwatch_tmp_t) +write_files_pattern(logwatch_mail_t, logwatch_tmp_t, logwatch_tmp_t)
-mta_send_mail(logwatch_t)
ifdef(`distro_redhat',` ifdef(`distro_redhat',`
files_search_all(logwatch_t) files_search_all(logwatch_t)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/mrtg.te serefpolicy-3.8.8/policy/modules/admin/mrtg.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/admin/mrtg.te serefpolicy-3.8.8/policy/modules/admin/mrtg.te
@ -5459,8 +5459,8 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/telepath
+/usr/libexec/telepathy-sunshine -- gen_context(system_u:object_r:telepathy_sunshine_exec_t, s0) +/usr/libexec/telepathy-sunshine -- gen_context(system_u:object_r:telepathy_sunshine_exec_t, s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/telepathy.if serefpolicy-3.8.8/policy/modules/apps/telepathy.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/telepathy.if serefpolicy-3.8.8/policy/modules/apps/telepathy.if
--- nsaserefpolicy/policy/modules/apps/telepathy.if 1969-12-31 19:00:00.000000000 -0500 --- nsaserefpolicy/policy/modules/apps/telepathy.if 1969-12-31 19:00:00.000000000 -0500
+++ serefpolicy-3.8.8/policy/modules/apps/telepathy.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/apps/telepathy.if 2010-07-21 10:00:06.000000000 -0400
@@ -0,0 +1,204 @@ @@ -0,0 +1,188 @@
+ +
+## <summary>Telepathy framework.</summary> +## <summary>Telepathy framework.</summary>
+ +
@ -5491,6 +5491,8 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/telepath
+ type telepathy_$1_tmp_t; + type telepathy_$1_tmp_t;
+ files_tmp_file(telepathy_$1_tmp_t) + files_tmp_file(telepathy_$1_tmp_t)
+ ubac_constrained(telepathy_$1_tmp_t) + ubac_constrained(telepathy_$1_tmp_t)
+
+ dbus_session_domain(telepathy_$1_t, telepathy_$1_exec_t)
+') +')
+ +
+####################################### +#######################################
@ -5512,26 +5514,8 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/telepath
+template(`telepathy_dbus_session_role', ` +template(`telepathy_dbus_session_role', `
+ gen_require(` + gen_require(`
+ attribute telepathy_domain; + attribute telepathy_domain;
+
+ type telepathy_gabble_t, telepathy_msn_t;
+ type telepathy_idle_t, telepathy_mission_control_t, telepathy_salut_t;
+ type telepathy_sofiasip_t, telepathy_stream_engine_t, telepathy_sunshine_t;
+
+ type telepathy_gabble_exec_t, telepathy_msn_exec_t;
+ type telepathy_idle_exec_t, telepathy_mission_control_exec_t, telepathy_salut_exec_t;
+ type telepathy_sofiasip_exec_t, telepathy_stream_engine_exec_t, telepathy_sunshine_exec_t;
+
+ ') + ')
+ +
+ dbus_session_domain(telepathy_gabble_t, telepathy_gabble_exec_t)
+ dbus_session_domain(telepathy_idle_t, telepathy_idle_exec_t)
+ dbus_session_domain(telepathy_mission_control_t, telepathy_mission_control_exec_t)
+ dbus_session_domain(telepathy_msn_t, telepathy_msn_exec_t)
+ dbus_session_domain(telepathy_salut_t, telepathy_salut_exec_t)
+ dbus_session_domain(telepathy_sofiasip_t, telepathy_sofiasip_exec_t)
+ dbus_session_domain(telepathy_stream_engine_t, telepathy_stream_engine_exec_t)
+ dbus_session_domain(telepathy_sunshine_t, telepathy_sunshine_exec_t)
+
+ role $1 types telepathy_domain; + role $1 types telepathy_domain;
+ +
+ allow $2 telepathy_domain:process { ptrace signal_perms }; + allow $2 telepathy_domain:process { ptrace signal_perms };
@ -6496,7 +6480,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/corene
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/devices.fc serefpolicy-3.8.8/policy/modules/kernel/devices.fc diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/devices.fc serefpolicy-3.8.8/policy/modules/kernel/devices.fc
--- nsaserefpolicy/policy/modules/kernel/devices.fc 2010-06-08 10:35:48.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/devices.fc 2010-06-08 10:35:48.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/devices.fc 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/devices.fc 2010-07-21 08:41:01.000000000 -0400
@@ -176,13 +176,12 @@ @@ -176,13 +176,12 @@
/etc/udev/devices -d gen_context(system_u:object_r:device_t,s0) /etc/udev/devices -d gen_context(system_u:object_r:device_t,s0)
@ -6513,7 +6497,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/device
ifdef(`distro_redhat',` ifdef(`distro_redhat',`
# originally from named.fc # originally from named.fc
@@ -191,3 +190,9 @@ @@ -191,3 +190,8 @@
/var/named/chroot/dev/random -c gen_context(system_u:object_r:random_device_t,s0) /var/named/chroot/dev/random -c gen_context(system_u:object_r:random_device_t,s0)
/var/named/chroot/dev/zero -c gen_context(system_u:object_r:zero_device_t,s0) /var/named/chroot/dev/zero -c gen_context(system_u:object_r:zero_device_t,s0)
') ')
@ -6522,7 +6506,6 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/device
+# /sys +# /sys
+# +#
+/sys(/.*)? gen_context(system_u:object_r:sysfs_t,s0) +/sys(/.*)? gen_context(system_u:object_r:sysfs_t,s0)
+/sys/kernel/debug(/.*)? gen_context(system_u:object_r:debugfs_t,s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/devices.if serefpolicy-3.8.8/policy/modules/kernel/devices.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/devices.if serefpolicy-3.8.8/policy/modules/kernel/devices.if
--- nsaserefpolicy/policy/modules/kernel/devices.if 2010-06-08 10:35:48.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/devices.if 2010-06-08 10:35:48.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/devices.if 2010-07-20 11:30:38.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/devices.if 2010-07-20 11:30:38.000000000 -0400
@ -7030,7 +7013,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.
+/nsr/logs(/.*)? gen_context(system_u:object_r:var_log_t,s0) +/nsr/logs(/.*)? gen_context(system_u:object_r:var_log_t,s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.if serefpolicy-3.8.8/policy/modules/kernel/files.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.if serefpolicy-3.8.8/policy/modules/kernel/files.if
--- nsaserefpolicy/policy/modules/kernel/files.if 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/files.if 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/files.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/files.if 2010-07-20 13:55:05.000000000 -0400
@@ -1053,10 +1053,8 @@ @@ -1053,10 +1053,8 @@
relabel_lnk_files_pattern($1, { file_type $2 }, { file_type $2 }) relabel_lnk_files_pattern($1, { file_type $2 }, { file_type $2 })
relabel_fifo_files_pattern($1, { file_type $2 }, { file_type $2 }) relabel_fifo_files_pattern($1, { file_type $2 }, { file_type $2 })
@ -7555,7 +7538,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/files.
typealias etc_runtime_t alias firstboot_rw_t; typealias etc_runtime_t alias firstboot_rw_t;
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/filesystem.if serefpolicy-3.8.8/policy/modules/kernel/filesystem.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/filesystem.if serefpolicy-3.8.8/policy/modules/kernel/filesystem.if
--- nsaserefpolicy/policy/modules/kernel/filesystem.if 2010-07-14 11:21:53.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/filesystem.if 2010-07-14 11:21:53.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/filesystem.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/filesystem.if 2010-07-21 10:55:44.000000000 -0400
@@ -1233,7 +1233,7 @@ @@ -1233,7 +1233,7 @@
type cifs_t; type cifs_t;
') ')
@ -8017,13 +8000,13 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/selinu
+') +')
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/storage.fc serefpolicy-3.8.8/policy/modules/kernel/storage.fc diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/storage.fc serefpolicy-3.8.8/policy/modules/kernel/storage.fc
--- nsaserefpolicy/policy/modules/kernel/storage.fc 2010-06-04 17:11:28.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/storage.fc 2010-06-04 17:11:28.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/storage.fc 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/storage.fc 2010-07-21 10:39:42.000000000 -0400
@@ -77,3 +77,6 @@ @@ -77,3 +77,6 @@
/dev/scramdisk/.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) /dev/scramdisk/.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
/dev/usb/rio500 -c gen_context(system_u:object_r:removable_device_t,s0) /dev/usb/rio500 -c gen_context(system_u:object_r:removable_device_t,s0)
+ +
+/lib/udev/devices/loop.* -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) +/lib/udev/devices/loop.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
+/lib/udev/devices/fuse -c gen_context(system_u:object_r:fuse_device_t,s0) +/lib/udev/devices/fuse -c gen_context(system_u:object_r:fuse_device_t,s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/storage.if serefpolicy-3.8.8/policy/modules/kernel/storage.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/storage.if serefpolicy-3.8.8/policy/modules/kernel/storage.if
--- nsaserefpolicy/policy/modules/kernel/storage.if 2010-06-04 17:11:28.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/storage.if 2010-06-04 17:11:28.000000000 -0400
@ -8039,7 +8022,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/storag
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/terminal.if serefpolicy-3.8.8/policy/modules/kernel/terminal.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/terminal.if serefpolicy-3.8.8/policy/modules/kernel/terminal.if
--- nsaserefpolicy/policy/modules/kernel/terminal.if 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/kernel/terminal.if 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/kernel/terminal.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/kernel/terminal.if 2010-07-21 10:39:02.000000000 -0400
@@ -292,9 +292,11 @@ @@ -292,9 +292,11 @@
interface(`term_dontaudit_use_console',` interface(`term_dontaudit_use_console',`
gen_require(` gen_require(`
@ -8124,7 +8107,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/secadm.
# #
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/staff.te serefpolicy-3.8.8/policy/modules/roles/staff.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/staff.te serefpolicy-3.8.8/policy/modules/roles/staff.te
--- nsaserefpolicy/policy/modules/roles/staff.te 2010-07-14 11:21:53.000000000 -0400 --- nsaserefpolicy/policy/modules/roles/staff.te 2010-07-14 11:21:53.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/roles/staff.te 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/roles/staff.te 2010-07-21 10:00:23.000000000 -0400
@@ -8,25 +8,55 @@ @@ -8,25 +8,55 @@
role staff_r; role staff_r;
@ -9361,8 +9344,8 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfi
+') +')
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfineduser.te serefpolicy-3.8.8/policy/modules/roles/unconfineduser.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfineduser.te serefpolicy-3.8.8/policy/modules/roles/unconfineduser.te
--- nsaserefpolicy/policy/modules/roles/unconfineduser.te 1969-12-31 19:00:00.000000000 -0500 --- nsaserefpolicy/policy/modules/roles/unconfineduser.te 1969-12-31 19:00:00.000000000 -0500
+++ serefpolicy-3.8.8/policy/modules/roles/unconfineduser.te 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/roles/unconfineduser.te 2010-07-21 10:16:38.000000000 -0400
@@ -0,0 +1,443 @@ @@ -0,0 +1,448 @@
+policy_module(unconfineduser, 1.0.0) +policy_module(unconfineduser, 1.0.0)
+ +
+######################################## +########################################
@ -9733,6 +9716,10 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfi
+') +')
+ +
+optional_policy(` +optional_policy(`
+ telepathy_dbus_session_role(unconfined_r, unconfined_t)
+')
+
+optional_policy(`
+ vbetool_run(unconfined_t, unconfined_r) + vbetool_run(unconfined_t, unconfined_r)
+') +')
+ +
@ -9764,6 +9751,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfi
+optional_policy(` +optional_policy(`
+ execmem_role_template(unconfined, unconfined_r, unconfined_t) + execmem_role_template(unconfined, unconfined_r, unconfined_t)
+ typealias unconfined_execmem_t alias execmem_t; + typealias unconfined_execmem_t alias execmem_t;
+ typealias unconfined_execmem_t alias unconfined_openoffice_t;
+ unconfined_domain_noaudit(unconfined_execmem_t) + unconfined_domain_noaudit(unconfined_execmem_t)
+ allow unconfined_execmem_t unconfined_t:process transition; + allow unconfined_execmem_t unconfined_t:process transition;
+ rpm_transition_script(unconfined_execmem_t) + rpm_transition_script(unconfined_execmem_t)
@ -9808,7 +9796,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unconfi
+ +
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unprivuser.te serefpolicy-3.8.8/policy/modules/roles/unprivuser.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unprivuser.te serefpolicy-3.8.8/policy/modules/roles/unprivuser.te
--- nsaserefpolicy/policy/modules/roles/unprivuser.te 2010-07-14 11:21:53.000000000 -0400 --- nsaserefpolicy/policy/modules/roles/unprivuser.te 2010-07-14 11:21:53.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/roles/unprivuser.te 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/roles/unprivuser.te 2010-07-20 16:15:39.000000000 -0400
@@ -12,10 +12,13 @@ @@ -12,10 +12,13 @@
userdom_unpriv_user_template(user) userdom_unpriv_user_template(user)
@ -9823,7 +9811,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unprivu
optional_policy(` optional_policy(`
auth_role(user_r, user_t) auth_role(user_r, user_t)
') ')
@@ -104,11 +107,25 @@ @@ -104,12 +107,30 @@
optional_policy(` optional_policy(`
rssh_role(user_r, user_t) rssh_role(user_r, user_t)
') ')
@ -9845,11 +9833,16 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/roles/unprivu
screen_role_template(user, user_r, user_t) screen_role_template(user, user_r, user_t)
') ')
+ifndef(`distro_redhat',`
optional_policy(` optional_policy(`
+ telepathy_dbus_session_role(user_r, user_t)
+')
+
+ifndef(`distro_redhat',`
+optional_policy(`
spamassassin_role(user_r, user_t) spamassassin_role(user_r, user_t)
') ')
@@ -149,6 +166,12 @@
@@ -149,6 +170,12 @@
wireshark_role(user_r, user_t) wireshark_role(user_r, user_t)
') ')
@ -13571,7 +13564,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
+/var/log/mcelog.* -- gen_context(system_u:object_r:cron_log_t,s0) +/var/log/mcelog.* -- gen_context(system_u:object_r:cron_log_t,s0)
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron.if serefpolicy-3.8.8/policy/modules/services/cron.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron.if serefpolicy-3.8.8/policy/modules/services/cron.if
--- nsaserefpolicy/policy/modules/services/cron.if 2009-09-16 09:09:20.000000000 -0400 --- nsaserefpolicy/policy/modules/services/cron.if 2009-09-16 09:09:20.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/services/cron.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/services/cron.if 2010-07-21 08:55:04.000000000 -0400
@@ -12,6 +12,10 @@ @@ -12,6 +12,10 @@
## </param> ## </param>
# #
@ -13606,7 +13599,15 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
init_dontaudit_write_utmp($1_t) init_dontaudit_write_utmp($1_t)
init_read_utmp($1_t) init_read_utmp($1_t)
@@ -154,27 +163,14 @@ @@ -76,6 +85,7 @@
userdom_use_user_terminals($1_t)
# Read user crontabs
userdom_read_user_home_content_files($1_t)
+ userdom_read_user_home_content_symlinks($1_t)
tunable_policy(`fcron_crond',`
# fcron wants an instant update of a crontab change for the administrator
@@ -154,27 +164,14 @@
# #
interface(`cron_unconfined_role',` interface(`cron_unconfined_role',`
gen_require(` gen_require(`
@ -13636,7 +13637,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
optional_policy(` optional_policy(`
gen_require(` gen_require(`
class dbus send_msg; class dbus send_msg;
@@ -408,7 +404,43 @@ @@ -408,7 +405,43 @@
type crond_t; type crond_t;
') ')
@ -13681,7 +13682,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
') ')
######################################## ########################################
@@ -554,7 +586,7 @@ @@ -554,7 +587,7 @@
type system_cronjob_t; type system_cronjob_t;
') ')
@ -13690,7 +13691,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
') ')
######################################## ########################################
@@ -587,11 +619,14 @@ @@ -587,11 +620,14 @@
# #
interface(`cron_read_system_job_tmp_files',` interface(`cron_read_system_job_tmp_files',`
gen_require(` gen_require(`
@ -13706,7 +13707,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron
') ')
######################################## ########################################
@@ -627,7 +662,48 @@ @@ -627,7 +663,48 @@
interface(`cron_dontaudit_write_system_job_tmp_files',` interface(`cron_dontaudit_write_system_job_tmp_files',`
gen_require(` gen_require(`
type system_cronjob_tmp_t; type system_cronjob_tmp_t;
@ -17092,7 +17093,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/mta.
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/mta.if serefpolicy-3.8.8/policy/modules/services/mta.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/mta.if serefpolicy-3.8.8/policy/modules/services/mta.if
--- nsaserefpolicy/policy/modules/services/mta.if 2010-05-25 16:28:22.000000000 -0400 --- nsaserefpolicy/policy/modules/services/mta.if 2010-05-25 16:28:22.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/services/mta.if 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/services/mta.if 2010-07-21 08:47:33.000000000 -0400
@@ -220,6 +220,25 @@ @@ -220,6 +220,25 @@
application_executable_file($1) application_executable_file($1)
') ')
@ -17143,7 +17144,23 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/mta.
') ')
######################################## ########################################
@@ -474,7 +491,8 @@ @@ -391,12 +408,13 @@
#
interface(`mta_sendmail_domtrans',`
gen_require(`
- type sendmail_exec_t;
+ attribute mta_exec_type;
')
files_search_usr($1)
+ allow $1 mta_exec_type:lnk_file read_lnk_file_perms;
corecmd_read_bin_symlinks($1)
- domain_auto_trans($1, sendmail_exec_t, $2)
+ domtrans_pattern($1, mta_exec_type, $2)
')
########################################
@@ -474,7 +492,8 @@
type etc_mail_t; type etc_mail_t;
') ')
@ -17153,7 +17170,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/mta.
') ')
######################################## ########################################
@@ -698,7 +716,7 @@ @@ -698,7 +717,7 @@
files_search_spool($1) files_search_spool($1)
allow $1 mail_spool_t:dir list_dir_perms; allow $1 mail_spool_t:dir list_dir_perms;
allow $1 mail_spool_t:file setattr; allow $1 mail_spool_t:file setattr;
@ -17294,7 +17311,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
## Append to the munin log. ## Append to the munin log.
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/munin.te serefpolicy-3.8.8/policy/modules/services/munin.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/munin.te serefpolicy-3.8.8/policy/modules/services/munin.te
--- nsaserefpolicy/policy/modules/services/munin.te 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/services/munin.te 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/services/munin.te 2010-07-20 10:46:10.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/services/munin.te 2010-07-21 08:37:21.000000000 -0400
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
# Local policy # Local policy
# #
@ -17340,7 +17357,11 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
allow disk_munin_plugin_t self:tcp_socket create_stream_socket_perms; allow disk_munin_plugin_t self:tcp_socket create_stream_socket_perms;
rw_files_pattern(disk_munin_plugin_t, munin_var_lib_t, munin_var_lib_t) rw_files_pattern(disk_munin_plugin_t, munin_var_lib_t, munin_var_lib_t)
@@ -195,10 +199,11 @@ @@ -192,13 +196,15 @@
files_read_etc_files(disk_munin_plugin_t)
files_read_etc_runtime_files(disk_munin_plugin_t)
+files_read_usr_files(disk_munin_plugin_t)
fs_getattr_all_fs(disk_munin_plugin_t) fs_getattr_all_fs(disk_munin_plugin_t)
@ -17353,7 +17374,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
sysnet_read_config(disk_munin_plugin_t) sysnet_read_config(disk_munin_plugin_t)
@@ -229,11 +234,13 @@ @@ -229,11 +235,13 @@
mta_read_config(mail_munin_plugin_t) mta_read_config(mail_munin_plugin_t)
mta_send_mail(mail_munin_plugin_t) mta_send_mail(mail_munin_plugin_t)
@ -17367,7 +17388,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
') ')
optional_policy(` optional_policy(`
@@ -249,6 +256,8 @@ @@ -249,6 +257,8 @@
allow services_munin_plugin_t self:udp_socket create_socket_perms; allow services_munin_plugin_t self:udp_socket create_socket_perms;
allow services_munin_plugin_t self:netlink_route_socket r_netlink_socket_perms; allow services_munin_plugin_t self:netlink_route_socket r_netlink_socket_perms;
@ -17376,7 +17397,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
corenet_tcp_connect_all_ports(services_munin_plugin_t) corenet_tcp_connect_all_ports(services_munin_plugin_t)
corenet_tcp_connect_http_port(services_munin_plugin_t) corenet_tcp_connect_http_port(services_munin_plugin_t)
@@ -286,6 +295,10 @@ @@ -286,6 +296,10 @@
snmp_read_snmp_var_lib_files(services_munin_plugin_t) snmp_read_snmp_var_lib_files(services_munin_plugin_t)
') ')
@ -17387,7 +17408,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
################################## ##################################
# #
# local policy for system plugins # local policy for system plugins
@@ -300,6 +313,8 @@ @@ -300,6 +314,8 @@
corecmd_exec_shell(system_munin_plugin_t) corecmd_exec_shell(system_munin_plugin_t)
@ -17396,7 +17417,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/muni
fs_getattr_all_fs(system_munin_plugin_t) fs_getattr_all_fs(system_munin_plugin_t)
dev_read_sysfs(system_munin_plugin_t) dev_read_sysfs(system_munin_plugin_t)
@@ -313,3 +328,5 @@ @@ -313,3 +329,5 @@
sysnet_exec_ifconfig(system_munin_plugin_t) sysnet_exec_ifconfig(system_munin_plugin_t)
term_getattr_unallocated_ttys(system_munin_plugin_t) term_getattr_unallocated_ttys(system_munin_plugin_t)
@ -20696,7 +20717,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/rpcb
+') +')
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/rpc.if serefpolicy-3.8.8/policy/modules/services/rpc.if diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/rpc.if serefpolicy-3.8.8/policy/modules/services/rpc.if
--- nsaserefpolicy/policy/modules/services/rpc.if 2010-04-06 15:15:38.000000000 -0400 --- nsaserefpolicy/policy/modules/services/rpc.if 2010-04-06 15:15:38.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/services/rpc.if 2010-07-20 10:46:11.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/services/rpc.if 2010-07-21 10:55:20.000000000 -0400
@@ -246,6 +246,26 @@ @@ -246,6 +246,26 @@
allow rpcd_t $1:process signal; allow rpcd_t $1:process signal;
') ')
@ -22380,7 +22401,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.
+ +
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.te serefpolicy-3.8.8/policy/modules/services/ssh.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.te serefpolicy-3.8.8/policy/modules/services/ssh.te
--- nsaserefpolicy/policy/modules/services/ssh.te 2010-07-14 11:21:53.000000000 -0400 --- nsaserefpolicy/policy/modules/services/ssh.te 2010-07-14 11:21:53.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/services/ssh.te 2010-07-20 10:46:11.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/services/ssh.te 2010-07-21 10:22:13.000000000 -0400
@@ -19,6 +19,13 @@ @@ -19,6 +19,13 @@
## </desc> ## </desc>
gen_tunable(ssh_sysadm_login, false) gen_tunable(ssh_sysadm_login, false)
@ -22522,7 +22543,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.
############################## ##############################
# #
# ssh_keysign_t local policy # ssh_keysign_t local policy
@@ -233,44 +288,64 @@ @@ -233,44 +288,65 @@
allow sshd_t self:netlink_route_socket r_netlink_socket_perms; allow sshd_t self:netlink_route_socket r_netlink_socket_perms;
allow sshd_t self:key { search link write }; allow sshd_t self:key { search link write };
@ -22539,6 +22560,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.
term_setattr_all_ptys(sshd_t) term_setattr_all_ptys(sshd_t)
+term_setattr_all_ttys(sshd_t) +term_setattr_all_ttys(sshd_t)
term_relabelto_all_ptys(sshd_t) term_relabelto_all_ptys(sshd_t)
+term_use_ptmx(sshd_t)
# for X forwarding # for X forwarding
corenet_tcp_bind_xserver_port(sshd_t) corenet_tcp_bind_xserver_port(sshd_t)
@ -22596,7 +22618,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.
') ')
optional_policy(` optional_policy(`
@@ -284,6 +359,11 @@ @@ -284,6 +360,11 @@
') ')
optional_policy(` optional_policy(`
@ -22608,7 +22630,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/ssh.
unconfined_shell_domtrans(sshd_t) unconfined_shell_domtrans(sshd_t)
') ')
@@ -353,10 +433,6 @@ @@ -353,10 +434,6 @@
userdom_dontaudit_use_unpriv_user_fds(ssh_keygen_t) userdom_dontaudit_use_unpriv_user_fds(ssh_keygen_t)
optional_policy(` optional_policy(`
@ -25637,7 +25659,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/authlo
optional_policy(` optional_policy(`
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/authlogin.te serefpolicy-3.8.8/policy/modules/system/authlogin.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/authlogin.te serefpolicy-3.8.8/policy/modules/system/authlogin.te
--- nsaserefpolicy/policy/modules/system/authlogin.te 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/system/authlogin.te 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/system/authlogin.te 2010-07-20 11:06:28.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/system/authlogin.te 2010-07-21 08:57:44.000000000 -0400
@@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
attribute can_read_shadow_passwords; attribute can_read_shadow_passwords;
attribute can_write_shadow_passwords; attribute can_write_shadow_passwords;
@ -25646,6 +25668,15 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/authlo
type auth_cache_t; type auth_cache_t;
logging_log_file(auth_cache_t) logging_log_file(auth_cache_t)
@@ -83,7 +84,7 @@
allow chkpwd_t self:capability { dac_override setuid };
dontaudit chkpwd_t self:capability sys_tty_config;
-allow chkpwd_t self:process getattr;
+allow chkpwd_t self:process { getattr signal };
allow chkpwd_t shadow_t:file read_file_perms;
files_list_etc(chkpwd_t)
@@ -394,3 +395,11 @@ @@ -394,3 +395,11 @@
xserver_use_xdm_fds(utempter_t) xserver_use_xdm_fds(utempter_t)
xserver_rw_xdm_pipes(utempter_t) xserver_rw_xdm_pipes(utempter_t)
@ -28016,7 +28047,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/moduti
## </summary> ## </summary>
diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/modutils.te serefpolicy-3.8.8/policy/modules/system/modutils.te diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/modutils.te serefpolicy-3.8.8/policy/modules/system/modutils.te
--- nsaserefpolicy/policy/modules/system/modutils.te 2010-06-18 13:07:19.000000000 -0400 --- nsaserefpolicy/policy/modules/system/modutils.te 2010-06-18 13:07:19.000000000 -0400
+++ serefpolicy-3.8.8/policy/modules/system/modutils.te 2010-07-20 10:46:11.000000000 -0400 +++ serefpolicy-3.8.8/policy/modules/system/modutils.te 2010-07-21 10:56:07.000000000 -0400
@@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
type insmod_exec_t; type insmod_exec_t;
application_domain(insmod_t, insmod_exec_t) application_domain(insmod_t, insmod_exec_t)
@ -28073,11 +28104,12 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/moduti
domain_signal_all_domains(insmod_t) domain_signal_all_domains(insmod_t)
domain_use_interactive_fds(insmod_t) domain_use_interactive_fds(insmod_t)
@@ -160,11 +166,14 @@ @@ -160,11 +166,15 @@
fs_getattr_xattr_fs(insmod_t) fs_getattr_xattr_fs(insmod_t)
fs_dontaudit_use_tmpfs_chr_dev(insmod_t) fs_dontaudit_use_tmpfs_chr_dev(insmod_t)
+fs_mount_rpc_pipefs(insmod_t) +fs_mount_rpc_pipefs(insmod_t)
+fs_search_rpc(insmod_t)
init_rw_initctl(insmod_t) init_rw_initctl(insmod_t)
init_use_fds(insmod_t) init_use_fds(insmod_t)
@ -28088,7 +28120,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/moduti
logging_send_syslog_msg(insmod_t) logging_send_syslog_msg(insmod_t)
logging_search_logs(insmod_t) logging_search_logs(insmod_t)
@@ -173,8 +182,7 @@ @@ -173,8 +183,7 @@
seutil_read_file_contexts(insmod_t) seutil_read_file_contexts(insmod_t)
@ -28098,7 +28130,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/moduti
userdom_dontaudit_search_user_home_dirs(insmod_t) userdom_dontaudit_search_user_home_dirs(insmod_t)
if( ! secure_mode_insmod ) { if( ! secure_mode_insmod ) {
@@ -235,6 +243,10 @@ @@ -235,6 +244,10 @@
') ')
optional_policy(` optional_policy(`

View File

@ -20,7 +20,7 @@
Summary: SELinux policy configuration Summary: SELinux policy configuration
Name: selinux-policy Name: selinux-policy
Version: 3.8.8 Version: 3.8.8
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
Source: serefpolicy-%{version}.tgz Source: serefpolicy-%{version}.tgz
@ -469,6 +469,9 @@ exit 0
%endif %endif
%changelog %changelog
* Wed Jul 21 2010 Dan Walsh <dwalsh@redhat.com> 3.8.8-2
- Remove debugfs label
* Tue Jul 20 2010 Dan Walsh <dwalsh@redhat.com> 3.8.8-1 * Tue Jul 20 2010 Dan Walsh <dwalsh@redhat.com> 3.8.8-1
- Update to latest policy - Update to latest policy