Commit Graph

411 Commits

Author SHA1 Message Date
Matheus 1a557b7a20 localsocket: implement SOCK_SEQPACKET and a bunch of SCM_RIGHTS fixes 2026-06-04 23:19:01 -03:00
Matheus 59e4cc9fbf futex: misc fixes 2026-06-04 11:38:49 -03:00
Matheus 2f27f20b1a poll: fix ppoll signal masking 2026-06-03 20:07:50 -03:00
Matheus 9eb54353a1 stat: fix use of unitialized memory 2026-05-31 21:25:34 -03:00
Matheus 8a94de445f sendmsg: support MSG_DONTWAIT 2026-05-30 12:45:28 -03:00
Matheus ef8c346940 scheduler: reduce quantum to 10ms 2026-05-28 23:58:34 -03:00
Matheus 762552ed5f syscalls: setpriority 2026-05-28 23:52:07 -03:00
Matheus d867dc0ad5 waitpid: fix deadlock 2026-05-23 16:57:22 -03:00
Matheus f1d4ee7e5d fchownat: fix possible privilege escalation 2026-05-13 23:50:10 -03:00
Matheus a02c7cb731 open: fix flags bug 2026-05-13 23:50:10 -03:00
Matheus 5cfc6cf782 mknodat: add auth check for device nodes 2026-05-13 23:50:09 -03:00
Matheus 42cec91cb9 syscalls: misc vulnerability fixes 2026-04-28 21:27:51 -03:00
Matheus 37c3d7f98b sigreturn: fix use of user pointer in arch_extracontext_copy 2026-04-28 21:14:36 -03:00
Matheus 4af4c3e26e pread/pwrite: fix vulnerability 2026-04-28 18:52:49 -03:00
iretq 6086393571 abi: move CLOCK_* defines to abi.h 2026-04-25 00:55:44 -03:00
Matheus 7f94276b0b faccessat: fix use of unitialized variable 2026-04-23 23:07:16 -03:00
Matheus 6678472362 futex: statically define table and mutex 2026-04-23 15:31:05 -03:00
Matheus 71dd6d1125 x86-64: enable smep and smap 2026-04-23 15:29:43 -03:00
Matheus a15b034aa8 syscalls: implement clock_getres 2026-04-23 12:10:26 -03:00
Matheus 8b41077128 socketpair: support flags 2026-04-23 12:09:55 -03:00
Matheus 90a420d8bb prof: add user/kernel statistics 2026-04-22 19:44:08 -03:00
Matheus 3dfb6b5a8c waitpid: use event instead of busy loop when waiting for threads to die 2026-04-16 22:41:43 -03:00
Matheus 57119aebdc setitimer: fix invalid pointer access 2026-04-16 18:48:25 -03:00
Matheus 452c95c577 open: fix possible use of unitialized variable 2026-04-16 18:35:39 -03:00
Matheus a9d874c32d sigreturn: add bad behavior checks and mask flags 2026-04-16 17:59:57 -03:00
Matheus 41ed077298 waitpid: use events instead of semaphores 2026-04-15 16:59:37 -03:00
Matheus 0f69e2bf2e waitpid: support for process group waits 2026-04-14 21:45:48 -03:00
Matheus baf91b8d86 waitpid: stub pid 0 2026-04-11 22:04:33 -03:00
Matheus 6877f741ed proc: add init and intconsole args; set TERM env on init 2026-04-11 22:03:55 -03:00
Matheus c5ecdfbdd1 futex: validate pointers 2026-04-06 17:47:23 -03:00
Matheus ad127fe0d0 mmap: validate hint 2026-04-06 17:44:06 -03:00
Matheus ea8da40128 syscalls: getsockopt 2026-04-01 17:22:22 -03:00
Matheus d20c86f70d setsockopt: refactor 2026-04-01 17:20:11 -03:00
Matheus e34e9e4881 syscalls/shutdown: add argument validity check 2026-04-01 17:03:30 -03:00
Matheus e294f9814c poll: add check for nfds 2026-04-01 16:51:12 -03:00
Matheus 774ae10e99 kernel: update limine to 11 and use base revision 6 2026-04-01 16:45:42 -03:00
Matheus f8694029ab syscalls: statvfs 2026-03-20 21:28:59 -03:00
Matheus d0bb48c162 sigreturn: disable interrupts before switch 2026-03-20 21:25:03 -03:00
Matheus 0d941fd8f0 proc: fix zombie parent set 2026-03-20 21:24:31 -03:00
Matheus 41f97c6c61 kernel: ldt support 2026-03-20 21:23:59 -03:00
Matheus c2c29d6e9c kernel: change base load addresses of pie elves and mmap 2026-03-08 14:47:52 -03:00
Matheus 5b44d3557a kernel: add yield syscall 2026-03-08 14:47:18 -03:00
iretq 99d3374fc0 dpc: add dpc_prepare 2026-03-04 03:26:06 +01:00
Matheus bcfc1e47a8 timekeeper: fix cpu id print 2026-02-24 00:29:57 -03:00
Matheus b3d5bf5586 vmm: some work towards page locking 2026-02-12 16:25:35 -03:00
iretq 963d29fc90 syscall log: support for selective syscall tracing 2025-12-30 17:06:02 -03:00
Matheus 91e2430d91 munmap: fix check 2025-12-29 09:51:02 -03:00
Matheus 29641e50f8 timer: fix bug 2025-12-28 22:57:29 -03:00
Matheus 699b93a08f signal: fix debug code pushed 2025-12-28 21:20:39 -03:00
Matheus c3ce577091 signal: fix deadlock 2025-12-28 21:18:51 -03:00