sortix-mirror/utils
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
..
.gitignore Add logname(1). 2016-10-16 11:27:35 -05:00
Makefile Add logname(1). 2016-10-16 11:27:35 -05:00
basename.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
cat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chkblayout.1 Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
chkblayout.c Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
chmod.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chroot.8 Document chroot(8). 2016-10-12 21:51:25 +08:00
chroot.c Document chroot(8). 2016-10-12 21:51:25 +08:00
chvideomode.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
clear.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
colormake.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
column.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
command-not-found.c Add suggestion to use nano(1) if installed. 2016-11-03 22:02:53 +01:00
cp.c Update cp(1) to current coding conventions. 2016-10-03 20:02:12 +02:00
date.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
df.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dirname.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
du.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
echo.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
env.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
expr.c Check overflow in expr(1). 2016-05-15 22:43:29 +02:00
false.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
find.c Add -type option to find(1). 2016-03-27 14:51:44 +02:00
head.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
help.c Fix execl(3) sentinel undefined behaviour. 2016-09-30 23:36:49 +02:00
id.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernelinfo.1 Document kernelinfo(1). 2016-10-02 13:26:04 +02:00
kernelinfo.c Fix newlines in errx(3) calls. 2016-10-03 16:00:00 +02:00
kill.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ln.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
logname.1 Add logname(1). 2016-10-16 11:27:35 -05:00
logname.c Add logname(1). 2016-10-16 11:27:35 -05:00
ls.c Fix ls -Ra recursing on dot and dotdot. 2016-11-14 20:47:07 +01:00
memstat.1 Document memstat(1). 2016-10-08 10:26:15 +08:00
memstat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mktemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pager.1 Document pager(1). 2016-10-05 23:01:23 +08:00
pager.c Switch pager(1) to termios. 2016-11-22 21:36:43 +01:00
passwd.1 Document passwd(1). 2016-10-03 21:45:58 +08:00
passwd.c Fix newlines in passwd(1) unrecognized option errors. 2016-10-09 23:06:42 +02:00
ps.c Add support for sessions. 2016-11-23 22:30:47 +01:00
pstree.c Fix ps and pstree extra operand not using errx. 2016-11-03 22:10:45 +01:00
pwd.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readlink.1 Fix readlink(1) self-reference. 2016-10-01 21:29:30 +02:00
readlink.c Add readlink(1). 2016-09-29 20:10:58 -05:00
realpath.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rm.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
sleep.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sort.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
stat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tail.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
tee.c Add tee(1). 2016-09-25 20:07:27 -05:00
time.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
touch.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tr.c Remove useless void casts from tr(1). 2016-10-03 20:02:11 +02:00
true.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
type.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uname.c Remove uname -i and -o options. 2016-05-15 22:43:29 +02:00
uniq.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
unmount.8 Document unmount(1). 2016-10-11 20:12:48 +08:00
unmount.c Document unmount(1). 2016-10-11 20:12:48 +08:00
uptime.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
which.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
xinstall.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
yes.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00