Commit Graph

1177 Commits

Author SHA1 Message Date
Matheus f46d85fe6d socket: fix close shutdown properly 2026-07-07 16:49:45 -03:00
Matheus 196698c059 file: call shutdown on socket close 2026-07-07 14:38:58 -03:00
Matheus 5ea6c5423f localsocket: properly handle shutdown 2026-07-07 14:38:40 -03:00
Matheus c05163f191 socket: zero addresses on accept/recv by default 2026-07-07 11:24:44 -03:00
Matheus cceac09b02 localsocket: do not wait for connect to complete
this matches linux behaviour, where connect() instantly returns and only really happens on a POLLOUT/send()
2026-07-07 02:36:14 -03:00
Matheus c75617a6e2 localsocket: implement SO_RCVTIMEO and SO_SNDTIMEO 2026-07-07 02:17:26 -03:00
Matheus c25807d976 localsocket: EPIPE on read shutdown 2026-07-07 01:21:13 -03:00
Matheus 5414393872 localsocket: do not hold socket mutex while sleeping 2026-07-07 01:17:48 -03:00
Matheus bf03d99211 getsockname: remove print 2026-07-07 01:14:49 -03:00
Matheus cb3dfa45af ext2: don't sync superblock on every allocation 2026-07-05 16:17:37 -03:00
Matheus 6ab3de6abd localsocket: properly return peername 2026-07-05 16:17:07 -03:00
Matheus ab116e4af8 localsocket: properly copy bindpath to new sockets from accept() 2026-07-05 16:16:47 -03:00
Matheus 7f8fd07f39 sock: sock_copy_addr_to_user 2026-07-05 16:16:05 -03:00
Matheus 4699055cee kernel: remove unused header 2026-07-02 21:49:41 -03:00
Matheus 30cdfbb63c mm: more page pinning work 2026-07-01 21:25:27 -03:00
Matheus bec7abc91a mm: refactor mm.c to use snake_case 2026-07-01 15:13:30 -03:00
Matheus 239c267ed3 mm: rename vmm api to mm 2026-07-01 15:00:46 -03:00
Matheus c650036cfe mm: better range.c variable names 2026-07-01 13:36:49 -03:00
Matheus 48a4c1c8e8 mm: split range.c from vmm.c 2026-07-01 13:31:30 -03:00
Matheus 9c5854d645 mm: refactor cache.c to snake case 2026-07-01 12:38:15 -03:00
Matheus d890eb5fb2 mm: vmmcache -> mm_cache 2026-07-01 12:25:18 -03:00
Matheus 4d1caa6ede mm: refactor page.c related names to snake case 2026-07-01 12:06:30 -03:00
Matheus 6f8700e678 mm: refactor pmm -> page 2026-07-01 11:56:06 -03:00
Matheus 6a9fee0b41 proc: fix event loop while waiting 2026-06-30 18:43:56 -03:00
Matheus 7c19244208 signal: fix possible context corruption 2026-06-30 17:37:23 -03:00
Matheus 99701d2fb9 sched: fix bsp getting higher priority than target during bringup 2026-06-30 17:35:29 -03:00
Matheus 17334c8533 advlock: general fixes 2026-06-29 11:33:03 -03:00
Matheus eb798d24b4 scheduler: copy arguments in checktrampoline to prevent a race 2026-06-29 02:13:37 -03:00
Matheus 9592b74355 console: don't accept new input events if locked 2026-06-29 01:29:10 -03:00
Matheus 09d7f8cd1d sysctl: console_lock sysctl 2026-06-29 00:49:11 -03:00
Matheus b186bf333d proc: unlock console on exit if locked by the dying process 2026-06-29 00:46:51 -03:00
Matheus e4d3649a15 console: locking and tty check 2026-06-29 00:45:47 -03:00
Matheus 73d60efd53 jobctl: jobctl_getsession 2026-06-29 00:45:11 -03:00
Matheus f8752e7fac pty: fix UAF 2026-06-28 21:51:40 -03:00
Matheus cf954e7f15 tcp: fix possible null dereference 2026-06-28 12:24:18 -03:00
Matheus 85e12f7e7b stat: fit AT_EMPTY_PATH 2026-06-28 11:45:17 -03:00
Matheus b74f36e984 kernel: implement eventfs/eventfd 2026-06-18 01:53:59 -03:00
Matheus 9194741bd8 signal: fix signal_suspend and restoring signal mask 2026-06-17 23:16:23 -03:00
Matheus 29bae6bda1 fcntl: stub F_GETLK64 2026-06-17 23:11:13 -03:00
Matheus 4b9ace6d02 syscall: fix signal returns from syscall 2026-06-17 22:40:51 -03:00
Matheus 4244a2f3ae tcp: fix WAIT_ALL path 2026-06-17 01:15:42 -03:00
Matheus 01e677d385 file: fix resizing 2026-06-16 21:05:28 -03:00
Matheus 4cbc9ddfb9 fcntl: bug fixes 2026-06-16 21:03:22 -03:00
Matheus 00f37d5228 localsocket: fix backlog implementation 2026-06-15 22:37:25 -03:00
Matheus 6eaa3223d1 scheduler: pick cpus properly in pick_cpu when system is not fully up yet 2026-06-15 22:37:25 -03:00
Matheus 9f9bc3151e localsocket: increase max file/barrier count 2026-06-15 17:06:29 -03:00
Matheus 3f78b4ec13 sock: fix ctrl count 2026-06-09 18:03:13 -03:00
Matheus 659b29ef4e syscalls: implement sysctl and add process listing 2026-06-09 17:47:27 -03:00
Matheus 1a557b7a20 localsocket: implement SOCK_SEQPACKET and a bunch of SCM_RIGHTS fixes 2026-06-04 23:19:01 -03:00
Matheus 03559bb6b2 localsocket: handle POLLIN on hang up properly 2026-06-04 15:00:02 -03:00