Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.5.75 /fs/namespace.c

Filename:/fs/namespace.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.5.74-bk7  2.5.74-bk6  2.5.74-bk5  2.5.74-bk4  2.5.74-bk3  2.5.71 
(Following) 2.5.75-bk1  2.5.75-bk2  2.5.75-bk3 

Location
[  2.5.75
  [  fs
     o  namespace.c

Patch

diff -Nru a/fs/namespace.c b/fs/namespace.c
--- a/fs/namespace.c   Thu Jul 10 13:16:28 2003
+++ b/fs/namespace.c   Thu Jul 10 13:16:28 2003
@@ -403,7 +403,7 @@
       if (current->uid != nd->dentry->d_inode->i_uid)
          return -EPERM;
    }
-   if (permission(nd->dentry->d_inode, MAY_WRITE))
+   if (permission(nd->dentry->d_inode, MAY_WRITE, nd))
       return -EPERM;
    return 0;
 #endif


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.