summaryrefslogtreecommitdiff
path: root/src/init/fs/misc.c
AgeCommit message (Collapse)Author
2022-07-11user: reorganize the userland sourcesdzwdz
2022-07-08init/fs: remove fs_respond_delegate, clean updzwdz
2022-07-08syscall/fs_respond: get the file id from the buf argumentdzwdz
Previously, file ids could only be positive integers, so their range was 31 bits - not enough to represent the entire memory. Now, pointers can be safely used as file ids.
2022-07-07kernel/vfs: delegate support in _syscall_fs_respond!dzwdz
this is big in terms of speed, it avoids a lot of unnecessary context switches
2022-07-07shared: add a flags argument to _syscall_fs_responddzwdz
2022-07-01init/fs: move the kernel stuff to /kdev/dzwdz
2022-07-01init/fs: remember to close fs handles in fork2_n_mountdzwdz
2022-06-29kernel/vfs: add the OPEN_CREATE flagdzwdz
2022-05-06syscalls: merge fork() and fs_fork2()dzwdz
2022-05-02syscalls: fork() noreap flagdzwdz
2022-05-02shared: fix some stuff i broke + compiler warningsdzwdz
2022-05-02kernel/vfs: pass `close()` calls to fs handlersdzwdz
2022-05-01init/fs: make directory listings respect offsetsdzwdz
2022-04-14init/fs: fix `fs_dir_inject`dzwdz
the loop wasn't bounder, so was copying garbage - including multiple null bytes also, the trailing slash was appended even if the injected path didn't have one
2022-04-12shared: fix some minor warningsdzwdz
2022-04-10init/fs: handle delegated reads in a subprocessdzwdz
first off: this is horrible. there's no CoW, so this is horribly slow. the sole purpose of this is to let the userland delegate handle multiple requests at once, because i'm implementing concurrent IO and I kinda need that. it's possible that handling of multiple requests could be handled in a better way - but this could be good enough once i implement CoW
2022-04-07init: two concurrent shells - serial & vga/ps2dzwdz
2022-04-07init/fs: add bad write support to fs_delegatedzwdz
2022-03-26init/fs: add a trailing slash to injected pathsdzwdz
2021-11-26init/fs: implement directory injectiondzwdz
2021-11-20init/fs: fix non-prefix fs_passthroughdzwdz
2021-11-20shared: fs_request_delegate stubdzwdz
my thoughts on this are already in that giant comment, go read it
2021-11-20kernel: fs_wait returns a success val; the op type is put in the structdzwdz
2021-11-17init/fs: add "prefix" support to fs_passthrough / proper bind mounts!dzwdz
2021-11-16init: implement fork2_n_mountdzwdz
2021-11-16init/fs: fix old style decldzwdz
2021-11-16init: implement a halfassed passthrough fsdzwdz