freebsd-dev/sys/compat/linux
Alexander Leidinger f6018b1434 MFP4 (108673, 110519, 110874):
- Currently LINUX_MAX_COMM_LEN is smaller than MAXCOMLEN, but in case
  this will change we have a buffer overflow. Apply some defensive
  programming to DTRT when this should happen.
- Use copyinstr() instead of copyin where appropriate.
  * Fallback to copyin() in case of ENAMETOOLONG. [1]
  * Use the right source and destination (it was wrong before).
- Use strlcpy instead of strcpy.
- Properly lock the read case (PR_GET_NAME) like the write case.

Reviewed by:	rwatson (except [1])
Suggested by:	rwatson [1]
2006-12-02 14:56:25 +00:00
..
linux_emul.c Group pid and parent are shared in a case of CLONE_THREAD not CLONE_VM. 2006-11-15 11:04:37 +00:00
linux_emul.h MFP4: 2006-10-28 10:59:59 +00:00
linux_file.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
linux_futex.c
linux_futex.h
linux_getcwd.c Add missed ")". Fix the build. 2006-11-18 17:27:39 +00:00
linux_ioctl.c
linux_ioctl.h
linux_ipc.c Don't pass unused bufsz to kern_shmctl(). 2006-10-10 22:46:50 +00:00
linux_ipc.h
linux_mib.c
linux_mib.h
linux_misc.c MFP4 (108673, 110519, 110874): 2006-12-02 14:56:25 +00:00
linux_misc.h MFP4: 2006-10-28 10:59:59 +00:00
linux_signal.c Fix compile (use the right variable name). 2006-10-15 14:34:03 +00:00
linux_signal.h MFP4 (107868 - 107870): 2006-10-15 12:51:43 +00:00
linux_socket.c
linux_socket.h
linux_stats.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
linux_sysctl.c
linux_sysproto.h
linux_time.c
linux_uid16.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
linux_util.c
linux_util.h