Re: [patch] fix for /proc/<pid> fchmod bug

Philip Blundell (nop@blue.netnation.com)
Sat, 7 Nov 1998 02:12:42 -0800 (PST)


That patch wasn't quite right. It should have just been:

--- linux/fs/proc/root.c.old Sat Nov 7 01:18:16 1998
+++ linux/fs/proc/root.c Sat Nov 7 01:57:31 1998
@@ -827,6 +827,7 @@
inode = proc_get_inode(dir->i_sb, ino, &proc_pid);
if (!inode)
return -EINVAL;
+ inode->i_flags|=S_IMMUTABLE;
}

dentry->d_op = &proc_dentry_operations;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/