Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-18 | merge `kernel/types.h` and `init/types.h` | dzwdz | |
2021-09-15 | fs_wait: pass the file ID too | dzwdz | |
2021-09-14 | merge the `syscall_handler` and `_syscall` declarations | dzwdz | |
i think that making the call a bit more "transparent" makes the code nicer | |||
2021-09-14 | add support for 4-parameter syscalls | dzwdz | |
2021-09-12 | simplify `fs_respond`'s signature | dzwdz | |
2021-09-12 | implement part of `fs_respond` | dzwdz | |
2021-09-12 | barebones `memflag()` implementation - letting the user allocate pages | dzwdz | |
2021-09-12 | implement most of fs_wait | dzwdz | |
awaited_req is a garbage name but i couldn't come up with a better one. i also have no idea how to handle all the failure states | |||
2021-09-11 | replace `user_ptr` with a linux-style `__user` annotation | dzwdz | |
2021-09-09 | basic _syscall_fs_wait() impl, doesn't pass the req yet | dzwdz | |
2021-09-07 | implement fs_create(), front/back fs handles | dzwdz | |
2021-09-05 | remove the fd_ / fs_ prefixes from syscall names | dzwdz | |
2021-09-04 | rename file descriptors to handles | dzwdz | |
2021-08-25 | change the signature of _syscall_fd_mount | dzwdz | |
2021-08-24 | switch to using user_ptr for pointers coming from userland | dzwdz | |
this avoid accidental dereferences, and now it's easy to tell apart which pointers are safe to directly read and which aren't. cons: - const is completely discarded | |||
2021-08-24 | replace () with (void) in function definitions | dzwdz | |
`()` means that any amt of arguments will be accepted, which isn't what i want | |||
2021-08-24 | move syscalls.h to shared/syscalls.h | dzwdz | |
2021-08-24 | remove _syscall_debug_log, as it's not needed anymore | dzwdz | |
2021-08-24 | add some scaffolding for file descriptors | dzwdz | |
2021-08-22 | fs_open() accepts a signed length, fixes an infinite loop | dzwdz | |
it occureed if the path_simplify returned a negative value - instead of being interpreter as an error it just carried on, ending up in an infinite loop. | |||
2021-08-22 | basic mount resolving | dzwdz | |
2021-08-22 | fs_open() stub | dzwdz | |
2021-08-22 | fix typo in _syscall_await definition | dzwdz | |
2021-08-18 | await() 1: wait for child to die, without message passing | dzwdz | |
The length is a int, because the syscall will have a signed output. A negative return value will mean an error (such as when it gets called by a childless process). | |||
2021-07-31 | change the syscall naming convention; same one in kernel and userland | dzwdz | |