sortix-mirror/terminal
Jonas 'Sortie' Termansen 6e51c1ae51 Add init groups.
Every process now has an init process like it has a session, and each
session belong to an init. Orphaned processes are reparented to its init
process. All descendent processes are SIGKILL'd when an init process exits
and creating additional processes/threads fails.

Add setinit(2) for becoming the init process for your child processes and
add getinit(2) for locating your init process.

Add TIOCSCTTY force flag that releases a terminal from its current session
and makes it the controlling terminal for the current session. This ioctl
is essential to transferring the controlling terminal to a nested init,
which has its own session.

Add TIOCUCTTY that releases the terminal as the controlling terminal for
its current session.

Remove INIT_PID as it is replaced by getinit(2).
2024-06-22 18:25:49 +02:00
..
.gitignore Add display server. 2023-06-24 00:43:36 +02:00
Makefile Add display server. 2023-06-24 00:43:36 +02:00
palette.h Add display server. 2023-06-24 00:43:36 +02:00
terminal.1 Add display server. 2023-06-24 00:43:36 +02:00
terminal.c Add init groups. 2024-06-22 18:25:49 +02:00