summaryrefslogtreecommitdiff
path: root/src/init
AgeCommit message (Collapse)Author
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.
2021-10-02implement serial/tty inputdzwdz
2021-09-23_syscall_mount(): ignore trailing slash in mount pathdzwdz
2021-09-22remove some old leftover code in tar_driverdzwdz
2021-09-21make await() fail gracefully when callee has no alive children alreadydzwdz
2021-09-21`init`: add a test for await()dzwdz
2021-09-20add an offset parameter to read() and write()dzwdz
2021-09-20remove some unused variablesdzwdz
2021-09-20use a single struct for all fs_wait return valuesdzwdz
2021-09-18init: fix off-by-one error in tar_sizedzwdz
2021-09-18implement NULL mountsdzwdz
2021-09-18`init`: implement a working tar driverdzwdz
2021-09-18create `init/stdlib`dzwdz
2021-09-18merge `kernel/types.h` and `init/types.h`dzwdz
2021-09-18`init`: start work on the tar driverdzwdz
2021-09-16scaffolding for the initrd: init can read files appended to itdzwdz
currently this is just a text file, but it will be a tar archive later on
2021-09-16implement output from vfs callsdzwdz
2021-09-16fs_read stub, basic implementation in userlanddzwdz