|
00832163d4
|
libos: Add Process::exec
continuous-integration/drone/push Build is passing
|
2023-04-18 18:39:37 +02:00 |
|
|
6ce125d286
|
libos: Add a Process class
continuous-integration/drone/push Build is passing
|
2023-04-18 18:16:24 +02:00 |
|
|
fbb7de7156
|
sh: Do not leak memory when using cd
continuous-integration/drone/push Build is passing
|
2023-04-18 16:49:05 +02:00 |
|
|
4baee3a91f
|
sh: Close script file on exec
|
2023-04-18 16:42:43 +02:00 |
|
|
407e81b107
|
cat: Read into buffers instead of lines
|
2023-04-18 16:41:58 +02:00 |
|
|
fe11b04832
|
File: Add methods to read/write using buffers
|
2023-04-18 16:41:17 +02:00 |
|
|
51eedf2b16
|
Buffer: Add an is_empty() method
|
2023-04-18 16:40:37 +02:00 |
|
|
e466c51e9f
|
kernel: Also zero out mmap-ed pages
continuous-integration/drone/push Build is passing
|
2023-04-17 22:16:27 +02:00 |
|
|
95659639e5
|
kernel: Zero out allocated memory for userspace to avoid leaking sensitive data
continuous-integration/drone/push Build is passing
|
2023-04-17 20:11:07 +02:00 |
|
|
b2fe1f45ef
|
libc: Define NULL in stdio.h
continuous-integration/drone/push Build is passing
|
2023-04-16 22:00:41 +02:00 |
|
|
949321932f
|
kernel: Do not forbid filenames starting with a hyphen
continuous-integration/drone/push Build is passing
Some programs on Linux seem to use those, better be careful.
|
2023-04-16 11:33:35 +02:00 |
|
|
3b4214c8be
|
dirname: Parse one-character paths properly
continuous-integration/drone/push Build is passing
|
2023-04-16 11:25:47 +02:00 |
|
|
e6954d2e49
|
kernel: Disallow problematic characters, control characters and invalid UTF-8 in filenames
|
2023-04-16 11:25:32 +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 |
|
|
df95126ccd
|
kernel: Remove unneeded debug logs & random cleanups
continuous-integration/drone/push Build is passing
|
2023-04-14 21:10:38 +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 |
|
|
1733fc810d
|
mkdir: Use os::FileSystem and add -p flag
continuous-integration/drone/push Build is passing
|
2023-04-13 18:33:56 +02:00 |
|
|
fb3430c56a
|
apps: Use os::FileSystem
|
2023-04-13 18:33:43 +02:00 |
|
|
5df16a9bff
|
libos: Add FileSystem
|
2023-04-13 18:33:04 +02:00 |
|
|
bd60c65e17
|
kernel: Make chown() search in the process's current directory
|
2023-04-13 18:20:07 +02:00 |
|
|
60c6e764a4
|
libos+apps: Add some missing functionality to File and eliminate any trace of C from cat and edit
continuous-integration/drone/push Build is passing
|
2023-04-13 17:31:21 +02:00 |
|
|
26ff964ec1
|
libos: Add a new main() function
|
2023-04-13 17:04:59 +02:00 |
|
|
d97bf991d1
|
libos: Add a very bare-bones C++ RAII File class
|
2023-04-12 21:46:10 +02:00 |
|
|
193d63c81b
|
libluna+libc: Add strpbrk()
continuous-integration/drone/push Build is passing
|
2023-04-12 18:42:25 +02:00 |
|
|
3618a41bcd
|
apps: Add rm
continuous-integration/drone/push Build is passing
|
2023-04-12 18:11:43 +02:00 |
|
|
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 |
|