apio pushed to main at apio/Luna 2023-03-30 19:28:49 +00:00
47ee52dc0a libc: Add execl()
apio pushed to main at apio/Luna 2023-03-30 19:19:29 +00:00
64bca780a7 kernel: Add /dev/zero
apio pushed to main at apio/Luna 2023-03-29 20:24:39 +00:00
2fbc6105d7 kernel+libc: Add O_DIRECTORY and use it in opendir()
61f969c60c ls: Explicitly initialize booleans to false
Compare 2 commits »
apio pushed to main at apio/Luna 2023-03-29 20:11:00 +00:00
43f90c4f88 cat: Use ArgumentParser
e6645ed607 StringView+apps: Add a _sv literal suffix to not confuse function overloads
e1c03150f8 ArgumentParser: Return leftover arguments from parse()
Compare 3 commits »
apio pushed to main at apio/Luna 2023-03-29 19:46:22 +00:00
75c48e996a ArgumentParser+date: Add value arguments
apio pushed to main at apio/Luna 2023-03-29 17:25:21 +00:00
d68f6bd76b ArgumentParser+ls: Add switch arguments
apio pushed to main at apio/Luna 2023-03-29 16:27:14 +00:00
a164dcc160 libos: Add libos + very basic ArgumentParser
apio pushed to main at apio/Luna 2023-03-29 15:57:08 +00:00
724dab636c apps: Switch to C++
apio pushed to main at apio/Luna 2023-03-29 15:44:10 +00:00
ef01f187c3 libluna: Add StringView
01813ff0dd String: Rename from_string_literal to from_cstring
ee60ab78b3 String: is_empty + proper initialization
b6c35124d6 libluna: OwnedStringView -> String
Compare 4 commits »
apio pushed to main at apio/Luna 2023-03-28 23:08:08 +00:00
7b0b3dabc4 apps: Add ls
3e30f0a88c libc: Add opendir, readdir and closedir
5623f3c699 tmpfs: Set the mode of the root directory on creation
0320ffb485 Vector: Fix operator[]
Compare 4 commits »
apio pushed to main at apio/Luna 2023-03-28 19:29:12 +00:00
0847cfcb65 kernel: Add a getdents() syscall
8eb4d693ac VFS: Add virtual method get() for getdents() and make existence checking occur in add_entry()
Compare 2 commits »
apio pushed to main at apio/Luna 2023-03-28 18:56:11 +00:00
0d54d0ece1 libc: Check for a compatible mode in fdopen()
6239ed83c7 kernel+libc: Add F_GETFD, F_SETFD, F_GETFL and F_SETFL to fcntl
Compare 2 commits »
apio pushed to main at apio/Luna 2023-03-28 17:47:52 +00:00
df10544e84 libc: Add libgen.h
apio pushed to main at apio/Luna 2023-03-28 17:41:03 +00:00
d00ca0d3ed libc: Add setjmp.h
apio pushed to main at apio/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)
apio pushed to main at apio/Luna 2023-03-24 21:15:40 +00:00
d41e5b7b74 libc: Add signal.h and inttypes.h
apio pushed to main at apio/Luna 2023-03-24 20:48:52 +00:00
a43550fb9a apps: Add date
1635eaf992 kernel: Eliminate the splash screen
Compare 2 commits »
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2023-03-24 20:05:46 +00:00
d48d0efb07 kernel: Add names to threads
apio pushed to main at apio/Luna 2023-03-24 19:59:24 +00:00
4d3050eaab kernel: Retrieve all thread information before marking it as dead in waitpid()