summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-02-05 12:25:23 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-02-05 12:25:23 +0000
commit6381798bff7cfed3bc4aaedf5217b8fed1710ea4 (patch)
treea601fb90c78a4d7f442ee4cbe4efccfe2cb1a82e /sec-policy
parentAdded patchbundle for base policy 2.20101213. (diff)
downloadgentoo-2-6381798bff7cfed3bc4aaedf5217b8fed1710ea4.tar.gz
gentoo-2-6381798bff7cfed3bc4aaedf5217b8fed1710ea4.tar.bz2
gentoo-2-6381798bff7cfed3bc4aaedf5217b8fed1710ea4.zip
Added patch to fix sudo policy.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sec-policy')
-rw-r--r--sec-policy/selinux-sudo/ChangeLog6
-rw-r--r--sec-policy/selinux-sudo/files/fix-sudo.patch21
2 files changed, 26 insertions, 1 deletions
diff --git a/sec-policy/selinux-sudo/ChangeLog b/sec-policy/selinux-sudo/ChangeLog
index aa0b736a2005..68ea3e913c5c 100644
--- a/sec-policy/selinux-sudo/ChangeLog
+++ b/sec-policy/selinux-sudo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sec-policy/selinux-sudo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-sudo/ChangeLog,v 1.18 2011/02/05 12:07:10 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-sudo/ChangeLog,v 1.19 2011/02/05 12:25:23 blueness Exp $
+
+ 05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+ +files/fix-sudo.patch:
+ Added patch to fix sudo policy.
*selinux-sudo-2.20101213-r1 (05 Feb 2011)
*selinux-sudo-2.20101213 (05 Feb 2011)
diff --git a/sec-policy/selinux-sudo/files/fix-sudo.patch b/sec-policy/selinux-sudo/files/fix-sudo.patch
new file mode 100644
index 000000000000..6a1d812544fc
--- /dev/null
+++ b/sec-policy/selinux-sudo/files/fix-sudo.patch
@@ -0,0 +1,21 @@
+--- admin/sudo.te 2010-12-13 15:11:01.000000000 +0100
++++ ../../../refpolicy/policy/modules/admin/sudo.te 2011-01-06 23:52:27.519000000 +0100
+@@ -1,4 +1,4 @@
+-policy_module(sudo, 1.7.0)
++policy_module(sudo, 1.7.0.r1)
+
+ ########################################
+ #
+@@ -7,3 +7,6 @@
+
+ type sudo_exec_t;
+ application_executable_file(sudo_exec_t)
++
++type sudo_db_t;
++files_type(sudo_db_t)
+--- admin/sudo.fc 2010-08-03 15:11:03.000000000 +0200
++++ ../../../refpolicy/policy/modules/admin/sudo.fc 2011-01-06 23:48:59.497000020 +0100
+@@ -1,2 +1,2 @@
+-
+ /usr/bin/sudo(edit)? -- gen_context(system_u:object_r:sudo_exec_t,s0)
++/var/db/sudo(/.*)? gen_context(system_u:object_r:sudo_db_t,s0)