|
417e505750
|
kernel+libc: Add unlink(), rmdir(), remove()
|
2023-04-12 18:11:36 +02:00 |
|
|
1b4f48b92c
|
sh: Display the working directory as part of the prompt
continuous-integration/drone/push Build is passing
|
2023-04-11 22:45:33 +02:00 |
|
|
427662d5f1
|
kernel+libc: Add getcwd()
|
2023-04-11 22:45:13 +02:00 |
|
|
7db215819e
|
exec: Respect the program's working directory
|
2023-04-11 22:44:25 +02:00 |
|
|
3a45f4af53
|
su: Change the current directory to the user's home on login
continuous-integration/drone/push Build is passing
|
2023-04-11 22:15:46 +02:00 |
|
|
2a967f4b8b
|
kernel+libc: Add chdir()
|
2023-04-11 22:15:21 +02:00 |
|
|
2d30935fdb
|
kernel: Give each thread a working directory
|
2023-04-11 22:14:57 +02:00 |
|
|
dfce93c18f
|
ls: List the current directory by default instead of the root directory
|
2023-04-11 22:13:54 +02:00 |
|
|
79a96bf5af
|
kernel/ELF: Remove old FIXME
continuous-integration/drone/push Build is passing
|
2023-04-11 21:24:11 +02:00 |
|
|
13c9caa856
|
kernel+libc: Add stat() + fstat()
continuous-integration/drone/push Build is passing
|
2023-04-10 19:56:03 +02:00 |
|
|
66c2896652
|
su: Use termios ioctls to turn off echoing and read a password
continuous-integration/drone/push Build is passing
|
2023-04-09 11:24:34 +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 |
|
|
76eb8cd129
|
kernel: Add an ioctl() system call
|
2023-04-09 11:22: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 |
|
|
46be0bd458
|
apps: Install su as setuid
continuous-integration/drone/push Build is passing
|
2023-04-08 17:01:26 +02:00 |
|
|
3887b98a7d
|
kernel: Support setuid binaries
continuous-integration/drone/push Build is passing
You still have to run "chmod 4755 /bin/su" as root inside Luna for now, as this is not done by the install scripts.
|
2023-04-08 16:32:56 +02:00 |
|
|
8b45766aaa
|
su: Use user names and read from the password file instead of using raw user IDs
|
2023-04-08 16:31:33 +02:00 |
|
|
7667f49d62
|
libc: Add a password file and pwd.h
|
2023-04-08 16:30:18 +02:00 |
|
|
3867a29a10
|
apps: Add mkdir, chown and chmod
continuous-integration/drone/push Build is passing
|
2023-04-08 14:47:58 +02:00 |
|
|
46ee0eb937
|
sh: Show hashtag on root's prompt
|
2023-04-08 14:47:50 +02:00 |
|
|
059c2bfa3f
|
kernel+libc: Add chown and chmod
|
2023-04-08 14:47:34 +02:00 |
|
|
0f8a46ab67
|
Vector: Copy the right amount in try_dequeue()
I always forget to multiply by sizeof(T)...
|
2023-04-08 14:46:58 +02:00 |
|
|
3da1849c99
|
kernel+libc: Add set* and get* syscalls for UIDs and GIDs
|
2023-04-08 13:50:18 +02:00 |
|
|
f6f9254eb4
|
kernel: Add process and filesystem UIDs and GIDs
|
2023-04-08 13:12:49 +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 |
|
|
95a93a7f66
|
sh: Parse arguments
|
2023-04-08 12:09:43 +02:00 |
|
|
0eab03848c
|
sh: Remove unused include
continuous-integration/drone/push Build is passing
|
2023-04-07 15:41:37 +02:00 |
|
|
9bb1720cca
|
libc: Add execvp() and execvpe()
continuous-integration/drone/push Build is passing
|
2023-04-07 15:39:10 +02:00 |
|
|
fe348d56c0
|
String+StringView: Add split()
|
2023-04-07 15:14:46 +02:00 |
|
|
3a28771520
|
kernel+libc+apps: Add support for environment variables
|
2023-04-07 15:03:38 +02:00 |
|
|
3ef484b3f3
|
kernel: Add missing include
|
2023-04-07 14:37:06 +02:00 |
|
|
3a70accdeb
|
kernel: Move copy_string_vector_to_userspace to ThreadImage
|
2023-04-07 14:36:24 +02:00 |
|
|
b22bea84ec
|
kernel: Copy process name on fork()
continuous-integration/drone/push Build is passing
|
2023-04-07 14:02:36 +02:00 |
|
|
0f678f845c
|
String: Add operator=
continuous-integration/drone/push Build is passing
|
2023-04-07 12:14:21 +02:00 |
|
|
4cac49038c
|
sh: Use StringBuilder instead of C-like manual joining
|
2023-04-07 12:11:28 +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 |
|
|
4e48d024d9
|
libluna: Add StringBuilder
|
2023-04-07 11:53:52 +02:00 |
|
|
4c0dff9b32
|
libos: Remove a stray os-freestanding from the CMakeLists
|
2023-04-07 11:53:41 +02:00 |
|
|
a9b5cf99f7
|
UBSAN: Add __ubsan_handle_nonnull_arg
|
2023-04-07 11:53:19 +02:00 |
|
|
8e8706be27
|
sh: Use try_move instead of try_set
Looks like Vector does not like being copied. I'll have to look into that later...
|
2023-04-07 11:52:59 +02:00 |
|
|
1210d2b7da
|
libluna: Add/remove some const qualifiers
|
2023-04-07 11:52:20 +02:00 |
|
|
1c6fd95a70
|
Result: Add from_syscall()
|
2023-04-07 10:56:49 +02:00 |
|
|
cb67b41a39
|
libc: Set errno in mbstowcs() and wcstombs()
|
2023-04-07 10:55:22 +02:00 |
|
|
1f0e185904
|
kernel: Use try_set_value(_or_error) in various places
|
2023-04-07 10:55:04 +02:00 |
|
|
baa2296aed
|
Result: Add try_{set,move}_value_or_error
|
2023-04-07 10:43:29 +02:00 |
|
|
c752b2b343
|
libos: Put everything under the os namespace
|
2023-04-07 10:40:46 +02:00 |
|
|
f1e2937528
|
ArgumentParser: Parse short value arguments
|
2023-04-07 10:37:15 +02:00 |
|