On Sun, Jul 08, 2007 at 11:30:15AM -0700, Linus Torvalds wrote: > - non-owners can set it only when they have write permissions, and if it > was a file descriptor, the only way for us to know that they have write > permissions is if it's opened writably, which is hopefully equivalent > to that MAY_WRITE test (except the MAY_WRITE test was done at _open_ > time). > > This would seem to be the minimal change, and I think it's right.
Yeah, FMODE_WRITE is probably right. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/