summaryrefslogtreecommitdiff
path: root/src/user/app
AgeCommit message (Collapse)Author
2023-06-04user/vterm: vendor a font (spleen) instead of downloading one on builddzwdz
2023-06-04kernel: rework /proc/ and process IDsdzwdz
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-25user/ext2fs: don't treat EOF as an errordzwdz
2023-02-24toolchain: partially set up the sysrootdzwdz
2023-02-23build: don't -Isrc/ in user codedzwdz
2023-02-23fix: misc warningsdzwdz
2023-02-23fix: printf related warningsdzwdz
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: 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-19kernel: user interruptsdzwdz
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-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: fix strncmpdzwdz
2022-12-27user/ext2fs: partial write supportdzwdz
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/tests: more info when a test crashesdzwdz
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-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
2022-09-15shared/printf: string precisiondzwdz
2022-09-15shared/printf: properly implement number precisiondzwdz
2022-09-04user/netstack: make the verb the first component of the pathdzwdz
This makes filtering by the verb much easier, while filtering by the local ip only slightly harder. `whitelist /net/connect`
2022-09-04user/tests: make all tests automaticdzwdz
2022-09-04user/shell: use perrordzwdz
2022-09-03user/whitelist: when a command isn't given, default to a shelldzwdz
2022-09-03user: implement a basic mkdirdzwdz
2022-09-02user/init: don't shutdown when a fs driver quitsdzwdz
2022-09-02kernel/proc: introduce child ids for telling children apartdzwdz
2022-08-29user/termcook: make C-c kill the running processdzwdz
2022-08-29user/libc: setjmpdzwdz