summaryrefslogtreecommitdiff
path: root/src/user/lib/syscall.c
AgeCommit message (Collapse)Author
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-19kernel: user interruptsdzwdz
2023-01-08kernel: let parents kill their children againdzwdz
2023-01-08kernel: remove the leftover _syscall_procfsdzwdz
2023-01-06kernel: basic procfsdzwdz
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-08-22syscalls/fs_respond: make the *buf argument constdzwdz
2022-08-19syscall/fs_wait: return a handle for each requestdzwdz
2022-08-11vfs: support for removing filesdzwdz
2022-08-05add _syscall_getsizedzwdz
2022-08-04syscalls: add _syscall_sleep()dzwdz
2022-07-29syscall: up the max argument count to 5; make write accept flagsdzwdz
2022-07-26shared: move some headers from shared/ to camellia/dzwdz
2022-07-18syscalls: implement execbufdzwdz
i have been planning to implement something like this for a while now. it should be faster when doing consecutive syscalls (to be tested). it will also be helpful in writing the elf loader
2022-07-16amd64: back at the shell!dzwdz
2022-07-11user: reorganize the userland sourcesdzwdz