Commit Graph

290 Commits

Author SHA1 Message Date
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 a56bfd2134 scheduler: sched_reschedule_on_cpu 2024-09-17 23:23:11 -03:00
Matheus 749f945205 scheduler: slightly redo how the preemption dpc is enqueued and add a skeleton for a rescheduling ipi 2024-09-17 22:29:06 -03:00
Matheus 0fd089e79b print: add mutex for smp 2024-09-16 21:37:29 -03:00
Matheus a30f8ce5d9 interrupt: change panic message and fix id issue 2024-09-16 17:11:39 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 56d665d5a0 kernel: fix remaining _cpu() races 2024-09-15 18:39:59 -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 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