syscalls: implement sysctl and add process listing

This commit is contained in:
Matheus
2026-06-09 17:47:27 -03:00
parent 770a300618
commit 659b29ef4e
18 changed files with 428 additions and 8 deletions
+4
View File
@@ -590,6 +590,10 @@ void tty_unregister(tty_t *tty) {
}
}
void tty_release(tty_t *tty) {
VOP_RELEASE(tty->mastervnode);
}
size_t tty_opened(tty_t *tty) {
return __atomic_load_n(&tty->opened, __ATOMIC_SEQ_CST);
}