summaryrefslogtreecommitdiff
path: root/src/user/lib
AgeCommit message (Collapse)Author
2023-02-24toolchain: partially set up the sysrootdzwdz
2023-02-23build: don't -Isrc/ in user codedzwdz
2023-02-23toolchain: update, move to a Camellia-specific toolchaindzwdz
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-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-08kernel: remove the leftover _syscall_procfsdzwdz
2023-01-06kernel: basic procfsdzwdz
2022-12-27sh: minor usability / aesthetic improvementsdzwdz
2022-12-27libc/elfload: don't override cwddzwdz
2022-12-27libc: fix strncmpdzwdz
2022-12-25user/lib: reorganize a few header filesdzwdz
2022-10-19shared/printf: implement %pdzwdz
2022-10-19user/libc: BSD err.h, getprogname()dzwdz
2022-10-18user/libc: rework exec(), use a C _start2dzwdz
2022-10-04user/libc: camellia_open, takes cwd into accountdzwdz
2022-10-02syscall/open: add the full suite of READ/WRITE flagsdzwdz
2022-10-02user/libc: rework fs_whitelist; fix minor bugsdzwdz
2022-09-21user/lib: ufs_waitdzwdz
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-03user/libc: generate strerror from camellia/errno.hdzwdz
2022-09-03user: implement a basic mkdirdzwdz
2022-09-02user/ports: bare minimum to run doomgenericdzwdz
2022-08-29user/libc: setjmpdzwdz
2022-08-29user/lua: implement the bare minimum for it to link and "run"dzwdz
2022-08-28user/lua: prepare libc headersdzwdz
2022-08-28user/fs: implement fs_delegate, badlydzwdz
2022-08-28shared/path_simplify: return an unsigned valuedzwdz
2022-08-28user/libc: unlink()dzwdz
2022-08-27user/fs_whitelist: stop :ro from affecting unrelated pathsdzwdz
2022-08-27user/elfload: fix argv corruption when it's passed from the stackdzwdz
2022-08-26user/libc: prepare for OpenED portdzwdz
2022-08-26user/libc: rename stdlib.c to unistd.c to match header namesdzwdz
2022-08-26shared: memmovedzwdz
2022-08-22syscalls/fs_respond: make the *buf argument constdzwdz
2022-08-22user/libc: strspn, strtokdzwdz
2022-08-20user/libc: don't access the old stack from the new thread at alldzwdz
2022-08-19include: make camellia/syscalls.h compatible with assemblydzwdz
2022-08-19syscall/fs_wait: return a handle for each requestdzwdz
2022-08-19syscall/fork: allow sharing handles between threadsdzwdz
2022-08-19user/libc: fextflags, add nonbuffering mode for freaddzwdz
useful for e.g. `hexdump -r /kdev/eth` to see packets as they come in
2022-08-18syscall/fork: FORK_SHAREMEM for primitive "threads"dzwdz
2022-08-14kernel/ata: "proper" read supportdzwdz
2022-08-14user/libc: port skeeto's getoptdzwdz
2022-08-14user/libc: ctype.hdzwdz
2022-08-12user/libc: getcwd() bounds checkingdzwdz
2022-08-12fix some minor warningsdzwdz