summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2005-01-16 13:30:01 +0000
committerGuy Martin <gmsoft@gentoo.org>2005-01-16 13:30:01 +0000
commitc80af6002f38bae6c7f1b115f470f2b5212bf21e (patch)
treeae4384e136d0712543302facbc75be89ef7d6bb0 /sys-kernel/hppa-sources/files
parentFixed digest. (diff)
downloadgentoo-2-c80af6002f38bae6c7f1b115f470f2b5212bf21e.tar.gz
gentoo-2-c80af6002f38bae6c7f1b115f470f2b5212bf21e.tar.bz2
gentoo-2-c80af6002f38bae6c7f1b115f470f2b5212bf21e.zip
Version bump. Security fix.
Diffstat (limited to 'sys-kernel/hppa-sources/files')
-rw-r--r--sys-kernel/hppa-sources/files/LSM-capability-fix.patch32
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.6.10_p112
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/hppa-sources/files/LSM-capability-fix.patch b/sys-kernel/hppa-sources/files/LSM-capability-fix.patch
new file mode 100644
index 000000000000..80390f13bd73
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/LSM-capability-fix.patch
@@ -0,0 +1,32 @@
+--- linux-2.6.10/security/dummy.c 2004-12-24 21:34:26.000000000 +0000
++++ linux-2.6.10.plasmaroo/security/dummy.c 2005-01-07 20:13:50.763073872 +0000
+@@ -74,11 +74,8 @@
+
+ static int dummy_capable (struct task_struct *tsk, int cap)
+ {
+- if (cap_is_fs_cap (cap) ? tsk->fsuid == 0 : tsk->euid == 0)
+- /* capability granted */
++ if (cap_raised (tsk->cap_effective, cap))
+ return 0;
+-
+- /* capability denied */
+ return -EPERM;
+ }
+
+@@ -191,6 +188,8 @@
+
+ current->suid = current->euid = current->fsuid = bprm->e_uid;
+ current->sgid = current->egid = current->fsgid = bprm->e_gid;
++
++ dummy_capget(current, &current->cap_effective, &current->cap_inheritable, &current->cap_permitted);
+ }
+
+ static int dummy_bprm_set_security (struct linux_binprm *bprm)
+@@ -550,6 +549,7 @@
+
+ static int dummy_task_post_setuid (uid_t id0, uid_t id1, uid_t id2, int flags)
+ {
++ dummy_capget(current, &current->cap_effective, &current->cap_inheritable, &current->cap_permitted);
+ return 0;
+ }
+
diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.6.10_p11 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.6.10_p11
new file mode 100644
index 000000000000..009867073e51
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.6.10_p11
@@ -0,0 +1,2 @@
+MD5 cffcd2919d9c8ef793ce1ac07a440eda linux-2.6.10.tar.bz2 36533484
+MD5 cca268af240e39a8cffebc1048453a83 patch-2.6.10-pa11.gz 192026