Commit Graph

126 Commits

Author SHA1 Message Date
Matheus ba6506b9d7 auth: filesystem unlink action check + add parent vnode to auth_filesystem_check 2024-08-27 21:46:33 -03:00
Matheus f55b51a06d vfs: finish new locking scheme 2024-08-27 21:02:12 -03:00
Matheus 8f6bc6c4c1 vfs: rewrite vfs_link 2024-08-26 23:02:06 -03:00
Matheus 76c74cfca1 vfs: change VOP_UNLINK parameters, more fixes 2024-08-26 22:41:01 -03:00
Matheus 42bda0bf92 vfs: redo locking 2024-08-26 21:47:23 -03:00
Matheus da150523ba vfs: leave handling of VOP_LOCK and VOP_UNLOCK to each filesystem 2024-08-26 18:45:17 -03:00
Matheus 58f3129da2 vfs: add VOP_ACCESS check to vfs_create 2024-08-25 12:07:30 -03:00
Matheus d7b33ffe42 devfs: call VOP_CREATE directly instead of using vfs_create 2024-08-25 12:07:09 -03:00
Matheus 193f5b49b9 mount: call into auth 2024-08-24 22:56:22 -03:00
Matheus 2190b331e8 link: call VOP_ACCESS 2024-08-24 22:43:18 -03:00
Matheus 806fa3a333 devfs: take cred struct in devfs_register 2024-08-24 21:51:55 -03:00
Matheus 357f5c65cf vfs: access check on vfs_lookup 2024-08-24 20:21:42 -03:00
Matheus 4d51507953 auth: initial implementation + some filesystem checks 2024-08-24 20:01:01 -03:00
Matheus c5531bc12b tmpfs: return ENXIO if trying to open socket 2024-08-22 00:02:03 -03:00
Matheus 0adbb989ef ext2: return ENXIO if trying to open socket 2024-08-22 00:01:36 -03:00
Matheus f31d0255ae ext2: handle writec == 0 2024-08-14 17:35:42 -03:00
Matheus 227b390f30 pipefs: named pipe support 2024-08-11 14:46:16 -03:00
Matheus a24be5cbc5 fs: binding of pipes to vnodes 2024-08-11 13:06:46 -03:00
Matheus f02a63473f pipefs: prepare pipefs_open for named pipe support 2024-08-11 12:25:17 -03:00
Matheus d874b2f75f ext2: fix use after free 2024-08-03 11:34:58 -03:00
Matheus c57971219b ext2: fix memory leak 2024-07-30 20:29:53 -03:00
Matheus 037537c14e pipefs: fix poll_event for POLLOUT 2024-06-26 21:59:16 -03:00
Matheus ae62f9bed5 tmpfs: fixes 2024-06-26 21:02:47 -03:00
Matheus ad06298ab8 pipefs: make poll better 2024-06-23 18:13:16 -03:00
Matheus f6d4be7fd7 pipefs: fix 2024-06-21 19:43:04 -03:00
Matheus 984d74d327 ext2: atomic symlink 2024-06-19 21:11:05 -03:00
Matheus 65664cbf4a pipefs: make it follow what posix demands about write atomicity 2024-06-19 20:43:57 -03:00
Matheus f05eb36cfd kernel: remove already done TODOs 2024-06-16 12:48:16 -03:00
Matheus 5b6d15a06c fs: return device filesystem is mounted on 2024-06-16 12:32:32 -03:00
Matheus d461ad1a0b file: fd_(set/get)flags() 2024-06-12 18:54:55 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus 7d95b6e00d fixes 2024-06-03 20:55:20 -03:00
Matheus b13b317172 fs: added some checks 2024-05-30 10:18:44 -03:00
Matheus ad756016b9 tmpfs: some more safety checks 2024-05-29 19:15:41 -03:00
Matheus 5b5d300fc1 ext2: zero the unread bytes of a page 2024-05-29 11:08:21 -03:00
Matheus 0030a0b21b vfs: make setattr take in which attributes to change 2024-05-27 23:05:57 -03:00
Matheus 61fa847b65 vfs: support for uncached read/write 2024-05-26 15:31:26 -03:00
Matheus 858b7a35ff tmpfs/ext2: remove VOP_MMAP and VOP_MUNMAP implementation 2024-05-26 13:43:26 -03:00
Matheus 3e1d79d5a5 ext2: bugfixes 2024-05-25 17:56:11 -03:00
Matheus b9071fe59e syscalls: fsync 2024-05-25 12:04:29 -03:00
Matheus d9b16b8782 ext2: rename 2024-05-24 20:15:05 -03:00
Matheus 48b7fb4324 vmmcache: initial implementation 2024-05-24 18:03:24 -03:00
Matheus 71a38176d1 fix jobctl /dev/tty stuff 2024-05-22 19:23:37 -03:00
Matheus 15c835dacc pipefs: throw SIGPIPE 2024-05-18 12:17:19 -03:00
Matheus 7b0cc4c51b initial signal implementation 2024-05-14 15:04:48 -03:00
Matheus 6f37034ed0 initrd: fix prefixes 2024-05-12 13:56:45 -03:00
Matheus 09e36bdd4e file: fix dup 2024-05-08 15:58:30 -03:00
Matheus f2f7a629cc file: use mutex for locking rather than spinlock 2024-05-07 18:52:05 -03:00
Matheus 51be9ce8bd sockfs: remove debug print 2024-05-07 18:19:27 -03:00
Matheus 7b3c657f34 devfs: createdir and remove 2024-05-03 15:10:55 -03:00