summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-07-09 19:06:58 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-07-09 19:06:58 +0000
commitce5553917984f6f1dd5474b9893f9b39c22d3392 (patch)
tree7bd9ef94d892ba95ab4fb580709c6adb5900b93a /sys-kernel/hppa-sources/files
parentadd more USE flags; multicall+static (Manifest recommit) (diff)
downloadgentoo-2-ce5553917984f6f1dd5474b9893f9b39c22d3392.tar.gz
gentoo-2-ce5553917984f6f1dd5474b9893f9b39c22d3392.tar.bz2
gentoo-2-ce5553917984f6f1dd5474b9893f9b39c22d3392.zip
CAN-2004-0497 fix. Removed old ebuild.
Diffstat (limited to 'sys-kernel/hppa-sources/files')
-rw-r--r--sys-kernel/hppa-sources/files/CAN-2004-0497.patch23
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p43
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6-r1 (renamed from sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6)0
3 files changed, 23 insertions, 3 deletions
diff --git a/sys-kernel/hppa-sources/files/CAN-2004-0497.patch b/sys-kernel/hppa-sources/files/CAN-2004-0497.patch
new file mode 100644
index 000000000000..9503e9efe57b
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/CAN-2004-0497.patch
@@ -0,0 +1,23 @@
+# ChangeSet
+#
+# fs/attr.c
+# 2004/07/03 18:28:30-03:00 marcelo@logos.cnet +1 -0
+# Thomas Biege: Fix missing DAC check on sys_chown
+#
+# fs/attr.c
+# 2004/07/03 19:28:29-03:00 marcelo@logos.cnet +1 -1
+# Add missing bracket to inode_change_ok() fix
+#
+diff -Nru a/fs/attr.c b.plasmaroo/fs/attr.c
+--- a/fs/attr.c 2004-07-08 17:05:20 -07:00
++++ b.plasmaroo/fs/attr.c 2004-07-08 17:05:20 -07:00
+@@ -35,7 +35,8 @@
+
+ /* Make sure caller can chgrp. */
+ if ((ia_valid & ATTR_GID) &&
+- (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) &&
++ (current->fsuid != inode->i_uid ||
++ (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid)) &&
+ !capable(CAP_CHOWN))
+ goto error;
+
diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p4 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p4
deleted file mode 100644
index 145fdbcdad34..000000000000
--- a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 88d7aefa03c92739cb70298a0b486e2c linux-2.4.26.tar.bz2 30772389
-MD5 ebf21b90264e2ba1cbacf11309320c75 patch-2.4.26-pa4.gz 723886
-MD5 010fe6b49e97365f12ce3f70376d5eb0 parisc-2.4.23-pa4-missing-ioctl-translations.diff 18091
diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6-r1
index 1783d6ae9683..1783d6ae9683 100644
--- a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6
+++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.26_p6-r1