From b9c49648c46026682bace8f98c160e0edeb4d15e Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 18 Jun 2024 23:03:47 +0200 Subject: [PATCH] fixup! Add init groups. --- libc/unistd/setinit.2 | 6 ++++-- share/man/man7/following-development.7 | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/libc/unistd/setinit.2 b/libc/unistd/setinit.2 index e2896524..77e3e378 100644 --- a/libc/unistd/setinit.2 +++ b/libc/unistd/setinit.2 @@ -59,12 +59,14 @@ will fail if: The process specified in .Fa pid does not exist. -.Sh SEE ALSO7 +.El +.Sh SEE ALSO .Xr getpgrp 2 , .Xr getsid 2 , -.Xr init 8 +.Xr psctl 2 , .Xr setpgrp 2 , .Xr setsid 2 , +.Xr init 8 .Sh HISTORY The .Fn getinit diff --git a/share/man/man7/following-development.7 b/share/man/man7/following-development.7 index a0c998eb..bc22561e 100644 --- a/share/man/man7/following-development.7 +++ b/share/man/man7/following-development.7 @@ -69,6 +69,21 @@ releasing Sortix x.y, foo." to allow the maintainer to easily .Xr grep 1 for it after a release. .Sh CHANGES +.Ss Add init groups +The +.Xr setinit 2 +and +.Xr getinit 2 +system calls have been added for nested init groups. +The +.Dv TIOCSCTTY +.Xr ioctl 2 +for acquiring a controlling terminal has gained a force flag essential to +transferring terminals into nested sessions, and the new +.Dv TIOCUCTTY +.Xr ioctl 2 +releases a controlling terminal. +This is a minor compatible ABI change. .Ss Add tix-repository(8) The new .Xr tix-repository 8