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/
- References:
- 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Markus Trippelsdorf <[email protected]>
- Re: 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Andrew Morton <[email protected]>
- Re: 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Markus Trippelsdorf <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Markus Trippelsdorf <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Ulrich Drepper <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Al Viro <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Ulrich Drepper <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <[email protected]>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <[email protected]>
- 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- Prev by Date: Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- Next by Date: Re: [RFC][PATCH -mm] Freezer: Handle uninterruptible tasks
- Previous by thread: Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- Next by thread: Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- Index(es):