Commit Graph

174 Commits

Author SHA1 Message Date
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
Matheus 24be70ac29 signals: fix sigset 2024-09-05 18:23:13 -03:00
Matheus 2e302a4d38 signal: way to signal all processes 2024-09-05 16:36:52 -03:00
Matheus c2e50547cc signal: do auth check 2024-09-05 16:24:18 -03:00
Matheus ee254a81e9 vfs: vfs_iscacheable 2024-09-04 21:33:59 -03:00
Matheus e75aab367d mmap: check if mapping a character device is actually possible 2024-09-03 18:41:56 -03:00
Matheus d81c2fdc9d waitpid: _WALL 2024-09-01 23:47:42 -03:00
Matheus 997fbc4e2e socket: handle control data, change recv and send arguments 2024-09-01 13:20:12 -03:00
Matheus 2f0b43822b syscalls: fix compilation 2024-08-31 20:29:45 -03:00
Matheus ca42167fe1 vfs: pass cred to ioctl 2024-08-30 22:53:57 -03:00
Matheus 0f18341674 kernel: vmm_changemmuflags cred check 2024-08-30 21:22:17 -03:00
Matheus 3c8308533a execve: keep ignored signals 2024-08-30 20:29:49 -03:00
Matheus bd98478b6c fchownat: remove setuid and setgid bits on a chown 2024-08-30 19:23:53 -03:00
Matheus 066b89c40a sockets: MSG_WAITALL support 2024-08-29 22:48:35 -03:00
Matheus ba6506b9d7 auth: filesystem unlink action check + add parent vnode to auth_filesystem_check 2024-08-27 21:46:33 -03:00
Matheus f55b51a06d vfs: finish new locking scheme 2024-08-27 21:02:12 -03:00
Matheus 0236ad663f syscalls: fix more deadlocks and issues 2024-08-26 22:40:06 -03:00
Matheus 42bda0bf92 vfs: redo locking 2024-08-26 21:47:23 -03:00
Matheus fdcda428f9 cred: setuid, setgid, seteuid, setegid and auth check 2024-08-25 16:08:06 -03:00
Matheus 87adc4d10a setpgid: check if pid is the current proc or a child 2024-08-25 12:51:10 -03:00
Matheus 12dd3dc089 mmap: check file permissions before allowing it to be mapped 2024-08-25 11:58:09 -03:00
Matheus 914e075397 localsock: check for file permissions 2024-08-25 11:29:55 -03:00
Matheus cb1cf8a31f utime: proper auth checks 2024-08-24 23:16:55 -03:00
Matheus 0e0471f8ee open: make file truncation require FILE_WRITE 2024-08-24 23:16:30 -03:00
Matheus 7afed7daee sethostname: do auth check 2024-08-24 22:34:26 -03:00
Matheus 807c27e7f5 getdent: make sure fd is readable 2024-08-24 22:33:58 -03:00
Matheus 4308317ea5 execve: SUID and SGID 2024-08-24 21:53:05 -03:00
Matheus cd51d4eaf0 auth: chroot 2024-08-24 21:52:44 -03:00
Matheus 4d51507953 auth: initial implementation + some filesystem checks 2024-08-24 20:01:01 -03:00
Matheus ad6fb43623 syscalls: mprotect 2024-08-21 21:34:26 -03:00
Matheus da9c40b054 cred: setting and getting ids 2024-08-16 20:02:12 -03:00
Matheus b6ed9c1bac syscalls: mknodat 2024-08-11 14:45:10 -03:00
Matheus f02a63473f pipefs: prepare pipefs_open for named pipe support 2024-08-11 12:25:17 -03:00
Matheus d310764085 vmm: VMM_FLAGS_REPLACE 2024-08-10 22:41:29 -03:00
Matheus 4a7ccc208c read/write syscalls: properly handle nbytes = 0 2024-07-30 20:30:55 -03:00
Matheus ed46c95d59 waitpid: remove unescessary lock 2024-07-30 20:30:35 -03:00
Matheus c3ab666f8d fchmod: fix missing fd_release 2024-07-11 00:07:24 -03:00
Matheus d8d39a288a syscalls: fix unsafe userspace dereference in getpeername 2024-06-27 22:44:45 -03:00
Matheus 7feed00dc7 waitpid: fix pid > 0 2024-06-26 21:08:38 -03:00
Matheus 9f48a87ae8 syscalls: pread and pwrite 2024-06-23 20:21:29 -03:00
Matheus 8bda483d64 fcntl: fix F_SETFD and F_GETFD 2024-06-22 19:28:43 -03:00
Matheus f82b07328a syscalls: ppoll 2024-06-19 21:56:26 -03:00