asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2023-03-28 17:41:03 +00:00
d00ca0d3ed libc: Add setjmp.h
asleepymoon pushed to main at asleepymoon/Luna 2023-03-28 16:38:32 +00:00
b8b8d20f5b Vector: Let realloc do its job and thus avoid a UAF (a particularly nasty one)
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 21:15:40 +00:00
d41e5b7b74 libc: Add signal.h and inttypes.h
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 20:48:52 +00:00
a43550fb9a apps: Add date
1635eaf992 kernel: Eliminate the splash screen
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 20:33:29 +00:00
770286a19d kernel+libc: Implement fcntl() for F_DUPFD and F_DUPFD_CLOEXEC
0de41410c6 kernel: Use path as the new process name instead of argv[0]
8b712b04c2 kernel: Build with optimizations only in debug mode
36e48b2ad2 kernel: Do not attempt to close non-existent FDs on exec()
374a9ff7b8 kernel+libc: Implement O_CLOEXEC
Compare 5 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 20:05:46 +00:00
d48d0efb07 kernel: Add names to threads
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 19:59:24 +00:00
4d3050eaab kernel: Retrieve all thread information before marking it as dead in waitpid()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 19:54:03 +00:00
54a4ebe5bb sh+edit: Miscellaneous fixes
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 16:40:00 +00:00
e76ccd6c4c kernel+libc+init: Add getppid() and wait()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 16:37:14 +00:00
7efcc06090 kernel+init+sh: Implement parent processes and waitpid(-1, ...)
asleepymoon pushed to main at asleepymoon/Luna 2023-03-24 16:21:31 +00:00
f084b57f39 kernel+sh: Allow using Ctrl+D to send EOF
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 23:52:36 +00:00
a18e50ff34 apps: Add cat and edit
d63c8abbfd kernel/x86_64: Terminate page faults in a waitpid-friendly way
e2eb9a92cb sh: Don't do anything if Enter is pressed with no command
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 21:42:39 +00:00
b6fb5f3dfe kernel+libc: Implement waitpid()
41c7e3780d kernel: Add support for exit codes and start preparing for waitpid()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 21:20:02 +00:00
355dd6c32b apps: Add sh
767dbf521c Vector: Fix crash when trying to use vector after a call to clear()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 20:35:29 +00:00
00672c4b22 apps/hello: Demo fgets
0e9890901f libc: Add (f)getc, getchar, and fgets
937802964c kernel: Invert O_NONBLOCK to check whether a thread should block
95e884db97 kernel: Fix compilation
03adaa356c kernel: Avoid printing keypresses twice
Compare 5 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 20:22:18 +00:00
cda036ce70 ConsoleDevice: Use a temporary buffer for backspace handling
83492339ec Buffer: Add an append_data() method
89ad6869a4 Vector: Add a clear() method
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-23 18:25:20 +00:00
6f14bf553f libc: Add missing header to fcntl.h
asleepymoon pushed to main at asleepymoon/Luna 2023-03-19 18:21:42 +00:00
bab9600be5 libc: Add creat()
31ef96ebfc libc: Add stdin
d33fccc66f kernel: Implement reading from /dev/console
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-19 10:25:22 +00:00
51f0bdff0e kernel+libc: Add O_NONBLOCK
41514d9ad2 kernel: Add support for blocking reads
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-19 10:17:53 +00:00
cd00e41f59 arch/x86_64: Decode keyboard scancodes