freebsd-nq/sys/compat/linux
Marcel Moolenaar 03567510a8 Add bounds checking to stackgap_alloc. Previously it was possible
to construct a path that was long enough (ie longer than
SPARE_USRSPACE bytes) and trash the stack.

Note that SPARE_USRSPACE is much smaller than MAXPATHLEN so that
the Linuxulator will now return ENAMETOOLONG even if the path
is smaller than MAXPATHLEN.

PR: 12749
2000-07-23 16:54:18 +00:00
..
linux_file.c Implement pread and pwrite. 2000-07-17 00:17:07 +00:00
linux_ioctl.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
linux_ioctl.h Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
linux_ipc.c
linux_mib.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
linux_mib.h
linux_misc.c Add bounds checking to stackgap_alloc. Previously it was possible 2000-07-23 16:54:18 +00:00
linux_signal.c Fix LINT breakage. 1999-12-05 18:49:09 +00:00
linux_socket.c Fix accept(2) behavior in that accepted sockets don't inherit the 2000-02-28 18:58:59 +00:00
linux_stats.c Remove unneeded #include <vm/vm_zone.h> 2000-04-30 18:52:11 +00:00
linux_util.c Add bounds checking to stackgap_alloc. Previously it was possible 2000-07-23 16:54:18 +00:00
linux_util.h Add bounds checking to stackgap_alloc. Previously it was possible 2000-07-23 16:54:18 +00:00