On Wed, Jan 03, 2001 at 04:54:38PM -0500, Alexander Viro wrote: > > Win: 0 > Loss: cost of find_vma() (and down(&mm->mmap_sem), BTW) on every system It could actually be optimized a lot, e.g. by just read/writing to a byte in the caller's current code page and handling the exception. But I agree with you that it's rather useless. It'll break some existing exploits, but it's so easy to workaround that exploit writers would quickly adapt and then you have a ugly check with no purpose after a few weeks. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC] prevention of syscalls from wr... Dan Aloni
- Re: [RFC] prevention of syscalls fro... Alexander Viro
- Re: [RFC] prevention of syscalls fro... Gerhard Mack
- Re: [RFC] prevention of syscalls fro... Dan Hollis
- Re: [RFC] prevention of syscall... Nicolas Noble
- Re: [RFC] prevention of syscall... Gerhard Mack
- Re: [RFC] prevention of sys... Dan Hollis
- Re: [RFC] prevention of sys... Gerhard Mack
- Re: [RFC] prevention of sys... Dan Hollis
- Re: [RFC] prevention of sys... Gerhard Mack
- Re: [RFC] prevention of syscalls from writable s... Andi Kleen
- Re: [RFC] prevention of syscalls from writable segmen... Erik Mouw
- Re: [RFC] prevention of syscalls from writable segmen... Nicolas Noble
- Re: [RFC] prevention of syscalls from writable segmen... Jeff Dike
- Re: [RFC] prevention of syscalls from writable segmen... Dan Aloni
- Re: [RFC] prevention of syscalls from writable segmen... Alan Cox
- Re: [RFC] prevention of syscalls from writable segmen... David Huggins-Daines
- Re: [RFC] prevention of syscalls from writable s... Andi Kleen
- Re: [RFC] prevention of syscalls from writab... David Huggins-Daines
- Re: [RFC] prevention of syscalls from writable segmen... Pavel Machek
- Re: [RFC] prevention of syscalls from writable segmen... Mark Zealey