summaryrefslogtreecommitdiff
path: root/src/init
AgeCommit message (Collapse)Author
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
2021-11-14shared: move the str* implementations to shared/mem.cdzwdz
2021-11-14shared: use a single implementation of mem* functions everywheredzwdz
2021-11-09init/tar: reading directories only shows immediate childrendzwdz
2021-11-09init/shell: implement lsdzwdz
2021-11-09init/tar: add (bad) support for reading the root dirdzwdz
2021-11-07init/tar: read() directoriesdzwdz
2021-11-07init: add strcpy/memcpydzwdz
just copied straight over from the kernel's util.c
2021-11-07init/tar: refactor init_tar, add some very basic directory supportdzwdz
2021-11-07init/tar: check length of found filedzwdz
before this, you could open("/init/1") to open /init/1.txt
2021-11-04init/tests: ensure that tests exit successfullydzwdz
2021-11-04Merge branch 'main' into fork2dzwdz
2021-11-02fork2() refactor: implement fs_fork2()dzwdz
2021-11-02fork2 refactor: every process now has (only) a single controlled vfs_backenddzwdz
2021-10-21init/shell: add a `shadow` command for null mountsdzwdz
2021-10-21init/shell: add a `catall` cmd - works like the old fs testdzwdz
2021-10-21init/shell: fix crash when cat is ran without argumentsdzwdz
2021-10-15init/tests: write some actual tests - test_await and test_faultsdzwdz
2021-10-15init/tests: make the test(s) staticdzwdz
2021-10-15init/tests: remove test_fs, as it doesn't even test anythingdzwdz
2021-10-15init/tests: implement a run_forked wrapperdzwdz
2021-10-15init: only run tests when prompted from the shelldzwdz
2021-10-15init: move the tests to their own directorydzwdz
2021-10-15slightly clean up all the assembly codedzwdz
2021-10-15init/readline: stop reading on \ndzwdz
2021-10-13init/shell: show the current "fork depth" in the promptdzwdz
2021-10-13init/shell: add the fork commanddzwdz
2021-10-13init: kill the test_await process after the test finishesdzwdz
2021-10-13init/shell: implement the `exit` commanddzwdz
2021-10-13init: run all "tests" in separate processesdzwdz
2021-10-10init: move __tty_fd to the stdlib, add the underscores to its namedzwdz
2021-10-10init: add a missing #includedzwdz
2021-10-10init/shell: implement a half-broken catdzwdz
2021-10-10init/shell: implement the echo commanddzwdz
2021-10-10init/stdlib: implement strcmpdzwdz
2021-10-10init/shell: basic argument splittingdzwdz
2021-10-10init/printf: allow passing a nullptr to %sdzwdz
2021-10-10init/shell: basic readline()dzwdz
2021-10-06init: use printf for outputdzwdz
2021-10-06init printf: implement %xdzwdz
2021-10-06init printf: implement %sdzwdz
2021-10-06init: implement strlendzwdz
2021-10-06init: printf basedzwdz
2021-10-05kill the process that caused an exception instead of panickingdzwdz
2021-10-04remove support for processes returning strings on exitdzwdz
This isn't really all that useful, it doesn't enable anything that wasn't possible before. With it removed I'll be able to implement process_exit() in a much simpler way.