Commit Graph

275 Commits

Author SHA1 Message Date
Matheus 31c7cf881c signal: add signal_returnmask and other fixes 2024-09-12 22:08:57 -03:00
Matheus cf3e58ffe1 elf: switch first and last page protection 2024-09-12 20:53:41 -03:00
Matheus 3c924116ee timer: fix overflow bug 2024-09-12 20:21:06 -03:00
Matheus 6e1343d5cc sleep: fix errno and check if remaining is null 2024-09-12 20:19:30 -03:00
Matheus 9cb9e7b5d6 signal: remove debug print 2024-09-09 23:54:13 -03:00
Matheus 57b6d7c1a1 signal: fix sigaltstack 2024-09-09 23:43:51 -03:00
Matheus c086b9625a scheduler: fix issue with threads being lost 2024-09-09 21:24:02 -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 b1fff0e09f signal: fix bug 2024-09-08 18:52:34 -03:00
Matheus 9afe726bd7 syscalls: sigtimedwait 2024-09-08 15:42:08 -03:00
Matheus 909ef74597 signals: signal_wait 2024-09-08 15:41:54 -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 3ec2d2f5f1 auth: network 2024-08-30 23:00:11 -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 394e416d2b signal: change stack alignment 2024-08-29 23:14:40 -03:00
Matheus 5cc76c5e55 cred: fix setres{g,u}id 2024-08-29 22:48:58 -03:00
Matheus 066b89c40a sockets: MSG_WAITALL support 2024-08-29 22:48:35 -03:00
Matheus fc09d39895 jobctl: allow tty stealing 2024-08-28 20:26:43 -03:00
Matheus 62d0cd1706 auth: AUTH_ACTIONS_FILESYSTEM_RENAME 2024-08-27 22:20:22 -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 84c47f07c9 auth: signals 2024-08-26 17:45:05 -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 193f5b49b9 mount: call into auth 2024-08-24 22:56:22 -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 357f5c65cf vfs: access check on vfs_lookup 2024-08-24 20:21:42 -03:00
Matheus 4d51507953 auth: initial implementation + some filesystem checks 2024-08-24 20:01:01 -03:00