CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2010/07/25 19:56:27
Modified files: lib/libkvm : kvm_proc.c kvm_proc2.c sys/compat/common: tty_43.c sys/compat/linux: linux_file.c linux_misc.c sys/compat/svr4: svr4_fcntl.c svr4_misc.c sys/ddb : db_usrreq.c sys/dev/usb : uhid.c sys/dev/wscons : wseventvar.h wskbd.c wsmouse.c wsmux.c sys/kern : exec_elf.c init_main.c kern_acct.c kern_descrip.c kern_exec.c kern_exit.c kern_fork.c kern_ktrace.c kern_proc.c kern_prot.c kern_resource.c kern_sig.c kern_sysctl.c subr_prf.c sys_generic.c sys_process.c tty.c tty_pty.c tty_tty.c vfs_vnops.c sys/miscfs/procfs: procfs_ctl.c procfs_status.c sys/miscfs/specfs: spec_vnops.c sys/sys : proc.h ptrace.h resource.h signalvar.h sysctl.h tty.h uio.h Log message: Correct the links between threads, processes, pgrps, and sessions, so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots