]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- outdated
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 May 2005 10:16:35 +0000 (10:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-2.4-sec-sys_chown.patch -> 1.2

linux-2.4-sec-sys_chown.patch [deleted file]

diff --git a/linux-2.4-sec-sys_chown.patch b/linux-2.4-sec-sys_chown.patch
deleted file mode 100644 (file)
index ecb9cda..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-# This is a BitKeeper generated diff -Nru style patch.
-#
-# ChangeSet
-#   2004/07/03 18:32:40-03:00 marcelo@logos.cnet 
-#     Thomas Biege: Fix missing DAC check on sys_chown
-# 
-# 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
-# 
-# This is a BitKeeper generated diff -Nru style patch.
-#
-# ChangeSet
-#   2004/07/03 19:29:45-03:00 marcelo@logos.cnet 
-#     Add missing bracket to inode_change_ok() fix
-#   TAG: v2.4.27-rc3
-# 
-# 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/fs/attr.c
---- a/fs/attr.c        2004-07-09 02:08:10 -07:00
-+++ b/fs/attr.c        2004-07-09 02:08:10 -07:00
-@@ -33,7 +33,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;
This page took 0.077484 seconds and 4 git commands to generate.