NetBSD/sys/compat/svr4
jdolecek 02eb342b57 Make sure that the pointer to old parent process for ptraced children
gets reset properly when the old parent exits before the child. A flag
is set in old parent process when the child is reparented in ptrace(2).
If it's set when process is exiting, all running processes have their
'old parent process' pointer checked and reset if appropriate. Also
change to use 'struct proc *' pointer directly, rather than pid_t.
This fixes security/14444 by David Sainty.

Reviewed by Christos Zoulas.
2002-07-25 20:04:02 +00:00
..
Makefile
files.svr4 make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_errno.h
svr4_exec.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_exec.h
svr4_exec_elf32.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_exec_elf64.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_fcntl.c fd_revoke(): don't assume that f_type other DTYPE_VNODE and DTYPE_SOCKET 2002-03-24 15:32:51 +00:00
svr4_fcntl.h
svr4_filio.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_ioctl.h
svr4_ipc.c Cosmetic change (lines longer than 80 car) 2002-03-18 17:18:28 +00:00
svr4_ipc.h
svr4_lwp.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_lwp.h
svr4_misc.c Make sure that the pointer to old parent process for ptraced children 2002-07-25 20:04:02 +00:00
svr4_mman.h Handle MAP_ANON (0x100 in Solaris8, not 0x1000) properly, by factoring out 2002-02-07 23:22:24 +00:00
svr4_net.c make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc * 2002-03-16 20:43:48 +00:00
svr4_resource.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_resource.h
svr4_siginfo.h Match the Solaris siginfo layout for _LP64. 2002-06-19 17:33:01 +00:00
svr4_signal.c Add kernel support for having userland provide the signal trampoline: 2002-07-04 23:32:02 +00:00
svr4_signal.h Add kernel support for having userland provide the signal trampoline: 2002-07-04 23:32:02 +00:00
svr4_signo.c make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
svr4_socket.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_socket.h
svr4_sockio.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc * 2002-03-16 20:43:48 +00:00
svr4_stat.h __LP64__ -> _LP64 2002-05-03 01:34:48 +00:00
svr4_statvfs.h
svr4_stream.c make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc * 2002-03-16 20:43:48 +00:00
svr4_stropts.h
svr4_syscall.h add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_syscallargs.h add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_syscalls.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_sysconfig.h
svr4_sysent.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_systeminfo.h
svr4_termios.c add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c nuke the #include "opt_compat_irix.h", too 2001-12-02 00:46:03 +00:00
svr4_ttold.h
svr4_types.h __LP64__ -> _LP64 2002-05-03 01:34:48 +00:00
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h
svr4_utsname.h
svr4_wait.h
syscalls.conf
syscalls.master