Commit Graph

565 Commits

Author SHA1 Message Date
Matheus f82b07328a syscalls: ppoll 2024-06-19 21:56:26 -03:00
Matheus 984d74d327 ext2: atomic symlink 2024-06-19 21:11:05 -03:00
Matheus a0ac16bec5 vioblk: fix an issue with index numbers 2024-06-19 20:45:13 -03:00
Matheus 65664cbf4a pipefs: make it follow what posix demands about write atomicity 2024-06-19 20:43:57 -03:00
Matheus 9eba220859 getsockname: fix unsafe pointer dereference 2024-06-17 20:30:43 -03:00
Matheus eea9cab357 ipv4: ids 2024-06-17 19:27:51 -03:00
Matheus e45b1aa911 signal: use usercopy 2024-06-17 19:19:51 -03:00
Matheus 82480a5583 tcp: validate reset if in sequence window 2024-06-16 12:49:59 -03:00
Matheus 68624ad31b pmm: add assert against use after free 2024-06-16 12:48:41 -03:00
Matheus f05eb36cfd kernel: remove already done TODOs 2024-06-16 12:48:16 -03:00
Matheus 5b6d15a06c fs: return device filesystem is mounted on 2024-06-16 12:32:32 -03:00
Matheus a524d9b48b pmm: list tails and better standby page handling 2024-06-16 12:02:19 -03:00
Matheus e4ec9311e2 syscalls: pause 2024-06-14 17:05:31 -03:00
Matheus 98c5963893 accept: return address 2024-06-12 19:09:03 -03:00
Matheus d461ad1a0b file: fd_(set/get)flags() 2024-06-12 18:54:55 -03:00
Matheus 3e82c6a8f0 x86_64: make interrupt entry code smaller 2024-06-12 18:28:08 -03:00
Matheus 797f2c118a x86_64: properly set kernel data segments on syscall/interrupt entry 2024-06-12 18:22:30 -03:00
Matheus 34596bb5e9 sock: fix abisockaddr type not being returned 2024-06-10 23:01:19 -03:00
Matheus c21227c42b poll: fix not returning EINTR on signal 2024-06-10 17:50:56 -03:00
Matheus ffacb68c92 tty: fix timeout 2024-06-10 17:50:45 -03:00
Matheus f7b761e883 net: SOCKET_SEND_FLAGS_NOSIGNAL 2024-06-10 17:32:41 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus f9c5a696c7 signal: fix lock ordering issue 2024-06-08 14:03:41 -03:00
Matheus 13b142a91e vmm: fix destroyrange shared file unmapping 2024-06-08 14:03:27 -03:00
Matheus b607ca7f4b syscalls: chroot getpeername getsockname socketpair 2024-06-04 22:45:04 -03:00
Matheus b230d58a3f socket: getname, getpeername, setopt 2024-06-04 22:44:37 -03:00
Matheus 4707597018 tcp: fix poll 2024-06-03 22:46:08 -03:00
Matheus 71ae97addb poll: properly return POLLERR and POLLHUP 2024-06-03 22:03:09 -03:00
Matheus 7cad8f53f2 tcp: initial implementation 2024-06-03 22:02:58 -03:00
Matheus 7053ed68af netdev: freeing of netdescs 2024-06-03 21:55:52 -03:00
Matheus 4c0940828c ringbuffer: size and peek 2024-06-03 21:54:13 -03:00
Matheus 40d8a05062 sock: MSG_PEEK and other fixes 2024-06-03 21:53:46 -03:00
Matheus 7d95b6e00d fixes 2024-06-03 20:55:20 -03:00
Matheus b13b317172 fs: added some checks 2024-05-30 10:18:44 -03:00
Matheus ad756016b9 tmpfs: some more safety checks 2024-05-29 19:15:41 -03:00
Matheus 3093051a8b kernel: remove event_t as it suffered from a lost wakeup issue 2024-05-29 16:08:28 -03:00
Matheus 9260c8cb96 scheduler: use a linked list for threads in a process instead of a table 2024-05-29 12:55:10 -03:00
Matheus 5f7791cd08 syscalls: fchdir, setitimer, getitimer 2024-05-29 11:14:07 -03:00
Matheus 5b5d300fc1 ext2: zero the unread bytes of a page 2024-05-29 11:08:21 -03:00
Matheus 7a2dc92657 ipv4: fix hashing function 2024-05-29 11:06:28 -03:00
Matheus c81bdac897 signals: handle SIGBUS, SIGSEGV, SIGILL etc 2024-05-29 11:06:15 -03:00
Matheus f434a4d341 timer: return remaining microseconds on timer_remove 2024-05-29 10:59:28 -03:00
Matheus 35eca115f5 tty: add ttyname ioctl 2024-05-28 18:12:05 -03:00
Matheus b28e556a81 scheduler: interrupt thing fix 2024-05-28 17:47:06 -03:00
Matheus 0030a0b21b vfs: make setattr take in which attributes to change 2024-05-27 23:05:57 -03:00
Matheus 04d8431b32 cpu: better _cpu() function 2024-05-27 22:03:44 -03:00
Matheus 54c01081cc mmu: don't do an nmi 2024-05-27 22:02:45 -03:00
Matheus 24ff005f30 vioblk: fix possible lost wakeup 2024-05-27 22:02:32 -03:00
Matheus f29a4cc321 vmmcache: fix page address passed to pmm_release 2024-05-27 22:01:52 -03:00
Matheus 5562f078fa pmm: fix page cache takepage retry memory leak 2024-05-27 22:01:16 -03:00