Thanks for volunteering Chris.
> +++ linux-2.1.111/mm/mmap.c Sun Jul 26 19:15:15 1998
> @@ -199,6 +199,10 @@
> /* make sure there are no mandatory locks on the file. */
> if (locks_verify_locked(file->f_dentry->d_inode))
> return -EAGAIN;
> + /* cevans - whoops another append-only file flaw */
> + if (IS_APPEND(file->f_dentry->d_inode) &&
> + (prot & PROT_WRITE))
> + return -EACCES;
> /* fall through */
> case MAP_PRIVATE:
> if (!(file->f_mode & 1))
-
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.altern.org/andrebalsa/doc/lkml-faq.html