asleepymoon
asleepymoon created pull request asleepymoon/Luna#13 2022-10-15 16:03:11 +00:00
WIP: Add fork()
asleepymoon pushed to fork at asleepymoon/Luna 2022-10-15 16:01:42 +00:00
20cffdb66c Add an initial fork() implementation
asleepymoon created branch fork in asleepymoon/Luna 2022-10-15 16:01:42 +00:00
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:48:05 +00:00
1624f0360d exec: More logging
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:46:01 +00:00
d30010d524 apps/sym: Read from the end of the file
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:40:40 +00:00
68403dc029 Kernel: Make AddressSpaces reference-counted
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:32:04 +00:00
eca7227fda StackTracer: Stop when instruction is at nullptr
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:30:43 +00:00
aca1367158 Kernel: Switch to strlcpy() as well
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 15:24:34 +00:00
42b6b927c9 libc: Implement strlcpy(), and make strncpy() standard-compliant
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 14:53:34 +00:00
48f38bdcef libc: More inttypes.h
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 14:47:03 +00:00
45afd3e243 Replace the rand() which reads from /dev/random with a Mersenne PRNG.
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 14:31:15 +00:00
18f1f8b7ca Add VERY HACKY rand() implementation.
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 14:10:10 +00:00
dd358eca29 libc/libgen.cpp: Remove #include <luna.h>
116e7326a4 libc: Implement dirname() and basename()
5256166e7a libc: Fix strrchr
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 13:16:27 +00:00
6953a28ce8 libc: Implement strrchr()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 13:14:43 +00:00
f13c48b562 libc: make strerror() return "Unknown error" instead of an invalid pointer
7139b4403f libc: Add EPIPE (not returned by anything yet)
e3e33bacbc libc: Add stubbed signal.h header
8d552b1522 libc: Add setjmp.h stub functions (not implemented)
46f60b192a libc: Add libgen.h stub functions (not implemented)
Compare 6 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 12:32:03 +00:00
6507146c60 libc: Add Luna-specific limits
4bad782aad Kernel: Increment the maximum number of file descriptors a task can have
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 12:02:37 +00:00
f50017912d libc: Implement atoi(), atol() and atoll()
2395c7a871 libc: Implement _Exit
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 11:21:29 +00:00
b1739f7f0d libc: Add support for the new clock() system call
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 11:17:34 +00:00
62a2bcf2ff Kernel: Add a clock() system call
asleepymoon pushed to main at asleepymoon/Luna 2022-10-15 11:04:56 +00:00
3a9dddaa57 Kernel, libc: Remove the rand() system call