NetBSD/src mI1RfjG — sys/compat/linux/common linux_socket.h linux_socket.c
Don't read data from userland directly. This simply does not work on any recent x86 CPU (thanks to SMAP) and all architectures that forbid direct access to userland from the kernel. But I guess no one noticed because no one ever uses compat_linux, right?
Version | Delta | File | |
---|---|---|---|
1.24 | +6 | -6 | sys/compat/linux/common/linux_socket.h |
1.146 | +3 | -3 | sys/compat/linux/common/linux_socket.c |
+9 | -9 | 2 files |