Commit Graph

215 Commits

Author SHA1 Message Date
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
Qwinci ae2f69d3b8 elf: add AT_EXECFN 2025-01-13 16:28:15 +02:00
Matheus 0ed09edb63 signal: return from ucontext context 2024-12-25 21:58:39 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus 0bff52b41e sched: finish preparing scheduler for rewrite 2024-09-21 23:06:37 -03:00
Matheus cc6477d46d proc: separate from sched 2024-09-21 22:43:16 -03:00
Matheus 710aae754e pread/pwrite: pass buffer directly 2024-09-21 17:48:02 -03:00
Matheus f1ee575ed1 vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec 2024-09-21 16:56:43 -03:00
Matheus fb2fa68752 sockets: use new iovec interface 2024-09-21 10:53:49 -03:00
Matheus 3868b667cb open: fix use of possibly null variable 2024-09-20 18:58:29 -03:00
Matheus 9015014804 recvmsg: fix return of ctrl length and flags 2024-09-19 17:24:34 -03:00
Matheus 0a7bd14049 read/write: dont copy to a buffer 2024-09-18 22:44:18 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus d5a4f2a4ad vmmcache: redo how vnode locking is expected 2024-09-18 18:03:07 -03:00
Matheus 0fd089e79b print: add mutex for smp 2024-09-16 21:37:29 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 32392573cc cpu: change all _cpu()->vmmctx to current_vmm_context 2024-09-15 18:07:05 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus 31c7cf881c signal: add signal_returnmask and other fixes 2024-09-12 22:08:57 -03:00
Matheus 6e1343d5cc sleep: fix errno and check if remaining is null 2024-09-12 20:19:30 -03:00
Matheus caec7d4daa sigsuspend: proper behaviour 2024-09-09 18:05:54 -03:00
Matheus 85cbdc05c1 syscalls: killthread 2024-09-09 18:03:49 -03:00
Matheus ca04805517 syscalls: sigpending 2024-09-08 23:14:18 -03:00
Matheus 9afe726bd7 syscalls: sigtimedwait 2024-09-08 15:42:08 -03:00
Matheus f012085496 syscalls: sigsuspend 2024-09-08 10:57:21 -03:00