db7182ddc3
This change refactors the process group implementation and adds support for sessions. The setsid(2) and getsid(2) system calls were added. psctl(2) now has PSCTL_TTYNAME, which lets you get the name of a process's terminal, and ps(1) now uses it. The initial terminal is now called /dev/tty1. /dev/tty is now a factory for the current terminal. A global lock now protects the process hierarchy which makes it safe to access other processes. This refactor removes potential vulnerabilities and increases system robustness. A number of terminal ioctls have been added. This is a compatible ABI change. |
||
---|---|---|
.. | ||
_exit.c | ||
access.c | ||
alarm.c | ||
alarmns.c | ||
chdir.c | ||
chown.c | ||
chroot.c | ||
close.c | ||
closefrom.c | ||
confstr.c | ||
crypt_newhash.c | ||
dup.c | ||
dup2.c | ||
dup3.c | ||
environ.c | ||
execl.c | ||
execle.c | ||
execlp.c | ||
execlpe.c | ||
execv.c | ||
execve.c | ||
execvp.c | ||
execvpe.c | ||
exit_thread.c | ||
faccessat.c | ||
fchdir.c | ||
fchdirat.c | ||
fchown.c | ||
fchownat.c | ||
fchroot.c | ||
fchrootat.c | ||
fork.c | ||
fpathconf.c | ||
fsync.c | ||
ftruncate.c | ||
get_current_dir_name.c | ||
getcwd.c | ||
getegid.c | ||
getentropy.c | ||
geteuid.c | ||
getgid.c | ||
gethostname.c | ||
getlogin.c | ||
getlogin_r.c | ||
getpagesize.c | ||
getpgid.c | ||
getpid.c | ||
getppid.c | ||
getsid.c | ||
getuid.c | ||
isatty.c | ||
lchown.c | ||
link.c | ||
linkat.c | ||
lseek.c | ||
memstat.c | ||
mkpartition.c | ||
pathconf.c | ||
pipe.c | ||
pipe2.c | ||
pread.c | ||
pwrite.c | ||
read.c | ||
readlink.c | ||
readlinkat.c | ||
rmdir.c | ||
setegid.c | ||
seteuid.c | ||
setgid.c | ||
sethostname.c | ||
setpgid.c | ||
setsid.c | ||
setuid.c | ||
sfork.c | ||
sleep.c | ||
symlink.c | ||
symlinkat.c | ||
sysconf.c | ||
tcgetpgrp.c | ||
tcsetpgrp.c | ||
tfork.c | ||
truncate.c | ||
truncateat.c | ||
ttyname.c | ||
ttyname_r.c | ||
unlink.c | ||
unlinkat.c | ||
usleep.c | ||
write.c |