Commit Graph

239 Commits

Author SHA1 Message Date
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
Matheus 1d957dab03 fcntl: handle F_DUPFD_CLOEXEC 2025-10-04 21:48:23 -03:00
Matheus 74836fd60c kill: change null signal handling 2025-09-14 15:58:56 -03:00
Matheus 0933d49b8d socket syscall: handle SOCK_CLOEXEC and SOCK_NONBLOCK 2025-09-14 15:32:40 -03:00
Matheus a599c7f95e syscalls: getcpu 2025-09-12 23:03:30 -03:00
Matheus b6e76f3d1f vfs: advisory locking + flock syscall 2025-09-12 00:34:49 -03:00
Matheus 80786cf97a kernel_args: redo implementation 2025-09-07 23:09:34 -03:00
Matheus 2fa040096c slab: rewrite slab allocator 2025-09-04 22:55:19 -03:00
Matheus 1787658989 nice: add auth handling 2025-08-21 20:53:05 -03:00
Matheus dbebef0e03 scheduler: implement nice 2025-08-21 18:46:58 -03:00
Matheus 136c86354c scheduler: continue rework 2025-08-20 22:00:25 -03:00
Matheus 5098c09f26 scheduler: begin rework 2025-08-19 00:44:14 -03:00
Matheus 938612e82e spinlock: rename functions 2025-08-15 22:54:28 -03:00
Matheus 0358d37820 open syscall: fix error 2025-02-17 13:08:38 -03:00
Matheus 065711df33 more changes 2025-02-16 00:05:59 -03:00
Matheus 973bba5e49 fix shutdown 2025-02-08 20:26:16 -03:00
Matheus ab26020935 mmap: support MAP_FIXED_NOREPLACE 2025-02-08 20:25:28 -03:00
Matheus ec30337ce0 syscalls: fix ftruncate 2025-02-08 20:24:53 -03:00
Matheus 73929bfd57 localsocket: fix cmsg 2025-02-08 20:23:02 -03:00
Qwinci 19789ad043 seek: take offset into account with SEEK_END 2025-01-13 16:28:21 +02:00
Qwinci 881f225b58 mmap: allow MAP_NORESERVE 2025-01-13 16:28:21 +02:00
Qwinci 589ff4f476 fcntl: stub F_SETLK/F_SETWLK 2025-01-13 16:28:21 +02:00
Qwinci 7a7ee89017 clockget: support CLOCK_MONOTONIC 2025-01-13 16:28:21 +02:00