have read() and write() buffers been access_ok()'ed?

Sebastian Kuzminsky seb at highlab.com
Fri Mar 2 11:54:34 CST 2007


When the kernel calls my fops.read() or fops.write() function, has it
already verified the userspace buffer with access_ok(), or is that my
responsibility?

I understand that the last argument to ioctl is not verified by the
kernel.


-- 
Sebastian Kuzminsky                  The Stage is too big for the Drama.
                                                   -- Richard P. Feynman


More information about the Kernel-mentors mailing list