Commit Graph

407 Commits

Author SHA1 Message Date
Matheus f05eb36cfd kernel: remove already done TODOs 2024-06-16 12:48:16 -03:00
Matheus 5b6d15a06c fs: return device filesystem is mounted on 2024-06-16 12:32:32 -03:00
Matheus e4ec9311e2 syscalls: pause 2024-06-14 17:05:31 -03:00
Matheus 98c5963893 accept: return address 2024-06-12 19:09:03 -03:00
Matheus d461ad1a0b file: fd_(set/get)flags() 2024-06-12 18:54:55 -03:00
Matheus 34596bb5e9 sock: fix abisockaddr type not being returned 2024-06-10 23:01:19 -03:00
Matheus c21227c42b poll: fix not returning EINTR on signal 2024-06-10 17:50:56 -03:00
Matheus f7b761e883 net: SOCKET_SEND_FLAGS_NOSIGNAL 2024-06-10 17:32:41 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus f9c5a696c7 signal: fix lock ordering issue 2024-06-08 14:03:41 -03:00
Matheus b607ca7f4b syscalls: chroot getpeername getsockname socketpair 2024-06-04 22:45:04 -03:00
Matheus b230d58a3f socket: getname, getpeername, setopt 2024-06-04 22:44:37 -03:00
Matheus 7cad8f53f2 tcp: initial implementation 2024-06-03 22:02:58 -03:00
Matheus 40d8a05062 sock: MSG_PEEK and other fixes 2024-06-03 21:53:46 -03:00
Matheus 9260c8cb96 scheduler: use a linked list for threads in a process instead of a table 2024-05-29 12:55:10 -03:00
Matheus 5f7791cd08 syscalls: fchdir, setitimer, getitimer 2024-05-29 11:14:07 -03:00
Matheus c81bdac897 signals: handle SIGBUS, SIGSEGV, SIGILL etc 2024-05-29 11:06:15 -03:00
Matheus f434a4d341 timer: return remaining microseconds on timer_remove 2024-05-29 10:59:28 -03:00
Matheus b28e556a81 scheduler: interrupt thing fix 2024-05-28 17:47:06 -03:00
Matheus 0030a0b21b vfs: make setattr take in which attributes to change 2024-05-27 23:05:57 -03:00
Matheus d2527bee92 context changes and scheduler userspace check fix 2024-05-27 22:00:59 -03:00
Matheus 24e8f648bb open syscall: O_EXCL support 2024-05-27 21:55:04 -03:00
Matheus e66217ada1 timer: fix missing fired set 2024-05-27 21:54:37 -03:00
Matheus 7a27157d75 scheduler: fix concurrency issues 2024-05-26 20:52:45 -03:00
Matheus 1dba3534c4 signal: check for parent when sending SIGCHLD 2024-05-26 20:50:32 -03:00
Matheus 890f6ba3ac dpc: fix smp 2024-05-26 17:18:41 -03:00
Matheus b9071fe59e syscalls: fsync 2024-05-25 12:04:29 -03:00
Matheus 642e245522 syscalls: sync 2024-05-24 22:01:11 -03:00
Matheus 48b7fb4324 vmmcache: initial implementation 2024-05-24 18:03:24 -03:00
Matheus 78492d4b56 handle /etc/hostname, sethostname(2), gethostname(2) and uname(2) 2024-05-22 21:09:17 -03:00
Matheus 71a38176d1 fix jobctl /dev/tty stuff 2024-05-22 19:23:37 -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 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 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 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 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 4dd74207a5 execve: fix shebang argument 2024-05-18 13:26:15 -03:00
Matheus 7ff10acac7 execve: shebang support 2024-05-18 12:11:39 -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 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 ce3fad266b syscalls: implement O_CLOEXEC properly 2024-05-08 20:57:52 -03:00