|
df95126ccd
|
kernel: Remove unneeded debug logs & random cleanups
continuous-integration/drone/push Build is passing
|
2023-04-14 21:10:38 +02:00 |
|
|
bd60c65e17
|
kernel: Make chown() search in the process's current directory
|
2023-04-13 18:20:07 +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 |
|
|
7db215819e
|
exec: Respect the program's working directory
|
2023-04-11 22:44:25 +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 |
|
|
13c9caa856
|
kernel+libc: Add stat() + fstat()
continuous-integration/drone/push Build is passing
|
2023-04-10 19:56:03 +02:00 |
|
|
76eb8cd129
|
kernel: Add an ioctl() system call
|
2023-04-09 11:22:57 +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 |
|
|
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 |
|
|
f6f9254eb4
|
kernel: Add process and filesystem UIDs and GIDs
|
2023-04-08 13:12:49 +02:00 |
|
|
3a28771520
|
kernel+libc+apps: Add support for environment variables
|
2023-04-07 15:03:38 +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 |
|
|
1f0e185904
|
kernel: Use try_set_value(_or_error) in various places
|
2023-04-07 10:55:04 +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 |
|
|
b6c35124d6
|
libluna: OwnedStringView -> String
Also with inline storage!
|
2023-03-29 17:28:22 +02:00 |
|
|
0847cfcb65
|
kernel: Add a getdents() syscall
continuous-integration/drone/push Build is passing
|
2023-03-28 21:28:56 +02:00 |
|
|
8eb4d693ac
|
VFS: Add virtual method get() for getdents() and make existence checking occur in add_entry()
|
2023-03-28 21:15:26 +02:00 |
|
|
6239ed83c7
|
kernel+libc: Add F_GETFD, F_SETFD, F_GETFL and F_SETFL to fcntl
|
2023-03-28 20:55:38 +02:00 |
|
|
770286a19d
|
kernel+libc: Implement fcntl() for F_DUPFD and F_DUPFD_CLOEXEC
continuous-integration/drone/push Build is passing
|
2023-03-24 21:33:20 +01:00 |
|
|
0de41410c6
|
kernel: Use path as the new process name instead of argv[0]
|
2023-03-24 21:26:45 +01:00 |
|
|
36e48b2ad2
|
kernel: Do not attempt to close non-existent FDs on exec()
|
2023-03-24 21:21:13 +01:00 |
|
|
374a9ff7b8
|
kernel+libc: Implement O_CLOEXEC
|
2023-03-24 21:19:24 +01:00 |
|
|
d48d0efb07
|
kernel: Add names to threads
continuous-integration/drone/push Build is passing
|
2023-03-24 21:05:38 +01:00 |
|
|
4d3050eaab
|
kernel: Retrieve all thread information before marking it as dead in waitpid()
continuous-integration/drone/push Build is passing
In case we get interrupted by the reaper thread.
|
2023-03-24 20:59:07 +01:00 |
|
|
e76ccd6c4c
|
kernel+libc+init: Add getppid() and wait()
continuous-integration/drone/push Build is passing
|
2023-03-24 17:39:55 +01:00 |
|
|
7efcc06090
|
kernel+init+sh: Implement parent processes and waitpid(-1, ...)
continuous-integration/drone/push Build is passing
|
2023-03-24 17:37:04 +01:00 |
|
|
b6fb5f3dfe
|
kernel+libc: Implement waitpid()
continuous-integration/drone/push Build is passing
|
2023-03-23 22:42:24 +01:00 |
|
|
41c7e3780d
|
kernel: Add support for exit codes and start preparing for waitpid()
|
2023-03-23 22:25:56 +01:00 |
|
|
51f0bdff0e
|
kernel+libc: Add O_NONBLOCK
continuous-integration/drone/push Build is passing
|
2023-03-19 11:25:14 +01:00 |
|
|
41514d9ad2
|
kernel: Add support for blocking reads
|
2023-03-19 11:21:50 +01:00 |
|
|
54f2d35416
|
kernel: Add the fork() system call
|
2023-03-18 23:45:48 +01:00 |
|
|
a4ac3c85ed
|
kernel+libc: Copy argv to userspace
continuous-integration/drone/push Build is passing
|
2023-03-18 22:25:19 +01:00 |
|
|
0b00dc3fe4
|
kernel/exec: Rename item to string_addr
continuous-integration/drone/push Build is passing
|
2023-03-18 21:56:34 +01:00 |
|
|
7f50893786
|
kernel/exec: Copy argv from userspace
continuous-integration/drone/push Build is passing
|
2023-03-18 21:55:16 +01:00 |
|
|
49952320d6
|
kernel+libluna: Remove console_write entirely
continuous-integration/drone/push Build is passing
|
2023-03-18 20:12:59 +01:00 |
|
|
7173c05a22
|
kernel: Add support for special device files and add a mknod() syscall
|
2023-03-18 09:10:33 +01:00 |
|
|
59838f1225
|
kernel: Replace some raw divisions with get_blocks_from_size()
|
2023-03-16 23:01:35 +01:00 |
|
|
8c72e9a49a
|
kernel: Add an exec() system call
continuous-integration/drone/push Build is passing
Doesn't support arguments or environment for now.
|
2023-03-16 22:44:58 +01:00 |
|
|
08c888eaae
|
kernel+libc: Remove (de)allocate_memory and replace it with POSIX mmap
continuous-integration/drone/push Build is passing
|
2023-03-14 20:43:15 +01:00 |
|
|
d66506256d
|
kernel/VFS+libc: Introduce modes
continuous-integration/drone/push Build is passing
|
2023-03-12 16:55:46 +01:00 |
|
|
02dbcbbfa1
|
kernel: Add strdup_from_user()
continuous-integration/drone/push Build is passing
|
2023-03-12 16:30:36 +01:00 |
|
|
682d3c753e
|
kernel+libc: Add mkdir()
continuous-integration/drone/push Build is passing
|
2023-03-12 15:32:09 +01:00 |
|
|
354ffd033c
|
VFS: Add a size() method to inodes to implement seeking to the end of a file
continuous-integration/drone/push Build is passing
|
2023-03-12 14:49:21 +01:00 |
|
|
b54a7f3a80
|
kernel+libc: Add O_* flags and parse them in open()
continuous-integration/drone/push Build is passing
O_RDONLY, O_WRONLY, O_RDWR, O_TRUNC, O_CREAT and O_EXCL are fully implemented.
O_APPEND is partially implemented.
Other flags are not here yet.
|
2023-03-12 14:43:58 +01:00 |
|
|
bd572473ad
|
kernel: Remove FileDescriptorTable and add a helper to resolve fds to FileDescriptors
|
2023-03-12 13:57:38 +01:00 |
|
|
7e655e320a
|
kernel+libc: Add the lseek() syscall, and fseek, ftell, rewind, fsetpos, and fgetpos
continuous-integration/drone/push Build is passing
|
2023-03-12 13:15:24 +01:00 |
|