61 Commits

Author SHA1 Message Date
alnyan abec971f7c fs: check access for unlinkat() 2021-04-30 01:15:35 +03:00
Mark 877a5f455d fs/ext2: fix uninitialized var compiler warnings 2020-10-18 23:46:39 +03:00
Mark d7a3ed3ff5 SMP works? 2020-10-04 15:48:11 +03:00
Mark d91a9114c7 fs: add readlink() feature to per-process links 2020-09-01 19:19:26 +03:00
Mark d83b93075c fs: add umask to vfs_ioctx 2020-09-01 18:07:19 +03:00
Mark 074862b9ee api/io: readlinkat 2020-08-30 12:44:22 +03:00
Mark e0f0087ccc mman: rewrite physical memory manager
Better protection of reserved memory regions,
merged "pool" allocation functions into main
memory manager
2020-08-23 22:59:29 +03:00
Mark 76ee873cb4 ext2: add lseek and L2 read support 2020-08-23 13:26:24 +03:00
Mark 8ced5eb98d Simplify headers a bit 2020-08-11 17:00:14 +03:00
Mark 44a3dc21b4 ext2: add (kind of) unlink() for ext2
"kind of" == directories aren't resized and overall
space handling is crappy
2020-08-09 01:53:22 +03:00
Mark ffc05b30c4 ext2: use slab cache for inode structs 2020-08-08 01:06:06 +03:00
Mark d032356a89 ext2: node creation, mkdir()/creat() 2020-08-08 00:59:27 +03:00
Mark 68727654d0 ext2: block alloc/free, write up to L1 size 2020-08-07 17:24:05 +03:00
Mark 236f4e5bf5 Cleanup kernel options a bit 2020-08-07 12:53:58 +03:00
Mark 3cea8101fd Add mknod to ramfs 2020-08-05 01:57:50 +03:00
Mark 25f0a0987f Add ability to set debug levels from sysfs 2020-08-05 00:41:32 +03:00
Mark 70c5e64aed Change how chmod/chown work on in-memory files 2020-07-31 15:27:30 +03:00
Mark 97f1db0fcd Add ramfs chown/chmod 2020-07-31 11:22:50 +03:00
Mark 3a39b9c6e4 Better symlink handling for ramfs 2020-07-29 19:17:37 +03:00
Mark a5b3151a99 Fix invalid priv data allocation in ramfs 2020-07-29 18:54:37 +03:00
Mark 8833dcec9e Proper stat for sysfs 2020-07-29 18:53:04 +03:00
Mark a9df00774e Less verbose debugging 2020-07-28 14:54:35 +03:00
Mark b1daeb95e2 More lseek(2) support for ramfs 2020-07-28 14:52:46 +03:00
Mark c485c4db84 truncate(2)/ftruncate(2) 2020-07-27 00:15:27 +03:00
Mark 8d9891319c unlinkat(2) 2020-07-27 00:01:38 +03:00
Mark 00b3172169 Add mkdir to ramfs 2020-07-26 23:25:34 +03:00
Mark 276d77cd7c Add mkdirat(2) 2020-07-26 23:22:16 +03:00
Mark 040b94499c faccessat and fstatat 2020-07-26 23:02:13 +03:00
Mark 26df7ce9aa open(2) superseded by openat(2) 2020-07-26 21:47:38 +03:00
Mark 3657d84e99 Add write support to ramfs 2020-07-24 15:57:52 +03:00
Mark 0f0f37ee39 Fix ustar->ramfs and add symlink support 2020-07-24 00:18:25 +03:00
Mark 72837f9b90 A cleaner initrd fs implementation 2020-07-24 00:04:02 +03:00
Mark 69b044fd0f Cleanup fs/class shitfest a bit 2020-07-23 19:59:17 +03:00
Mark b09f7c34a3 O_CLOEXEC for vfs_open*() 2020-07-22 22:34:24 +03:00
Mark f79fc98967 Add procfs 2020-07-12 17:10:51 +03:00
Mark fd0ec4150f Add ENABLE_NET and ENABLE_UNIX options 2020-07-11 23:31:41 +03:00
Mark f22591ad93 Move to cmake build system 2020-07-11 22:41:23 +03:00
Mark d03c63719d Fix EPERM returned instead of 0 when EOF 2020-07-11 16:03:43 +03:00
Mark 801df710d2 Unclutter debug 2020-07-11 01:20:13 +03:00
Mark 8f1e6fc610 Disallow open()ing sockets 2020-07-07 15:58:04 +03:00
Mark a6ccddd695 Add (sketchy) unix domain sockets 2020-07-07 15:42:51 +03:00
Mark ecf4262646 Separate notions of "thread" and "process" 2020-07-05 23:16:10 +03:00
Mark cf837f6874 Add vnode ops to subdirs of sysfs 2020-07-05 20:25:53 +03:00
Mark eae186bbf2 A better set of functions for struct ofile 2020-07-05 17:41:12 +03:00
Mark 061d514beb Add mknod() and named pipes 2020-07-05 17:13:38 +03:00
Mark 5de915c6aa Add per-process links and lstat() 2020-07-04 00:44:13 +03:00
Mark 5e96775826 Add pipe() and dup2() system calls 2020-07-01 12:03:59 +03:00
Mark 9750471abf Add support for directories in sysfs 2020-05-29 15:16:21 +03:00
Mark a16d6482f6 Implement chown/chmod for tarfs 2020-05-29 14:28:43 +03:00
Mark f2a394139b Obtain symbol table, fix module loading 2020-05-28 15:04:17 +03:00