[email protected] (Martin Husemann) writes: >You need to check the details of the system call, e.g. if I do a write(2), >and pass a buffer of, say, 16k, but use nbytes = 64k it will most likely >cause a SIGSEGV when the kernel tries to access a page beyound the 16k >allocated userland buffer.
The kernel would just fail the system call with an errno of EFAULT.
--
--
Michael van Elst
Internet: [email protected]
"A potential Snark may lurk in every tree."
