Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-14 | reorganization: first steps | dzwdz | |
2023-07-19 | user /keyboard: handle open()s instantly even if waiting for kb | dzwdz | |
fixes e.g. `echo */*` in dash | |||
2023-06-11 | kernel: replace await with wait2, roughly compatible with POSIX | dzwdz | |
dash works now :^))) | |||
2023-06-10 | kernel: implement DUP_SEARCH (like unix's F_DUPFD) | dzwdz | |
2023-06-10 | kernel: implement getpid, getppid | dzwdz | |
2023-06-09 | ports/dash: stub out everything needed for dash to compile | dzwdz | |
2023-06-04 | kernel: rework /proc/ and process IDs | dzwdz | |
I'm yet to write proper docs but the TL;DR is: Mounting /proc/ creates a new pid namespace. You're still visible in the old namespace with your old pid, but your children won't be. You see your own pid as 1. Current pids of children will be preserved, pids will be allocated starting from the highest one of your children. | |||
2023-02-23 | build: don't -Isrc/ in user code | dzwdz | |
2023-02-23 | fix: printf related warnings | dzwdz | |
2023-01-25 | style: typedef structs, shorter namespaces | dzwdz | |
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing. | |||
2023-01-19 | kernel: user interrupts | dzwdz | |
2023-01-11 | kernel: return EPIPE when fs_waiting on a dead filesystem | dzwdz | |
2023-01-08 | kernel: let parents kill their children again | dzwdz | |
2023-01-08 | kernel: remove the leftover _syscall_procfs | dzwdz | |
2023-01-06 | kernel: basic procfs | dzwdz | |
2023-01-06 | kernel: turn the NULLFS into an always present special handle | dzwdz | |
preparing for HANDLE_PROCFS | |||
2022-12-27 | fsutil: don't set the offset to 0 when length == 0 | dzwdz | |
2022-10-19 | shared/printf: implement %p | dzwdz | |
2022-10-02 | syscall/open: add the full suite of READ/WRITE flags | dzwdz | |
2022-09-21 | user/lib: ufs_wait | dzwdz | |
2022-09-20 | shared: rename ufs_request to better fit its role in userland | dzwdz | |
The old name could have suggested that it held a response to a request received by fs_wait. The new name is unfortunately very similar to the `struct vfs_request` already used internally in the kernel, but it's better at conveying that it contains a filesystem request yet to be handled. vfs_request - virtual filesystem request (a bad name in hindsight) ufs_request - user filesystem request | |||
2022-09-15 | shared/printf: string precision | dzwdz | |
2022-09-15 | shared/printf: properly implement number precision | dzwdz | |
2022-09-03 | user/libc: generate strerror from camellia/errno.h | dzwdz | |
2022-09-02 | user/ports: bare minimum to run doomgeneric | dzwdz | |
2022-09-02 | kernel/proc: introduce child ids for telling children apart | dzwdz | |
2022-08-29 | shared/printf: handle the %l and %ll length modifiers | dzwdz | |
2022-08-28 | shared/path_simplify: return an unsigned value | dzwdz | |
2022-08-26 | user/libc: prepare for OpenED port | dzwdz | |
2022-08-26 | shared: memmove | dzwdz | |
2022-08-23 | user/netstack: TCP recv | dzwdz | |
2022-08-23 | shared/ring: rename ring_size to ring_used, add ring_avail | dzwdz | |
2022-08-23 | user/netstack: TCP listen and close | dzwdz | |
2022-08-22 | user/netstack: ARP cache | dzwdz | |
2022-08-22 | syscalls/fs_respond: make the *buf argument const | dzwdz | |
2022-08-19 | include: make camellia/syscalls.h compatible with assembly | dzwdz | |
2022-08-19 | syscall/fs_wait: return a handle for each request | dzwdz | |
2022-08-19 | syscall/fork: allow sharing handles between threads | dzwdz | |
2022-08-19 | kernel/proc: abstract away managing handles | dzwdz | |
2022-08-18 | syscall/fork: FORK_SHAREMEM for primitive "threads" | dzwdz | |
2022-08-12 | vfs: OPEN_RO flag, read-only whitelist entries | dzwdz | |
2022-08-11 | shared/header: don't mix kinds of declarations between headers | dzwdz | |
syscalls.h shouldn't define a random struct etc | |||
2022-08-11 | vfs: support for removing files | dzwdz | |
2022-08-08 | user/libc: cwd | dzwdz | |
2022-08-07 | user/libc: preparation for dlmalloc port | dzwdz | |
2022-08-06 | shared assert.h | dzwdz | |
2022-08-06 | make snprintf shared; dynamic resolution support | dzwdz | |
2022-08-05 | shared/mem: 64bit memcpy/memset | dzwdz | |
/bin/tests with test_sleep disabled now runs almost 2x as fast | |||
2022-08-05 | add _syscall_getsize | dzwdz | |
2022-08-05 | shared/printf: implement %d | dzwdz | |