summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-25kernel: remove accidental executable bit on proc.cdzwdz
how.
2023-01-25style: typedef structs, shorter namespacesdzwdz
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-25user: process titles, /bin/psdzwdz
2023-01-25kernel/virt: replace the virt_cpy api with a more foolproof onedzwdz
2023-01-24kernel/procfs: prevent reading kernel memorydzwdz
knew it
2023-01-24kernel/procfs: allow reading memory of descendantsdzwdz
I'm suprised how short this patch is. It also feels like I've introducted a vulnerability somewhere with it. Hopefully it's a false feeling.
2023-01-24kernel/procfs: allow interrupting processesdzwdz
2023-01-24kern/driver/ps2: remove unused functiondzwdz
2023-01-19kernel: user interruptsdzwdz
2023-01-19kernel: delay freeing reaped processes, slightly more strict statesdzwdz
2023-01-18kernel: add a root argument to process_nextdzwdz
2023-01-11kernel: return EPIPE when fs_waiting on a dead filesystemdzwdz
2023-01-08kernel: let parents kill their children againdzwdz
2023-01-08user/tests: fix fucked fs testdzwdz
2023-01-08kernel: remove the leftover _syscall_procfsdzwdz
2023-01-08kernel/proc: don't kill children when parent diesdzwdz
2023-01-06kernel: basic procfsdzwdz
2023-01-06kernel: turn the NULLFS into an always present special handledzwdz
preparing for HANDLE_PROCFS
2022-12-28user/ext2fs: creating new filesdzwdz
2022-12-27user/termcook: ignore arrows/tabdzwdz
2022-12-27sh: minor usability / aesthetic improvementsdzwdz
2022-12-27libc/elfload: don't override cwddzwdz
2022-12-27libc: fix strncmpdzwdz
2022-12-27user/ext2fs: partial write supportdzwdz
2022-12-27amd64/ata: poll properlydzwdz
2022-12-27fsutil: don't set the offset to 0 when length == 0dzwdz
2022-12-26amd64/ata: write supportdzwdz
2022-12-26amd64/ata: refactor the ATA driverdzwdz
2022-12-26user/tmpfs: general code cleanupdzwdz
2022-12-25user/lib: reorganize a few header filesdzwdz
2022-12-24user/ext2fs: basic ext2 read supportdzwdz
2022-11-21user/init: sandbox driversdzwdz
2022-10-19shared/printf: implement %pdzwdz
2022-10-19user/logfs: a simple demo of the fs apidzwdz
2022-10-19user/libc: BSD err.h, getprogname()dzwdz
2022-10-18user/libc: rework exec(), use a C _start2dzwdz
2022-10-18user/tests: more info when a test crashesdzwdz
2022-10-08kernel/handle: reuse ->writeable/->readable for pipesdzwdz
2022-10-08syscall/open: don't check for free handlesdzwdz
doesn't really prevent anything, and makes it harder to test edge cases
2022-10-08tests: some tests for when a process has no free handlesdzwdz
2022-10-04user/libc: camellia_open, takes cwd into accountdzwdz
2022-10-02syscall/open: add the full suite of READ/WRITE flagsdzwdz
2022-10-02fix gdb supportdzwdz
2022-10-02user/libc: rework fs_whitelist; fix minor bugsdzwdz
2022-09-21user/lib: ufs_waitdzwdz
2022-09-21user/login: stop using c0_fs_*, use forward_opendzwdz
2022-09-20shared: rename ufs_request to better fit its role in userlanddzwdz
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-20user: s/fs_delegate/forward_opendzwdz
2022-09-20user/login: segcmpdzwdz
2022-09-15user/tmpfs: fix buffer overflowdzwdz