diff options
author | David Holm <dholm@gentoo.org> | 2004-07-21 09:12:24 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2004-07-21 09:12:24 +0000 |
commit | 78497b5d0d5fb4407f1fc1aa060db67de646b6d3 (patch) | |
tree | 1ea32aa07cb8ce2b4129859d7c81e6029e9f87aa /sys-kernel/pegasos-sources/files | |
parent | Additional Soundfonts for use with timidity. Ebuild submitted by Atsushi Kob... (diff) | |
download | historical-78497b5d0d5fb4407f1fc1aa060db67de646b6d3.tar.gz historical-78497b5d0d5fb4407f1fc1aa060db67de646b6d3.tar.bz2 historical-78497b5d0d5fb4407f1fc1aa060db67de646b6d3.zip |
CAN-2004-0497
Diffstat (limited to 'sys-kernel/pegasos-sources/files')
-rw-r--r-- | sys-kernel/pegasos-sources/files/digest-pegasos-sources-2.4.26-r3 | 2 | ||||
-rw-r--r-- | sys-kernel/pegasos-sources/files/pegasos-sources-2.4.26.CAN-2004-0497.patch | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/pegasos-sources/files/digest-pegasos-sources-2.4.26-r3 b/sys-kernel/pegasos-sources/files/digest-pegasos-sources-2.4.26-r3 new file mode 100644 index 000000000000..2b90d62bed78 --- /dev/null +++ b/sys-kernel/pegasos-sources/files/digest-pegasos-sources-2.4.26-r3 @@ -0,0 +1,2 @@ +MD5 88d7aefa03c92739cb70298a0b486e2c linux-2.4.26.tar.bz2 30772389 +MD5 fd4d82eef832f87127b85ddcc2f3bac9 pegpatches-2.4-26.1-base.tar.bz2 906564 diff --git a/sys-kernel/pegasos-sources/files/pegasos-sources-2.4.26.CAN-2004-0497.patch b/sys-kernel/pegasos-sources/files/pegasos-sources-2.4.26.CAN-2004-0497.patch new file mode 100644 index 000000000000..9503e9efe57b --- /dev/null +++ b/sys-kernel/pegasos-sources/files/pegasos-sources-2.4.26.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; + |