asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2023-05-06 10:20:00 +00:00
b742a08cbe su: Set the USER and SHELL variables
asleepymoon pushed to main at asleepymoon/Luna 2023-05-06 10:11:41 +00:00
77560bbc3e kernel+tools: Allow loading files with different owners + add a more dynamic install script
d7fee26aa2 initrd+libc: Add /etc/group and grp.h
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-05 16:53:55 +00:00
9184bbfef6 kernel: Disallow passing O_WRONLY and O_DIRECTORY at the same time
asleepymoon pushed to main at asleepymoon/Luna 2023-05-05 16:50:44 +00:00
349ba0acb1 libc: Add syscall wrappers for unlinkat() and openat()
asleepymoon pushed to main at asleepymoon/Luna 2023-05-04 22:00:00 +00:00
d9d8f7cdc7 kernel: Remove unused headers from main.cpp
asleepymoon pushed to main at asleepymoon/Luna 2023-05-04 21:43:19 +00:00
293a992133 kernel: Add a kernel_wait_for_event() function to avoid weird calls to kernel_wait in kthreads
4a7f68b989 kernel: Add a convenience wake_up() function
3a1c22bb93 kernel: Add keyboard combinations for debug information dumps
3ed9e578c7 kernel/x86_64: Wake the IO thread up only when there is an IO event, instead of polling every 10 ms
96f3d29d37 kernel: Tell the reap thread to run when it's needed, instead of checking every 200 ms
Compare 7 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-04 14:37:20 +00:00
58eb2d7703 libc: Print failed assertions to stderr instead of stdout
44e4ca804a kernel: Make sure argument vectors passed to execve() are not too big
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-03 15:37:31 +00:00
3eb78aa5f3 libos+init: Add a new Path class to handle both file descriptors and file paths
abaf24d0da kernel/CPU: Move some stuff to StringView
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/cbench 2023-05-03 15:06:10 +00:00
1810a0a89b fix: Open /dev/null only once and close it at the end
asleepymoon pushed to main at asleepymoon/Luna 2023-05-03 14:43:40 +00:00
1215c38d75 libc: Add mkdtemp() and mkstemp()
asleepymoon pushed to main at asleepymoon/Luna 2023-05-02 19:21:35 +00:00
a0b45a51de libc: Add rand() + srand()
asleepymoon pushed to main at asleepymoon/Luna 2023-05-02 18:56:55 +00:00
d9b7e8edc0 init: Read and launch service files in order using sort()
3628464284 libc: Fix some naming inconsistencies
d1801d484c libc: Add qsort()
dcd93cce3a libluna: Add a sort() function
Compare 4 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-02 09:00:36 +00:00
6beea7f817 ls: Avoid printing an empty line when a directory is empty
asleepymoon pushed to main at asleepymoon/Luna 2023-05-02 08:52:40 +00:00
0fad179485 apps+libc+libos: Remove _LUNA_SYSTEM_ERROR_EXTENSIONS and reorder headers
052ae4902e libluna: Remove EFIXME and make others declare error_string() and error_name()
7058ec945a libluna: Use a String for name and handle prefix correctly in TarStream
6982a8c07e libluna: Make String::from_string_view handle non-null-terminated strings properly
1444cbb3df libluna: Allow constructing a StringView from a string that might not be null-terminated
Compare 5 commits »
asleepymoon closed issue asleepymoon/Luna#26 2023-05-02 08:52:40 +00:00
TODO: Get rid of EFIXME
asleepymoon pushed to main at asleepymoon/Luna 2023-05-01 18:05:17 +00:00
1d6a39c924 libluna: Make String::split() inline
asleepymoon pushed to main at asleepymoon/Luna 2023-05-01 18:03:22 +00:00
376247ba8a libluna: Add String::from_string_view()
53ec448e33 ls: Add the -l flag
2572d5b238 libc: Add wrapper for the fstatat() system call
458e0a87cc libc: Fix S_IS* macros
Compare 4 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-01 17:32:07 +00:00
48df90e636 libos+apps: Use os::*print* instead of (f)printf
a2303665fc libos: Add os:: print(), println(), eprint(), and eprintln()
df590f4e26 libluna: Add String::join()
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-05-01 17:06:39 +00:00
7fbc644753 libc: Add clearenv
asleepymoon pushed to main at asleepymoon/Luna 2023-04-30 12:46:44 +00:00
967758d464 libc: Implement setenv() and unsetenv()