sortix-mirror/kernel
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
..
disk Fix drivers not detecting PCI devices without an interrupt line. 2016-08-21 00:03:58 +02:00
fs Add support for sessions. 2016-11-23 22:30:47 +01:00
gpu/bga Add 24-bit graphics support to kernel. 2016-09-28 20:29:18 +02:00
include/sortix Add support for sessions. 2016-11-23 22:30:47 +01:00
kb Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mouse Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
net Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
x64 Remove not_rsp and not_esp. 2016-10-30 12:03:47 +00:00
x86 Remove not_rsp and not_esp. 2016-10-30 12:03:47 +00:00
x86-family Add assertions to Signal::DispatchHandler callers. 2016-03-28 17:37:37 +02:00
.gitignore Allow bootloader bitmap framebuffer modesetting. 2016-01-08 19:56:11 +01:00
Makefile Split LogTerminal into a base class with the core terminal semantics. 2016-11-05 17:00:43 +01:00
addralloc.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
alarm.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
clock.cpp Fix linked list and shadowing bugs in kernel clock and timer code. 2016-08-21 00:04:27 +02:00
com.cpp Fix concurrent serial port read and write. 2016-11-03 22:10:45 +01:00
com.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
copy.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
descriptor.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
dtable.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
elf.cpp Optimize is_power_of_two. 2016-11-06 17:42:13 +01:00
end.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fcache.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fsfunc.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
hostname.cpp Fix kernel not using BRAND_DEFAULT_HOSTNAME. 2016-09-28 20:15:36 +02:00
identity.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
initrd.cpp Seed kernel entropy with randomness from the previous boot. 2016-10-04 00:34:50 +02:00
initrd.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
inode.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
interlock.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
interrupt.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
io.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
ioctx.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernel.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
kernelinfo.cpp Add tagline. 2016-03-26 23:50:50 +01:00
kthread.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
lfbtextbuffer.cpp Add 24-bit graphics support to kernel. 2016-09-28 20:29:18 +02:00
lfbtextbuffer.h Add 24-bit graphics support to kernel. 2016-09-28 20:29:18 +02:00
libk.cpp Seed kernel entropy with randomness from the previous boot. 2016-10-04 00:34:50 +02:00
linebuffer.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
linebuffer.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
log.cpp Add ONLCR and OCRNL. 2016-11-05 23:38:40 +01:00
logterminal.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
logterminal.h Add support for sessions. 2016-11-23 22:30:47 +01:00
memorymanagement.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mtable.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
multiboot.h Upgrade to latest upstream multiboot header. 2014-12-01 22:51:07 +01:00
op-new.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
panic.cpp Make the branding system more neutral. 2016-05-15 22:43:29 +02:00
partition.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
partition.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pci-mmio.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pci.cpp Fix drivers not detecting PCI devices without an interrupt line. 2016-08-21 00:03:58 +02:00
pipe.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
poll.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
process.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
psctl.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
ptable.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
random.cpp Seed kernel entropy with randomness from the previous boot. 2016-10-04 00:34:50 +02:00
refcount.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
registers.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
resource.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
scheduler.cpp Remove not_rsp and not_esp. 2016-10-30 12:03:47 +00:00
segment.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
signal.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
sockopt.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
string.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
syscall.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
textbuffer.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
textterminal.cpp Add ONLCR and OCRNL. 2016-11-05 23:38:40 +01:00
textterminal.h Add ONLCR and OCRNL. 2016-11-05 23:38:40 +01:00
thread.cpp Fix exit_thread(2) multi-threaded process destruction. 2016-10-17 18:38:04 +02:00
time.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
timer.cpp Fix linked list and shadowing bugs in kernel clock and timer code. 2016-08-21 00:04:27 +02:00
tty.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
tty.h Add support for sessions. 2016-11-23 22:30:47 +01:00
uart.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uart.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
user-timer.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vga.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vga.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vgafont.f16 Allow bootloader bitmap framebuffer modesetting. 2016-01-08 19:56:11 +01:00
vgatextbuffer.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vgatextbuffer.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
video.cpp Allow detecting fallback video modes. 2016-10-03 21:38:34 +02:00
vnode.cpp Add support for sessions. 2016-11-23 22:30:47 +01:00
worker.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00