Commit Graph

47 Commits

Author SHA1 Message Date
Matheus 9a8c5535ad fs: more fixes 2025-10-23 17:42:29 -03:00
Matheus 0957ff6e71 fs: fix some nlinks handling 2025-10-23 15:04:25 -03:00
Matheus 7da3557d32 fs: change how rename() is handled 2025-10-17 13:51:35 -03:00
Matheus b6e76f3d1f vfs: advisory locking + flock syscall 2025-09-12 00:34:49 -03:00
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus f1ee575ed1 vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec 2024-09-21 16:56:43 -03:00
Matheus f04b7901e8 tmpfs: set default root mode to 0755 2024-09-14 17:34:24 -03:00
Matheus 62b28a8e2a fs: check if directory is empty on unlink 2024-09-11 20:31:42 -03:00
Matheus d42572b041 fs: fix fifo 2024-09-01 22:52:31 -03:00
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 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 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 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 ae62f9bed5 tmpfs: fixes 2024-06-26 21:02:47 -03:00
Matheus 5b6d15a06c fs: return device filesystem is mounted on 2024-06-16 12:32:32 -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 0030a0b21b vfs: make setattr take in which attributes to change 2024-05-27 23:05:57 -03:00
Matheus 858b7a35ff tmpfs/ext2: remove VOP_MMAP and VOP_MUNMAP implementation 2024-05-26 13:43:26 -03:00
Matheus b9071fe59e syscalls: fsync 2024-05-25 12:04:29 -03:00
Matheus 48b7fb4324 vmmcache: initial implementation 2024-05-24 18:03:24 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus 55fc1b7026 pmm: full rewrite
I've decided to do a rewrite on it due to some plans that would make refcounting physical pages nescessary among other things. now instead of a bitmap it uses a list of pages with each physical page having a page_t associated with it
2023-07-29 17:14:41 -03:00
Matheus 49eef0e04c vfs: use mutexes for locking 2023-07-26 20:29:40 -03:00
Matheus 6653b01e23 devfs: getbyname() 2023-07-25 18:45:10 -03:00
Matheus d202e152db tmpfs: fix use of nonzero'd memory 2023-07-15 14:22:16 -03:00
Matheus 7a0bd0747e vfs: VOP_RESIZE 2023-07-09 20:47:28 -03:00
Matheus e938d0332e kernel: poll system and poll syscall 2023-07-08 22:02:36 -03:00
Matheus a94d8f7389 tmpfs: don't resize on setattr 2023-07-06 20:56:10 -03:00
Matheus 4a9306191b tmpfs: misc fixes 2023-07-06 13:59:51 -03:00
Matheus d4813dc277 fs: misc fixes related to symlinks 2023-07-05 00:07:43 -03:00
Matheus 9bdbdb9378 syscalls: getdents syscall 2023-06-26 21:32:39 -03:00
Matheus fef149ca55 vfs: redo vnode locking 2023-06-15 19:57:56 -03:00
Matheus 8ccd0bebcb tmpfs: fix mmap 2023-05-06 19:26:27 -03:00
Matheus 87313086a4 tmpfs: mmap and munmap 2023-05-06 17:51:10 -03:00
Matheus b4d0d45702 tmpfs: handle devices on open 2023-05-01 21:33:02 -03:00
Matheus f36b06cd19 tmpfs: fix inode number and fix node vfs 2023-05-01 21:25:26 -03:00
Matheus 442c527174 tmpfs: handle inode number properly 2023-05-01 19:22:02 -03:00
Matheus 48e12c89aa tmpfs: handle dotentries 2023-05-01 01:23:52 -03:00
Matheus 6d42a6f91c tmpfs: initial implementation 2023-04-30 21:14:59 -03:00