Messages in this thread | | | Subject | Re: AUDIT: copy_from_user is a deathtrap. | Date | Sun, 19 May 2002 12:41:41 +0100 (BST) | From | Alan Cox <> |
| |
> Oh, read() has to return the right value, but we should _also_ do a > SIGSEGV, in my opinion (it would also catch all those programs that didn't > expect it). > > However, that apparently flies in the face of UNIX history and apparently > some standard (whether it was POSIX or SuS or something else, I can't > remember, but that discussion came up earlier..)
Unix history I think
Posix doesnt care - indeed it can be that a posix system has no memory protection or kernel/user divide. SuS seems to simply leave passing bogus addresses as undefined
Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |