Commit Graph

710 Commits

Author SHA1 Message Date
Matheus 78492d4b56 handle /etc/hostname, sethostname(2), gethostname(2) and uname(2) 2024-05-22 2024-05-22 21:09:17 -03:00
Matheus e7c9654d58 makefile: use q35 by default 2024-05-22 19:49:53 -03:00
Matheus 71a38176d1 fix jobctl /dev/tty stuff 2024-05-22 19:23:37 -03:00
Matheus a493fcb63d xterm: fix setsid 2024-05-22 18:50:10 -03:00
Matheus 94de8aa363 only set DISPLAY env on startwm shell script 2024-05-22 18:11:06 -03:00
Matheus a65e7fa8cc signal: check for pending signals before yield 2024-05-22 17:49:49 -03:00
Matheus 6bc3747856 scheduler: sched_terminateprogram() 2024-05-22 17:10:33 -03:00
Matheus a8970c4b27 tty: fix ECHOCTL 2024-05-22 14:08:13 -03:00
Matheus c3983353b3 signal: support the stopping of processes 2024-05-22 13:49:11 -03:00
Matheus 8e1033f170 waitpid: implement WSTOPPED and WCONTINUED 2024-05-22 13:48:21 -03:00
Matheus e965ae3ec4 signals: retry in case of ignored signal 2024-05-22 10:44:00 -03:00
Matheus bab8427275 init: create new process group for shell and make it the foreground 2024-05-22 09:48:35 -03:00
Matheus aa6799676b tty: general improvements to line discipline and new ioctls 2024-05-22 09:47:55 -03:00
Matheus 9e339a2ff2 mlibc port: fix getpgid and getsid 2024-05-22 09:47:15 -03:00
Matheus ff13369073 setpgid: support changing between process groups and doing it for other processes 2024-05-22 09:46:31 -03:00
Matheus 13e7a6c1cc waitpid: add WSTOPPED and WCONTINUED to KNOWN_FLAGS 2024-05-22 09:45:42 -03:00
Matheus 0d58b93e5d console: fix generation of control characters 2024-05-22 09:45:20 -03:00
Matheus 7e099fd0a5 jobctl: fix group refcounting 2024-05-22 09:45:00 -03:00
Matheus b61d391778 scheduler: hold reference on sched_getprocfrompid 2024-05-22 09:44:11 -03:00
Matheus a9b5451787 distro files: add grep alias o /etc/profile and add remove isig from termios on startwm 2024-05-22 09:41:58 -03:00
Matheus 3587dfa28e jobctl/tty: foreground/background and send sighup on unregister 2024-05-21 17:48:41 -03:00
Matheus 0b01bd5e9d jobctl: fix linked list 2024-05-21 17:47:41 -03:00
Matheus ed18580caa remove PTYs and signals from goals \o/ 2024-05-18 13:26:39 -03:00
Matheus 4dd74207a5 execve: fix shebang argument 2024-05-18 13:26:15 -03:00
Matheus 15c835dacc pipefs: throw SIGPIPE 2024-05-18 12:17:19 -03:00
Matheus 7ff10acac7 execve: shebang support 2024-05-18 12:11:39 -03:00
Matheus 38edd2fbb7 mlibc port: getentropy 2024-05-17 19:38:55 -03:00
Matheus b2644df9c2 sigreturn fix 2024-05-17 19:19:37 -03:00
Matheus 1b63e9b436 signals: more general changes 2024-05-17 18:48:57 -03:00
Matheus 7b0cc4c51b initial signal implementation 2024-05-14 15:04:48 -03:00
Matheus 00c212fa8d ports: python 2024-05-12 14:16:23 -03:00
Matheus 6f37034ed0 initrd: fix prefixes 2024-05-12 13:56:45 -03:00
Matheus efecdade64 waitpid: fix use after free 2024-05-09 13:06:51 -03:00
Matheus cab7901825 fork syscall: fix first thread not being set in threads array 2024-05-08 21:23:16 -03:00
Matheus 6087a20d81 pmm and slab: switch from spinlocks to mutexes 2024-05-08 21:07:42 -03:00
Matheus ce3fad266b syscalls: implement O_CLOEXEC properly 2024-05-08 20:57:52 -03:00
Matheus c894352bc8 file: handle O_NOCTTY in fileflagstovnodeflags 2024-05-08 20:18:10 -03:00
Matheus bf841406d5 semaphore: signal safety 2024-05-08 20:13:12 -03:00
Matheus 0910232b56 interrupt: do userspace check on interrupt return to userspace 2024-05-08 19:22:37 -03:00
Matheus 52dfd2d499 nvme: set as bus master 2024-05-08 19:22:17 -03:00
Matheus 9a92a99790 ports: gzip 2024-05-08 15:59:53 -03:00
Matheus ae47efa87d pty: handle tty ioctl 2024-05-08 15:59:40 -03:00
Matheus 09e36bdd4e file: fix dup 2024-05-08 15:58:30 -03:00
Matheus c7eaddd7c1 mlibc: bump version 2024-05-08 09:35:04 -03:00
Matheus a646af8df8 README: update build deps 2024-05-07 21:54:44 -03:00
Matheus a2c7db6561 init: withx option 2024-05-07 21:54:12 -03:00
Matheus 91be53dec8 tty: don't echo tab 2024-05-07 21:21:31 -03:00
Matheus e87dd1a1de distro-files: startwm script 2024-05-07 21:21:03 -03:00
Matheus 834e9bb54d fvwm: set background 2024-05-07 20:36:47 -03:00
Matheus eea29ccf17 mlibc sysdeps: rewrite a chunk of pselect to be faster 2024-05-07 19:39:06 -03:00