|
9443551d71
|
kernel: Add shared memory
|
2023-08-02 22:20:05 +02:00 |
|
|
dc35c42371
|
kernel/VFS: Rework the metadata system so that there is a single metadata struct
continuous-integration/drone/push Build is passing
|
2023-08-01 17:20:28 +02:00 |
|
|
187f0ff83e
|
kernel: Rename Inode::blocking() to Inode::will_block_if_read()
continuous-integration/drone/pr Build is passing
|
2023-07-30 11:41:53 +02:00 |
|
|
fb08594a18
|
kernel: Separate FileDescriptors and OpenFileDescription
Also, add a did_close() callback for OpenFileDescriptions losing all their references.
|
2023-07-30 11:33:06 +02:00 |
|
|
c4e30c3029
|
kernel: Add functionality to allow external inodes (such as sockets) to acquire an inode number from a file system
This is only implemented in tmpfs.
|
2023-07-30 11:33:06 +02:00 |
|
|
200bb6c240
|
kernel+libc+libos: Add inode type for sockets
|
2023-07-30 11:33:05 +02:00 |
|
|
4ed7ec5e93
|
libluna: Store SharedPtr's ref count in the object itself
continuous-integration/drone/push Build is passing
|
2023-07-30 11:32:46 +02:00 |
|
|
69f9701097
|
kernel+libc: Implement isatty()
continuous-integration/drone/push Build is failing
|
2023-07-11 12:05:09 +02:00 |
|
|
34e1ef36b1
|
kernel: Make pivot_root() reset the parent entry of the new root directory
Otherwise it would just be pointing to the old parent fs, and we don't want that.
|
2023-06-25 20:35:38 +02:00 |
|
|
77686b26f8
|
kernel/Ext2: Read the root inode metadata from the disk
|
2023-06-25 20:35:36 +02:00 |
|
|
e79d4297ea
|
kernel: Make the root inode be a mountpoint as well + add pivot_root()
continuous-integration/drone/push Build is passing
|
2023-06-17 17:27:22 +02:00 |
|
|
1090815c8d
|
kernel: Honor the sticky bit
|
2023-06-03 11:55:10 +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 |
|
|
7cdb967730
|
kernel: compilation fix
continuous-integration/drone/push Build is passing
|
2023-05-26 20:30:39 +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 |
|
|
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 |
|
|
67a9d130e2
|
kernel: Add initial support for symbolic links :D
|
2023-05-20 21:49:24 +02:00 |
|
|
8f6bd29da3
|
kernel: Make file system reference counting work for current directories
continuous-integration/drone/push Build is passing
Also, make pipes usable again.
|
2023-05-17 20:37:01 +02:00 |
|
|
29174ca228
|
kernel/VFS: Add a way to unmount file systems
|
2023-05-17 19:52:26 +02:00 |
|
|
e7d482e78a
|
kernel+init: Add a VFS mount system and auto-populate the devfs
|
2023-05-17 19:40:37 +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 |
|
|
e6954d2e49
|
kernel: Disallow problematic characters, control characters and invalid UTF-8 in filenames
|
2023-04-16 11:25:32 +02:00 |
|
|
417e505750
|
kernel+libc: Add unlink(), rmdir(), remove()
|
2023-04-12 18:11:36 +02:00 |
|
|
2d30935fdb
|
kernel: Give each thread a working directory
|
2023-04-11 22:14:57 +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 |
|
|
f6f9254eb4
|
kernel: Add process and filesystem UIDs and GIDs
|
2023-04-08 13:12:49 +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 |
|
|
41514d9ad2
|
kernel: Add support for blocking reads
|
2023-03-19 11:21:50 +01:00 |
|
|
7173c05a22
|
kernel: Add support for special device files and add a mknod() syscall
|
2023-03-18 09:10:33 +01:00 |
|
|
d66506256d
|
kernel/VFS+libc: Introduce modes
continuous-integration/drone/push Build is passing
|
2023-03-12 16:55:46 +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 |
|
|
c6aa2fe4ad
|
VFS: Populate the initial filesystem based on the initial ramdisk
|
2023-03-11 10:23:46 +01:00 |
|
|
d95ef110c9
|
vfs: Add support for creating directories given a full path
|
2023-03-11 01:13:44 +01:00 |
|
|
e5a41d2d52
|
tmpfs: Implement FileInode read() and write()
|
2023-03-11 00:52:39 +01:00 |
|
|
6fbf97292a
|
VFS: Implement resolve_path() using PathParser
continuous-integration/drone/push Build is passing
Already works better than old luna (handles .. correctly)
|
2023-03-10 22:18:48 +01:00 |
|
|
ff770b7328
|
VFS+TmpFS: Add support for creating subdirectories (mkdir)
continuous-integration/drone/push Build is passing
|
2023-03-10 21:09:08 +01:00 |
|
|
8ba571a30e
|
TmpFS: Use a fixed char array in DirInode's Entry instead of OwnedStringView
|
2023-02-27 15:22:39 +01:00 |
|
|
01b6294f76
|
kernel: Implement creating file inodes in tmpfs directories
|
2023-02-27 15:22:38 +01:00 |
|
|
a65f4311aa
|
tmpfs: make the root inode a DirInode instead of a FileInode
|
2023-02-27 15:22:38 +01:00 |
|
|
dd2f31d8d0
|
tmpfs: add DirInode skeleton
|
2023-02-27 15:22:38 +01:00 |
|
|
ba9d725481
|
kernel: Rename FileSystem::root() to root_inode() and add a shortcut for the root filesystem's root inode
|
2023-02-27 15:22:37 +01:00 |
|
|
3a2b8bcfd7
|
kernel: Make a factory function for filesystem creation of inodes, and add inode numbers
Now every filesystem must provide fs->create_file_inode() for new inodes :)
|
2023-02-27 15:22:37 +01:00 |
|
|
a49555addc
|
kernel: Add a subclass of VFS::Inode to make it easier to implement file inodes
|
2023-02-27 15:22:36 +01:00 |
|
|
c422d11682
|
kernel: Start working on a VFS implementation using OOP and SharedPtr
|
2023-02-27 15:22:24 +01:00 |
|