|
15d6aae701
|
kernel+libc: Implement basic signals
|
2023-07-10 19:46:57 +02:00 |
|
|
15199a2366
|
libluna+libc: Implement memchr() and strstr()
continuous-integration/drone/push Build is passing
|
2023-07-10 15:30:05 +02:00 |
|
|
a9460469d9
|
kernel+libc+apps: Add a source parameter to the mount() system call
|
2023-06-25 20:35:35 +02:00 |
|
|
d50ea76bdc
|
libc: Make tmpfile() create files in /tmp's filesystem
continuous-integration/drone/push Build is passing
|
2023-06-19 11:52:38 +02:00 |
|
|
f22689fcf5
|
libc: Add stubs for fflush() and ungetc()
continuous-integration/drone/push Build is passing
|
2023-06-19 10:48:02 +02:00 |
|
|
6bfc7483bc
|
libc: Add a definition for FILENAME_MAX
|
2023-06-19 10:47:43 +02:00 |
|
|
acfad51ac0
|
libc: Add freopen()
|
2023-06-19 10:46:08 +02:00 |
|
|
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 |
|
|
2572d5b238
|
libc: Add wrapper for the fstatat() system call
|
2023-05-01 20:00:43 +02:00 |
|
|
458e0a87cc
|
libc: Fix S_IS* macros
|
2023-05-01 20:00:10 +02:00 |
|
|
7fbc644753
|
libc: Add clearenv
continuous-integration/drone/push Build is passing
|
2023-05-01 19:06:31 +02:00 |
|
|
967758d464
|
libc: Implement setenv() and unsetenv()
continuous-integration/drone/push Build is passing
|
2023-04-30 14:46:34 +02:00 |
|
|
ac4bbd135b
|
libos: Add Directory::list()
continuous-integration/drone/push Build is passing
|
2023-04-28 22:41:44 +02:00 |
|
|
3e277b5d6f
|
libos: Introduce os::Directory
|
2023-04-28 21:16:43 +02:00 |
|
|
97e9fceaa4
|
kernel+libc: Add dup2()
continuous-integration/drone/push Build is passing
|
2023-04-25 20:37:30 +02:00 |
|
|
188a97cf54
|
libc: Add execlp
continuous-integration/drone/push Build is passing
|
2023-04-25 20:25:51 +02:00 |
|
|
89fd57dea4
|
libc: Propagate all errors in execl() and execvpe() + add execle().
continuous-integration/drone/push Build is passing
|
2023-04-25 17:43:11 +02:00 |
|
|
403b0f6b94
|
kernel+libc+init: Add a way to modify the system hostname
continuous-integration/drone/push Build is passing
|
2023-04-24 21:20:44 +02:00 |
|
|
cfb4baab4b
|
apps: Add uname
continuous-integration/drone/push Build is passing
|
2023-04-24 21:02:04 +02:00 |
|
|
9eab0886b6
|
kernel+libc: Add uname()
continuous-integration/drone/push Build is passing
|
2023-04-24 20:34:44 +02:00 |
|
|
4f6e020196
|
kernel+libc: Add framebuffer ioctls
continuous-integration/drone/push Build is passing
|
2023-04-21 18:25:53 +02:00 |
|
|
02f8a50b9d
|
kernel: Replace unlink() with unlinkat()
continuous-integration/drone/push Build is passing
|
2023-04-18 19:36:29 +02:00 |
|
|
b2fe1f45ef
|
libc: Define NULL in stdio.h
continuous-integration/drone/push Build is passing
|
2023-04-16 22:00:41 +02:00 |
|
|
82e7b0e860
|
kernel: Introduce *at() syscall framework, add openat() and fstatat()
continuous-integration/drone/push Build is passing
|
2023-04-15 20:26:15 +02:00 |
|
|
8c4ead0c0f
|
libc: Add more conversion specifiers to strftime
|
2023-04-14 21:08:50 +02:00 |
|
|
b7df596f8a
|
libc: Add strftime()
continuous-integration/drone/push Build is passing
|
2023-04-13 21:09:27 +02:00 |
|
|
193d63c81b
|
libluna+libc: Add strpbrk()
continuous-integration/drone/push Build is passing
|
2023-04-12 18:42:25 +02:00 |
|
|
417e505750
|
kernel+libc: Add unlink(), rmdir(), remove()
|
2023-04-12 18:11:36 +02:00 |
|
|
427662d5f1
|
kernel+libc: Add getcwd()
|
2023-04-11 22:45:13 +02:00 |
|
|
2a967f4b8b
|
kernel+libc: Add chdir()
|
2023-04-11 22:15:21 +02:00 |
|
|
13c9caa856
|
kernel+libc: Add stat() + fstat()
continuous-integration/drone/push Build is passing
|
2023-04-10 19:56:03 +02:00 |
|
|
3e5957f9fc
|
libc: Add ioctl() syscall wrapper
|
2023-04-09 11:24:13 +02:00 |
|
|
fee33e7a14
|
kernel: Add ioctls() for termios stuff to ConsoleDevice
Only handles echoing for now.
|
2023-04-09 11:23:57 +02:00 |
|
|
e5a3bbcbbc
|
libc: Allow empty fields in the password file
continuous-integration/drone/push Build is passing
|
2023-04-08 22:19:51 +02:00 |
|
|
7667f49d62
|
libc: Add a password file and pwd.h
|
2023-04-08 16:30:18 +02:00 |
|
|
059c2bfa3f
|
kernel+libc: Add chown and chmod
|
2023-04-08 14:47:34 +02:00 |
|
|
3da1849c99
|
kernel+libc: Add set* and get* syscalls for UIDs and GIDs
|
2023-04-08 13:50:18 +02:00 |
|
|
208fdd64ac
|
execvpe: Execute a shell if errno == ENOEXEC
continuous-integration/drone/push Build is passing
|
2023-04-08 12:28:26 +02:00 |
|
|
eb3fb04734
|
libc: Add system()
continuous-integration/drone/push Build is passing
|
2023-04-08 12:18:52 +02:00 |
|
|
9bb1720cca
|
libc: Add execvp() and execvpe()
continuous-integration/drone/push Build is passing
|
2023-04-07 15:39:10 +02:00 |
|
|
3a28771520
|
kernel+libc+apps: Add support for environment variables
|
2023-04-07 15:03:38 +02:00 |
|
|
7b8260f3f6
|
all: Enable/disable debug symbols/optimization in COMMON_FLAGS
|
2023-04-07 12:07:08 +02:00 |
|
|
d07b00a892
|
all: Move all warning flags to a common CMake variable
|
2023-04-07 12:02:49 +02:00 |
|
|
cb67b41a39
|
libc: Set errno in mbstowcs() and wcstombs()
|
2023-04-07 10:55:22 +02:00 |
|
|
429e4c9f61
|
libc: Disable -pedantic
continuous-integration/drone/push Build is passing
It does not like TRY().
|
2023-03-30 21:31:35 +02:00 |
|
|
47ee52dc0a
|
libc: Add execl()
continuous-integration/drone/push Build is failing
|
2023-03-30 21:28:39 +02:00 |
|
|
2fbc6105d7
|
kernel+libc: Add O_DIRECTORY and use it in opendir()
continuous-integration/drone/push Build is passing
|
2023-03-29 22:23:52 +02:00 |
|
|
724dab636c
|
apps: Switch to C++
continuous-integration/drone/push Build is passing
|
2023-03-29 17:56:56 +02:00 |
|
|
3e30f0a88c
|
libc: Add opendir, readdir and closedir
|
2023-03-29 01:06:57 +02:00 |
|
|
0847cfcb65
|
kernel: Add a getdents() syscall
continuous-integration/drone/push Build is passing
|
2023-03-28 21:28:56 +02:00 |
|
|
0d54d0ece1
|
libc: Check for a compatible mode in fdopen()
continuous-integration/drone/push Build is passing
|
2023-03-28 20:56:00 +02:00 |
|