1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/libc/unistd
Jonas 'Sortie' Termansen db7182ddc3 Add support for sessions.
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.
2016-11-23 22:30:47 +01:00
..
_exit.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
access.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
alarm.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
alarmns.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chown.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chroot.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
close.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
closefrom.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
confstr.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
crypt_newhash.c Convert libc to C. 2016-03-03 23:02:23 +01:00
dup.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dup2.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dup3.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
environ.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execl.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execle.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execlp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execlpe.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execve.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execvp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
execvpe.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
exit_thread.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
faccessat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fchdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fchdirat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fchown.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fchownat.c Fix fchownat(2) system call ABI on x86. 2016-03-26 23:28:36 +01:00
fchroot.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fchrootat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fork.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fpathconf.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fsync.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ftruncate.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
get_current_dir_name.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getcwd.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getegid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getentropy.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
geteuid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getgid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
gethostname.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getlogin.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getlogin_r.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getpagesize.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getpgid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getpid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getppid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getsid.c Add support for sessions. 2016-11-23 22:30:47 +01:00
getuid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
isatty.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
lchown.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
link.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
linkat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
lseek.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
memstat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkpartition.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pathconf.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pipe.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pipe2.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pread.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pwrite.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
read.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readlink.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readlinkat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rmdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
setegid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
seteuid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
setgid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sethostname.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
setpgid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
setsid.c Add support for sessions. 2016-11-23 22:30:47 +01:00
setuid.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sfork.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sleep.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
symlink.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
symlinkat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sysconf.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tcgetpgrp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tcsetpgrp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tfork.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
truncate.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
truncateat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ttyname.c Add support for sessions. 2016-11-23 22:30:47 +01:00
ttyname_r.c Add support for sessions. 2016-11-23 22:30:47 +01:00
unlink.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
unlinkat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
usleep.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
write.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00