dzwdz
3b8b63bf13
shared: rename ufs_request to better fit its role in userland
...
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-09-20 23:35:33 +02:00
dzwdz
917833cbe9
user: s/fs_delegate/forward_open
2022-09-20 23:28:06 +02:00
dzwdz
76bc59944a
user/login: segcmp
2022-09-20 23:25:00 +02:00
dzwdz
fa6f5ea358
user/tmpfs: fix buffer overflow
2022-09-15 23:22:49 +02:00
dzwdz
6c7c19e437
shared/printf: string precision
2022-09-15 22:43:39 +02:00
dzwdz
9cf3079b95
shared/printf: properly implement number precision
2022-09-15 22:36:43 +02:00
dzwdz
15ab70762e
user/netstack: make the verb the first component of the path
...
This makes filtering by the verb much easier, while filtering by the
local ip only slightly harder.
`whitelist /net/connect`
2022-09-04 12:51:14 +02:00
dzwdz
f71219e97a
user/tests: make all tests automatic
2022-09-04 12:31:29 +02:00
dzwdz
a96c69e454
user/shell: use perror
2022-09-04 11:37:31 +02:00
dzwdz
014edc8e1d
user/whitelist: when a command isn't given, default to a shell
2022-09-03 23:49:58 +02:00
dzwdz
d73c5ac989
user/libc: generate strerror from camellia/errno.h
2022-09-03 23:41:17 +02:00
dzwdz
ecc54f4be4
user: implement a basic mkdir
2022-09-03 23:12:31 +02:00
dzwdz
1a276eef00
user/ports: make doom playable
2022-09-03 15:44:43 +02:00
dzwdz
9889b47b52
driver/ps2,serial: handle all pending reads at the same time
2022-09-03 14:56:05 +02:00
dzwdz
6e4b9831f9
user/ports: bare minimum to run doomgeneric
2022-09-02 23:56:18 +02:00
dzwdz
e7770ccc0f
user/init: don't shutdown when a fs driver quits
2022-09-02 17:59:50 +02:00
dzwdz
c16d956c0d
kernel/proc: introduce child ids for telling children apart
2022-09-02 17:58:47 +02:00
dzwdz
41a15bd168
kernel: add a debug print for the amount of used memory
2022-09-01 23:46:19 +02:00
dzwdz
7cccc1fb99
set up the stack in user/bootstrap instead of the kernel
2022-08-30 11:01:28 +02:00
dzwdz
69d7da4945
user/termcook: make C-c kill the running process
2022-08-29 21:58:15 +02:00
dzwdz
383b08ae41
shared/printf: handle the %l and %ll length modifiers
2022-08-29 18:08:31 +02:00
dzwdz
eb22cd070c
user/libc: setjmp
2022-08-29 17:44:19 +02:00
dzwdz
4ae57a7fb1
user/lua: implement the bare minimum for it to link and "run"
2022-08-29 13:58:02 +02:00
dzwdz
edb7fc07bf
user/lua: prepare libc headers
2022-08-28 23:54:47 +02:00
dzwdz
f2eb3a78c7
kernel/amd64: SSE support
2022-08-28 22:23:20 +02:00
dzwdz
98464ad1b6
user/fs: implement fs_delegate, badly
2022-08-28 19:05:13 +02:00
dzwdz
96a1be7e79
kernel/driver: add postqueue_join / postqueue_pop
2022-08-28 14:53:48 +02:00
dzwdz
83567c386e
kernel/driver: clean up ps2, add the reqpathcmp() macro
2022-08-28 14:35:31 +02:00
dzwdz
a8e0cd702f
kernel/vfs: minor vfs_request / vfs_root_register rework
...
* changed vfs_root_register's name because the _mount didn't add anything
* removed the old pointless vfs_backend_tryaccept calls from drivers
* because of that, i could remove the vfs_backend globals
* replaced the horrible BACKEND_KERN macro
* all vfs_backends are now stored on the heap
2022-08-28 13:33:09 +02:00
dzwdz
f0bda71fe2
shared/path_simplify: return an unsigned value
2022-08-28 13:02:10 +02:00
dzwdz
c43b0ac767
user/libc: unlink()
2022-08-28 12:33:36 +02:00
dzwdz
99e59fccdd
user/fs_whitelist: stop :ro from affecting unrelated paths
2022-08-27 16:20:11 +02:00
dzwdz
7483470f45
user/netstack: don't respond to RST
2022-08-27 15:46:58 +02:00
dzwdz
418cb68ffe
user/netstack: IP gateway, make networking work without a second vm
2022-08-27 11:36:42 +02:00
dzwdz
0f51f64e9b
user/netstack: ARP requests
2022-08-27 10:58:13 +02:00
dzwdz
48e612a8c1
user/elfload: fix argv corruption when it's passed from the stack
2022-08-27 10:18:11 +02:00
dzwdz
35cbc78371
user/find: fix segfault when called with arguments
2022-08-26 17:17:39 +02:00
dzwdz
e7676411e4
user/ports: port oed
...
make clean; ./port ed clean; make -j4 out/libc.a && ./port ed install && make -j4
2022-08-26 17:11:23 +02:00
dzwdz
e6584db26d
user/libc: prepare for OpenED port
2022-08-26 14:16:16 +02:00
dzwdz
ffdf0e8d93
user/libc: rename stdlib.c to unistd.c to match header names
2022-08-26 13:20:05 +02:00
dzwdz
eba8e12e8f
shared: memmove
2022-08-26 12:19:13 +02:00
dzwdz
dc351c9782
meta: slightly less shitty readme
2022-08-24 22:58:04 +02:00
dzwdz
a805325980
user/httpd
2022-08-24 15:49:55 +02:00
dzwdz
7944d21846
user/netstack: take ip as argument when mounting
2022-08-24 12:42:11 +02:00
dzwdz
039363ede4
user/netstack: fix the sequence number when connecting
2022-08-24 12:31:20 +02:00
dzwdz
9201820097
user/netstack: TCP outgoing
...
I got on IRC!
2022-08-24 00:22:48 +02:00
dzwdz
49e2767cad
user/netstack: TCP sending
2022-08-23 23:36:23 +02:00
dzwdz
975e592f85
user/netstack: TCP recv
2022-08-23 20:17:03 +02:00
dzwdz
38cf66edaa
shared/ring: rename ring_size to ring_used, add ring_avail
2022-08-23 19:15:59 +02:00
dzwdz
03c5dd9462
user/netstack: TCP listen and close
2022-08-23 17:58:42 +02:00