rpms/selinux-policy/F-11 policy-20090521.patch,1.38,1.39
Miroslav Grepl
mgrepl at fedoraproject.org
Tue Aug 4 11:25:21 UTC 2009
Author: mgrepl
Update of /cvs/extras/rpms/selinux-policy/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28143
Modified Files:
policy-20090521.patch
Log Message:
- Allow svirt_t to stream_connect to virtd_t
policy-20090521.patch:
mcs | 12 -
modules/admin/certwatch.te | 4
modules/admin/kismet.te | 16 ++
modules/admin/logrotate.te | 6
modules/admin/mrtg.te | 4
modules/admin/prelink.te | 9 -
modules/admin/readahead.te | 2
modules/admin/rpm.if | 18 ++
modules/admin/rpm.te | 4
modules/admin/shorewall.fc | 12 +
modules/admin/shorewall.if | 166 ++++++++++++++++++++++
modules/admin/shorewall.te | 103 +++++++++++++
modules/admin/usermanage.te | 1
modules/apps/gitosis.fc | 4
modules/apps/gitosis.if | 96 ++++++++++++
modules/apps/gitosis.te | 43 +++++
modules/apps/mozilla.if | 16 ++
modules/apps/mozilla.te | 14 +
modules/apps/nsplugin.if | 2
modules/apps/qemu.fc | 1
modules/apps/qemu.te | 5
modules/apps/sandbox.if | 134 +++++++++++++-----
modules/apps/sandbox.te | 274 ++++++++++++++++++++++++++++++++++---
modules/apps/vmware.fc | 1
modules/apps/vmware.te | 6
modules/kernel/corecommands.fc | 9 +
modules/kernel/corenetwork.te.in | 4
modules/kernel/devices.fc | 2
modules/kernel/devices.if | 145 +++++++++++++++++++
modules/kernel/devices.te | 13 +
modules/kernel/domain.if | 45 ++----
modules/kernel/domain.te | 30 +++-
modules/kernel/files.if | 3
modules/kernel/kernel.if | 2
modules/kernel/terminal.if | 19 ++
modules/roles/staff.te | 8 +
modules/roles/sysadm.if | 35 ++++
modules/roles/sysadm.te | 4
modules/roles/unconfineduser.te | 9 -
modules/roles/unprivuser.te | 4
modules/roles/xguest.te | 6
modules/services/apache.fc | 4
modules/services/automount.if | 18 ++
modules/services/avahi.te | 2
modules/services/bluetooth.te | 1
modules/services/clamav.te | 4
modules/services/consolekit.te | 3
modules/services/cron.if | 19 --
modules/services/cron.te | 2
modules/services/cups.te | 3
modules/services/dcc.te | 8 -
modules/services/ddclient.if | 25 +++
modules/services/devicekit.te | 6
modules/services/dnsmasq.te | 4
modules/services/dovecot.if | 34 ++--
modules/services/dovecot.te | 20 +-
modules/services/exim.te | 6
modules/services/fetchmail.te | 2
modules/services/fprintd.te | 8 -
modules/services/ftp.te | 7
modules/services/gnomeclock.te | 1
modules/services/gpsd.fc | 3
modules/services/gpsd.te | 17 ++
modules/services/hal.te | 14 +
modules/services/kerberos.if | 2
modules/services/kerberos.te | 12 +
modules/services/lircd.te | 4
modules/services/mailman.if | 1
modules/services/mta.if | 1
modules/services/mysql.te | 6
modules/services/nis.te | 3
modules/services/nslcd.fc | 4
modules/services/nslcd.if | 145 +++++++++++++++++++
modules/services/nslcd.te | 50 ++++++
modules/services/openvpn.te | 1
modules/services/pcscd.te | 3
modules/services/polkit.fc | 2
modules/services/polkit.if | 2
modules/services/polkit.te | 1
modules/services/postfix.if | 26 +++
modules/services/postfix.te | 26 ---
modules/services/postgresql.te | 2
modules/services/ppp.if | 6
modules/services/privoxy.te | 3
modules/services/pyzor.fc | 2
modules/services/pyzor.te | 2
modules/services/rpc.te | 12 +
modules/services/rsync.te | 2
modules/services/sendmail.if | 39 +++++
modules/services/sendmail.te | 7
modules/services/setroubleshoot.te | 5
modules/services/shorewall.fc | 12 -
modules/services/shorewall.if | 166 ----------------------
modules/services/shorewall.te | 102 -------------
modules/services/spamassassin.fc | 4
modules/services/spamassassin.te | 1
modules/services/ssh.if | 23 ++-
modules/services/ssh.te | 4
modules/services/uucp.te | 2
modules/services/virt.te | 28 ++-
modules/services/xserver.fc | 2
modules/services/xserver.if | 19 ++
modules/services/xserver.te | 11 +
modules/system/authlogin.fc | 3
modules/system/authlogin.if | 223 ++++++++++++++++--------------
modules/system/authlogin.te | 27 +--
modules/system/init.fc | 2
modules/system/init.te | 2
modules/system/ipsec.te | 34 ++--
modules/system/iptables.te | 4
modules/system/iscsi.te | 1
modules/system/libraries.fc | 11 +
modules/system/locallogin.te | 6
modules/system/miscfiles.fc | 1
modules/system/sysnetwork.te | 17 +-
modules/system/udev.fc | 1
modules/system/udev.te | 6
modules/system/userdomain.if | 23 +--
modules/system/virtual.te | 5
modules/system/xen.te | 1
120 files changed, 1978 insertions(+), 634 deletions(-)
Index: policy-20090521.patch
===================================================================
RCS file: /cvs/extras/rpms/selinux-policy/F-11/policy-20090521.patch,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- policy-20090521.patch 4 Aug 2009 09:38:12 -0000 1.38
+++ policy-20090521.patch 4 Aug 2009 11:25:19 -0000 1.39
@@ -1368,7 +1368,16 @@ diff -b -B --ignore-all-space --exclude-
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/kernel/corenetwork.te.in serefpolicy-3.6.12/policy/modules/kernel/corenetwork.te.in
--- nsaserefpolicy/policy/modules/kernel/corenetwork.te.in 2009-06-25 10:19:44.000000000 +0200
-+++ serefpolicy-3.6.12/policy/modules/kernel/corenetwork.te.in 2009-07-31 09:37:03.000000000 +0200
++++ serefpolicy-3.6.12/policy/modules/kernel/corenetwork.te.in 2009-08-04 13:16:29.000000000 +0200
+@@ -116,7 +116,7 @@
+ network_port(imaze, tcp,5323,s0, udp,5323,s0)
+ network_port(inetd_child, tcp,1,s0, udp,1,s0, tcp,7,s0, udp,7,s0, tcp,9,s0, udp,9,s0, tcp,13,s0, udp,13,s0, tcp,19,s0, udp,19,s0, tcp,37,s0, udp,37,s0, tcp,512,s0, tcp,543,s0, tcp,544,s0, tcp,891,s0, udp,891,s0, tcp,892,s0, udp,892,s0, tcp,2105,s0, tcp,5666,s0)
+ network_port(innd, tcp,119,s0)
+-network_port(ipp, tcp,631,s0, udp,631,s0)
++network_port(ipp, tcp,631,s0, udp,631,s0, tcp,8611,s0, udp,8611,s0)
+ network_port(ipsecnat, tcp,4500,s0, udp,4500,s0)
+ network_port(ircd, tcp,6667,s0)
+ network_port(ipmi, udp,623,s0, udp,664,s0)
@@ -134,7 +134,7 @@
network_port(ldap, tcp,389,s0, udp,389,s0, tcp,636,s0, udp,636,s0, tcp,3268,s0)
type lrrd_port_t, port_type; dnl network_port(lrrd_port_t) # no defined portcon
@@ -2027,7 +2036,7 @@ diff -b -B --ignore-all-space --exclude-
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/consolekit.te serefpolicy-3.6.12/policy/modules/services/consolekit.te
--- nsaserefpolicy/policy/modules/services/consolekit.te 2009-06-25 10:19:44.000000000 +0200
-+++ serefpolicy-3.6.12/policy/modules/services/consolekit.te 2009-08-04 11:10:09.000000000 +0200
++++ serefpolicy-3.6.12/policy/modules/services/consolekit.te 2009-08-04 12:44:39.000000000 +0200
@@ -14,7 +14,7 @@
files_pid_file(consolekit_var_run_t)
@@ -2045,13 +2054,6 @@ diff -b -B --ignore-all-space --exclude-
fs_list_inotifyfs(consolekit_t)
-@@ -124,3 +125,6 @@
- fs_dontaudit_rw_cifs_files(consolekit_t)
- ')
-
-+optional_policy(`
-+ udev_read_db(consolekit_t)
-+')
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cron.if serefpolicy-3.6.12/policy/modules/services/cron.if
--- nsaserefpolicy/policy/modules/services/cron.if 2009-06-25 10:19:44.000000000 +0200
+++ serefpolicy-3.6.12/policy/modules/services/cron.if 2009-07-13 10:01:22.000000000 +0200
@@ -2108,7 +2110,7 @@ diff -b -B --ignore-all-space --exclude-
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/cups.te serefpolicy-3.6.12/policy/modules/services/cups.te
--- nsaserefpolicy/policy/modules/services/cups.te 2009-06-25 10:19:44.000000000 +0200
-+++ serefpolicy-3.6.12/policy/modules/services/cups.te 2009-08-02 22:01:31.000000000 +0200
++++ serefpolicy-3.6.12/policy/modules/services/cups.te 2009-08-04 13:01:36.000000000 +0200
@@ -733,6 +733,8 @@
files_read_etc_files(cups_pdf_t)
files_read_usr_files(cups_pdf_t)
@@ -2118,6 +2120,14 @@ diff -b -B --ignore-all-space --exclude-
kernel_read_system_state(cups_pdf_t)
auth_use_nsswitch(cups_pdf_t)
+@@ -746,6 +748,7 @@
+ manage_dirs_pattern(cups_pdf_t, cups_pdf_tmp_t, cups_pdf_tmp_t)
+ files_tmp_filetrans(cups_pdf_t, cups_pdf_tmp_t, { file dir })
+
++userdom_user_home_dir_filetrans_pattern(cups_pdf_t, { file dir })
+ userdom_home_filetrans_user_home_dir(cups_pdf_t)
+ userdom_manage_user_home_content_dirs(cups_pdf_t)
+ userdom_manage_user_home_content_files(cups_pdf_t)
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/dcc.te serefpolicy-3.6.12/policy/modules/services/dcc.te
--- nsaserefpolicy/policy/modules/services/dcc.te 2009-06-25 10:19:44.000000000 +0200
+++ serefpolicy-3.6.12/policy/modules/services/dcc.te 2009-06-25 10:21:01.000000000 +0200
@@ -2548,7 +2558,7 @@ diff -b -B --ignore-all-space --exclude-
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/hal.te serefpolicy-3.6.12/policy/modules/services/hal.te
--- nsaserefpolicy/policy/modules/services/hal.te 2009-06-25 10:19:44.000000000 +0200
-+++ serefpolicy-3.6.12/policy/modules/services/hal.te 2009-07-17 09:56:19.000000000 +0200
++++ serefpolicy-3.6.12/policy/modules/services/hal.te 2009-08-04 12:43:13.000000000 +0200
@@ -103,6 +103,7 @@
kernel_rw_irq_sysctls(hald_t)
kernel_rw_vm_sysctls(hald_t)
@@ -2573,7 +2583,16 @@ diff -b -B --ignore-all-space --exclude-
polkit_domtrans_auth(hald_t)
polkit_domtrans_resolve(hald_t)
polkit_read_lib(hald_t)
-@@ -381,6 +384,7 @@
+@@ -369,6 +372,8 @@
+ files_read_usr_files(hald_acl_t)
+ files_read_etc_files(hald_acl_t)
+
++fs_getattr_all_fs(hald_acl_t)
++
+ storage_getattr_removable_dev(hald_acl_t)
+ storage_setattr_removable_dev(hald_acl_t)
+ storage_getattr_fixed_disk_dev(hald_acl_t)
+@@ -381,6 +386,7 @@
miscfiles_read_localization(hald_acl_t)
optional_policy(`
@@ -2581,7 +2600,7 @@ diff -b -B --ignore-all-space --exclude-
polkit_domtrans_auth(hald_acl_t)
polkit_read_lib(hald_acl_t)
polkit_read_reload(hald_acl_t)
-@@ -470,6 +474,8 @@
+@@ -470,6 +476,8 @@
#
# Local hald dccm policy
#
@@ -2590,7 +2609,7 @@ diff -b -B --ignore-all-space --exclude-
allow hald_dccm_t self:capability { net_bind_service };
allow hald_dccm_t self:process getsched;
allow hald_dccm_t self:tcp_socket create_stream_socket_perms;
-@@ -480,6 +486,8 @@
+@@ -480,6 +488,8 @@
allow hald_t hald_dccm_t:process signal;
allow hald_dccm_t hald_t:unix_stream_socket connectto;
@@ -2599,7 +2618,7 @@ diff -b -B --ignore-all-space --exclude-
corenet_all_recvfrom_unlabeled(hald_dccm_t)
corenet_all_recvfrom_netlabel(hald_dccm_t)
corenet_tcp_sendrecv_generic_if(hald_dccm_t)
-@@ -508,4 +516,8 @@
+@@ -508,4 +518,8 @@
miscfiles_read_localization(hald_dccm_t)
@@ -3974,7 +3993,7 @@ diff -b -B --ignore-all-space --exclude-
-/var/cache/coolkey(/.*)? gen_context(system_u:object_r:auth_cache_t,s0)
diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/authlogin.if serefpolicy-3.6.12/policy/modules/system/authlogin.if
--- nsaserefpolicy/policy/modules/system/authlogin.if 2009-06-25 10:19:44.000000000 +0200
-+++ serefpolicy-3.6.12/policy/modules/system/authlogin.if 2009-07-13 11:37:53.000000000 +0200
++++ serefpolicy-3.6.12/policy/modules/system/authlogin.if 2009-08-04 12:46:42.000000000 +0200
@@ -42,8 +42,7 @@
#
interface(`auth_login_pgm_domain',`
@@ -4014,7 +4033,7 @@ diff -b -B --ignore-all-space --exclude-
')
')
-@@ -238,6 +245,96 @@
+@@ -238,6 +245,97 @@
########################################
## <summary>
@@ -4086,6 +4105,7 @@ diff -b -B --ignore-all-space --exclude-
+ ')
+
+ manage_files_pattern($1, auth_cache_t, auth_cache_t)
++ manage_dirs_pattern($1, auth_cache_t, auth_cache_t)
+')
+
+#######################################
@@ -4111,7 +4131,7 @@ diff -b -B --ignore-all-space --exclude-
## Run unix_chkpwd to check a password.
## </summary>
## <param name="domain">
-@@ -726,7 +823,7 @@
+@@ -726,7 +824,7 @@
########################################
## <summary>
@@ -4120,7 +4140,7 @@ diff -b -B --ignore-all-space --exclude-
## </summary>
## <param name="domain">
## <summary>
-@@ -1258,6 +1355,25 @@
+@@ -1258,6 +1356,25 @@
########################################
## <summary>
@@ -4146,7 +4166,7 @@ diff -b -B --ignore-all-space --exclude-
## Do not audit attempts to write to
## login records files.
## </summary>
-@@ -1415,6 +1531,10 @@
+@@ -1415,6 +1532,10 @@
')
optional_policy(`
@@ -4157,7 +4177,7 @@ diff -b -B --ignore-all-space --exclude-
sssd_stream_connect($1)
')
-@@ -1456,99 +1576,3 @@
+@@ -1456,99 +1577,3 @@
typeattribute $1 can_write_shadow_passwords;
typeattribute $1 can_relabelto_shadow_passwords;
')
More information about the fedora-extras-commits
mailing list