55 Commits

Author SHA1 Message Date
95a33c484e
kernel+libc: Add a memstat() syscall
We can finally show memory usage in userspace.

This could have been done using sysfs, but I'm lazy and don't want to implement that. Maybe in the next release?
2023-08-17 20:15:32 +02:00
e2a77bb3da
kernel+libc: Add pledge support 2023-08-12 21:38:25 +02:00
fb3c31907d
fix 2023-08-11 18:09:28 +02:00
a92077d311
kernel+libc: Add all variants of utime 2023-08-08 14:14:35 +02:00
c5e24e478f
kernel+libc: Add truncate and ftruncate 2023-08-03 08:47:37 +02:00
84c1ac4cee
kernel: Add msync 2023-08-02 22:39:07 +02:00
207d901de8
kernel+libc: Add the poll() syscall 2023-08-02 14:48:20 +02:00
bb3127c212
kernel: Implement listen(), connect() and accept() 2023-07-30 11:33:06 +02:00
a12b018b03
kernel+libc: Add basic Unix sockets (creation and binding) 2023-07-30 11:33:06 +02:00
b64093dee5
kernel+libc: Implement getpgid() 2023-07-12 13:44:25 +02:00
69f9701097
kernel+libc: Implement isatty() 2023-07-11 12:05:09 +02:00
7328cfe734
kernel: Add basic process groups 2023-07-11 11:51:07 +02:00
8066e8f1d8
kernel+libc: Implement sigprocmask() and friends 2023-07-10 21:01:59 +02:00
15d6aae701
kernel+libc: Implement basic signals 2023-07-10 19:46:57 +02:00
e79d4297ea
kernel: Make the root inode be a mountpoint as well + add pivot_root() 2023-06-17 17:27:22 +02:00
88d1da59e8
kernel+libc: Add access() 2023-05-27 12:04:27 +02:00
bd8aaa917f
kernel+libc+ln: Add support for userspace hard link creation 2023-05-27 11:32:40 +02:00
b0506bf88f
kernel: Add umask 2023-05-26 22:27:49 +02:00
1a6ad11462
kernel+libc+libos+ls: Add readlink() 2023-05-23 15:42:38 +02:00
67a9d130e2
kernel: Add initial support for symbolic links :D 2023-05-20 21:49:24 +02:00
01111442d3
kernel: Add the getrusage() system call 2023-05-20 12:48:07 +02:00
1506331872
kernel+libc: Add the pstat() system call
Luna-specific, but I like it.
2023-05-18 21:48:47 +02:00
84bed3ceb3
kernel+libc: Remove mknod()
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 2023-05-17 20:30:15 +02:00
411c6c40cd
kernel: Add the fchmodat() and fchownat() system calls 2023-05-11 19:49:03 +02:00
efc6d03f23
kernel+libc: Add support for unnamed pipes 2023-05-10 22:48:31 +02:00
97e9fceaa4
kernel+libc: Add dup2() 2023-04-25 20:37:30 +02:00
403b0f6b94
kernel+libc+init: Add a way to modify the system hostname 2023-04-24 21:20:44 +02:00
9eab0886b6
kernel+libc: Add uname() 2023-04-24 20:34:44 +02:00
02f8a50b9d
kernel: Replace unlink() with unlinkat() 2023-04-18 19:36:29 +02:00
82e7b0e860
kernel: Introduce *at() syscall framework, add openat() and fstatat() 2023-04-15 20:26:15 +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() 2023-04-10 19:56:03 +02:00
76eb8cd129
kernel: Add an ioctl() system call 2023-04-09 11:22:57 +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
3a28771520
kernel+libc+apps: Add support for environment variables 2023-04-07 15:03:38 +02:00
0847cfcb65
kernel: Add a getdents() syscall 2023-03-28 21:28:56 +02:00
770286a19d
kernel+libc: Implement fcntl() for F_DUPFD and F_DUPFD_CLOEXEC 2023-03-24 21:33:20 +01:00
e76ccd6c4c
kernel+libc+init: Add getppid() and wait() 2023-03-24 17:39:55 +01:00
b6fb5f3dfe
kernel+libc: Implement waitpid() 2023-03-23 22:42:24 +01:00
54f2d35416
kernel: Add the fork() system call 2023-03-18 23:45:48 +01:00
49952320d6
kernel+libluna: Remove console_write entirely 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
8c72e9a49a
kernel: Add an exec() system call
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 2023-03-14 20:43:15 +01:00
682d3c753e
kernel+libc: Add mkdir() 2023-03-12 15:32:09 +01:00
7e655e320a
kernel+libc: Add the lseek() syscall, and fseek, ftell, rewind, fsetpos, and fgetpos 2023-03-12 13:15:24 +01:00