Re: [PATCH] Security fix for 2.1.111, 2.0.x forwardport

Alan Cox (
Sun, 26 Jul 1998 22:23:14 +0100 (BST)

> The proper (and now in my 2.1 tree) fix is to have
> /* Make sure we don't allow writing to an append-only file.. */
> if (IS_APPEND(file->f_dentry->d_inode) && (file->f_mode & 2))
> return -EACCES;

Backpropogated to 2.0.36pre2

The only other one I can find off hand is the /proc stuff - sitting with
/proc/somepid/file open when the PID is reused.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at