freebsd-dev/sys/compat/svr4
Tim J. Robbins 78b73f3e05 Fix some security bugs in the SVR4 emulator:
- Return NULL instead of returning memory outside of the stackgap
  in stackgap_alloc() (FreeBSD-SA-00:42.linux)
- Check for stackgap_alloc() returning NULL in svr4_emul_find(),
  and clean_pipe().
- Avoid integer overflow on large nfds argument in svr4_sys_poll()
- Reject negative nbytes argument in svr4_sys_getdents()
- Don't copy out past the end of the struct componentname
  pathname buffer in svr4_sys_resolvepath()
- Reject out-of-range signal numbers in svr4_sys_sigaction(),
  svr4_sys_signal(), and svr4_sys_kill().
- Don't malloc() user-specified lengths in show_ioc() and
  show_strbuf(), place arbitrary limits instead.
- Range-check lengths in si_listen(), ti_getinfo(), ti_bind(),
  svr4_do_putmsg(), svr4_do_getmsg(), svr4_stream_ti_ioctl().

Some fixes obtain from OpenBSD.
2003-10-20 10:38:48 +00:00
..
imgact_svr4.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
Makefile Fix typo. 2001-09-13 22:02:48 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h correct commented out preprocessor test for i386 to __i386__ 2002-05-30 07:28:43 +00:00
svr4_fcntl.c Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
svr4_fcntl.h
svr4_filio.c Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ioctl.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ipc.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ipc.h
svr4_misc.c Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_mman.h
svr4_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_resource.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_socket.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_socket.h Put definition of struct svr4_sockcache_entry in a .h file rather than 2003-05-31 20:33:18 +00:00
svr4_sockio.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_stropts.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_syscall.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_syscallnames.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sysconfig.h
svr4_sysent.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_systeminfo.h
svr4_sysvec.c Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_termios.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h Fix some security bugs in the SVR4 emulator: 2003-10-20 10:38:48 +00:00
svr4_utsname.h
svr4_wait.h
svr4.h Don't #define memset() to bzero(), it is far too prone to bite somebody. 2003-05-12 05:08:38 +00:00
syscalls.conf
syscalls.master