Commit Graph

261 Commits

Author SHA1 Message Date
Matheus 4cbc9ddfb9 fcntl: bug fixes 2026-06-16 21:03:22 -03:00
Matheus 659b29ef4e syscalls: implement sysctl and add process listing 2026-06-09 17:47:27 -03:00
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 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 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 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 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 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 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
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 a9dee251c9 tty: extra hang up checks 2025-12-25 20:20:34 -03:00
Matheus 57e4a39f53 syscalls: fix for os-test 2025-12-08 22:48:49 -03:00
monkuous d301ec6955 kernel: add xsave support 2025-11-15 23:20:05 +01:00
Matheus 3308a2a39b elf: handle AT_SECURE 2025-11-04 18:46:49 -03:00
Matheus 5d79c7840d syscalls: readv writev 2025-11-04 02:04:11 -03:00
Matheus e73ebf2252 syscalls/invalid: raise SIGSYS and print message on an invalid system call 2025-11-02 21:38:44 -03:00
Matheus 3b6b5363ad poll: rework timeout 2025-11-02 21:32:04 -03:00
Matheus c9d401f488 syscalls: sysinfo 2025-11-02 21:30:24 -03:00
Matheus 2d8a1b57dc print syscall: add pid and tid 2025-10-30 00:40:31 -03:00