|
795b0ca8d4
|
libc/scanf: Some refactoring
continuous-integration/drone/push Build is passing
|
2023-06-19 01:05:32 +02:00 |
|
|
55d147841f
|
libc+tests: Add type modifiers and integer conversion specifiers to scanf()
|
2023-06-19 00:59:42 +02:00 |
|
|
8c2348c425
|
libc/scanf: Skip whitespace before %%
continuous-integration/drone/push Build is passing
|
2023-06-18 23:51:44 +02:00 |
|
|
25e9187826
|
libc+tests: Add basic support for the scanf family of functions
continuous-integration/drone/push Build is passing
|
2023-06-18 23:44:30 +02:00 |
|
|
e10cc2d954
|
libc: Add the internal TRY_OR_SET_ERRNO macro
continuous-integration/drone/push Build is passing
Similar mechanism to TRY(), but propagating C-like errors instead of Results on failure.
|
2023-06-03 20:20:01 +02:00 |
|
|
6b4d41529e
|
libc: Fix execvp() calling the shell after an ENOEXEC
continuous-integration/drone/push Build is passing
|
2023-06-03 17:00:24 +02:00 |
|
|
8bcec00a9d
|
kernel: Change the timer subsystem to use timespecs natively
continuous-integration/drone/push Build is passing
|
2023-06-03 13:15:10 +02:00 |
|
|
d2334a67dd
|
apps: Add mktemp
continuous-integration/drone/push Build is passing
|
2023-06-03 12:15:57 +02:00 |
|
|
cc72a1655d
|
libc+libluna: Move libluna hooks out of libc and into a central place in libluna
continuous-integration/drone/push Build is passing
|
2023-06-03 11:18:52 +02:00 |
|
|
dcb8ab569a
|
libc: Add basic sys/param.h for programs that want it
continuous-integration/drone/push Build is passing
|
2023-05-31 22:15:22 +02:00 |
|
|
d467f6257d
|
libc: Define EXIT_* macros and strto(u)ll in stdlib.h
|
2023-05-31 22:15:05 +02:00 |
|
|
5c68d50070
|
libc: Add a very bare-bones locale.h
|
2023-05-31 22:12:50 +02:00 |
|
|
d572d56460
|
libc: Add dummy time fields to struct stat
continuous-integration/drone/push Build is passing
|
2023-05-27 12:22:06 +02:00 |
|
|
18115ca04a
|
libc: Add alloca.h
continuous-integration/drone/push Build is passing
|
2023-05-27 12:11:51 +02:00 |
|
|
8d90d146b2
|
libc: Fix including sys/time.h
continuous-integration/drone/push Build is passing
|
2023-05-27 12:06:00 +02:00 |
|
|
88d1da59e8
|
kernel+libc: Add access()
continuous-integration/drone/push Build is passing
|
2023-05-27 12:04:27 +02:00 |
|
|
bd8aaa917f
|
kernel+libc+ln: Add support for userspace hard link creation
continuous-integration/drone/push Build is passing
|
2023-05-27 11:32:40 +02:00 |
|
|
b0506bf88f
|
kernel: Add umask
continuous-integration/drone/push Build is passing
|
2023-05-26 22:27:49 +02:00 |
|
|
62e14e7580
|
kernel+libos+apps: Support block devices and disallow seeking character devices or pipes
continuous-integration/drone/push Build is failing
|
2023-05-26 20:27:47 +02:00 |
|
|
84c1871d30
|
libc: Check if a shell is available if system()'s command argument is NULL
|
2023-05-26 17:27:37 +02:00 |
|
|
3a51807fa6
|
kernel+stat: Handle pipes correctly in stat()
continuous-integration/drone/push Build is passing
|
2023-05-23 20:54:25 +02:00 |
|
|
1094042a7d
|
kernel: Implement st_dev and st_rdev
continuous-integration/drone/push Build is failing
|
2023-05-23 20:45:24 +02:00 |
|
|
1a6ad11462
|
kernel+libc+libos+ls: Add readlink()
continuous-integration/drone/push Build is passing
|
2023-05-23 15:42:38 +02:00 |
|
|
cb205c851c
|
libc: Add symlink(), symlinkat(), and lstat()
|
2023-05-20 21:49:25 +02:00 |
|
|
67a9d130e2
|
kernel: Add initial support for symbolic links :D
|
2023-05-20 21:49:24 +02:00 |
|
|
9bb5371e8c
|
libluna+libc: Add strtok_r()
|
2023-05-20 16:37:07 +02:00 |
|
|
47d505dcbb
|
libc: Add getline() and getdelim()
continuous-integration/drone/push Build is passing
|
2023-05-20 15:36:30 +02:00 |
|
|
6de90b3c93
|
libc: Add getrusage()
|
2023-05-20 12:48:17 +02:00 |
|
|
01111442d3
|
kernel: Add the getrusage() system call
|
2023-05-20 12:48:07 +02:00 |
|
|
a7c6163e7c
|
libc: Add gettimeofday()
|
2023-05-20 12:05:22 +02:00 |
|
|
dc169124cc
|
libc: Add fchown, fchmod, and some POSIX feature test macros
continuous-integration/drone/push Build is passing
|
2023-05-19 19:59:20 +02:00 |
|
|
1506331872
|
kernel+libc: Add the pstat() system call
Luna-specific, but I like it.
|
2023-05-18 21:48:47 +02:00 |
|
|
0dbfbe6395
|
libc+apps: Avoid calling endpwent() and endgrent() after every call to get{pw,gr}{nam,uid,gid}
|
2023-05-18 21:47:46 +02:00 |
|
|
84bed3ceb3
|
kernel+libc: Remove mknod()
continuous-integration/drone/push Build is passing
Now that we automatically create files in /dev, mknod() is not needed anymore.
|
2023-05-18 19:42:14 +02:00 |
|
|
1f4c4928cc
|
kernel+libc+apps: Add mount and umount syscalls, libc wrappers, and utilities
continuous-integration/drone/push Build is passing
|
2023-05-17 20:30:15 +02:00 |
|
|
18130847c1
|
libc: Fix some environment-related bugs
|
2023-05-11 20:09:46 +02:00 |
|
|
411c6c40cd
|
kernel: Add the fchmodat() and fchownat() system calls
continuous-integration/drone/push Build is passing
|
2023-05-11 19:49:03 +02:00 |
|
|
4a3a92e9d4
|
libc: Move chmod from unistd.h to sys/stat.h
continuous-integration/drone/push Build is passing
Apparently that's where it's supposed to be.
|
2023-05-11 19:40:34 +02:00 |
|
|
efc6d03f23
|
kernel+libc: Add support for unnamed pipes
continuous-integration/drone/push Build is passing
|
2023-05-10 22:48:31 +02:00 |
|
|
1a2fce5316
|
kernel+libc: Add the O_TMPFILE open flag and the tmpfile() function
continuous-integration/drone/push Build is passing
|
2023-05-09 22:04:34 +02:00 |
|
|
77560bbc3e
|
kernel+tools: Allow loading files with different owners + add a more dynamic install script
continuous-integration/drone/push Build is passing
|
2023-05-06 12:11:35 +02:00 |
|
|
d7fee26aa2
|
initrd+libc: Add /etc/group and grp.h
|
2023-05-06 12:01:47 +02:00 |
|
|
349ba0acb1
|
libc: Add syscall wrappers for unlinkat() and openat()
continuous-integration/drone/push Build is passing
|
2023-05-05 18:50:35 +02:00 |
|
|
58eb2d7703
|
libc: Print failed assertions to stderr instead of stdout
continuous-integration/drone/push Build is passing
This removes two FIXMEs from the time there was no stderr.
|
2023-05-04 16:37:13 +02:00 |
|
|
1215c38d75
|
libc: Add mkdtemp() and mkstemp()
continuous-integration/drone/push Build is passing
No mktemp() though, as it has race conditions and was removed in POSIX.1-2008.
|
2023-05-03 16:43:30 +02:00 |
|
|
a0b45a51de
|
libc: Add rand() + srand()
continuous-integration/drone/push Build is passing
Very basic random number generator, but that's what rand() is.
If you want secure numbers then use arc4random() or something idk
|
2023-05-02 21:20:24 +02:00 |
|
|
3628464284
|
libc: Fix some naming inconsistencies
|
2023-05-02 20:56:28 +02:00 |
|
|
d1801d484c
|
libc: Add qsort()
|
2023-05-02 20:56:27 +02:00 |
|
|
0fad179485
|
apps+libc+libos: Remove _LUNA_SYSTEM_ERROR_EXTENSIONS and reorder headers
continuous-integration/drone/push Build is passing
libluna/libos headers can now go after errno.h, so there's no reason to keep them separate.
|
2023-05-02 10:51:53 +02:00 |
|
|
052ae4902e
|
libluna: Remove EFIXME and make others declare error_string() and error_name()
Closes #26.
|
2023-05-02 10:51:53 +02:00 |
|