Commit Graph

170 Commits

Author SHA1 Message Date
Matheus 5814a33cb6 fatfs: small optimization 2025-10-04 20:04:54 -03:00
Matheus 31380b9d29 fatfs: initial implementation 2025-10-03 19:29:58 -03:00
Matheus 7669af39ea ext2: support creation of sparse files 2025-10-03 19:28:59 -03:00
Matheus 1551902e27 initrd: handle hard links 2025-10-03 19:28:07 -03:00
Matheus 31c5c1520e pipefs: fix write handling on closed readers 2025-09-14 15:32:12 -03:00
Matheus b6e76f3d1f vfs: advisory locking + flock syscall 2025-09-12 00:34:49 -03:00
Matheus 2fa040096c slab: rewrite slab allocator 2025-09-04 22:55:19 -03:00
Matheus 2040b17e5a pipefs: free instead of releasing on allocation failure 2025-09-01 23:22:15 -03:00
Matheus 59d040e177 ext2: do not load entire directories into memory when doing directory operations 2025-09-01 21:39:29 -03:00
Matheus 5a54949e0e vfs: fix double release 2025-08-29 17:13:17 -03:00
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Matheus 065711df33 more changes 2025-02-16 00:05:59 -03:00
Matheus cc1e0e37b1 file: fix fd_insert 2025-02-08 21:15:52 -03:00
Matheus 73929bfd57 localsocket: fix cmsg 2025-02-08 20:23:02 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus 67cd6cafeb vfs: properly handle empty paths 2024-12-13 21:50:00 -03:00
Matheus 27fabb033b ext2: fix symlink() 2024-10-14 20:52:40 -03:00
Matheus abd9cf4580 ext2: fix readlink on inode stored cases 2024-10-13 12:08:13 -03:00
Matheus 78e5b111cf ext2: fix ext2_write 2024-09-21 18:21:18 -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 e8c2f1fbf3 devfs: use iovec_iterator internally 2024-09-21 13:53:39 -03:00
Matheus fb2fa68752 sockets: use new iovec interface 2024-09-21 10:53:49 -03:00
Matheus 611f13b562 kernel: do preparation work for copyless read/write 2024-09-18 21:17:37 -03:00
Matheus 7eb9955a96 vfs: vfs_read/vfs_write: accept user addresses 2024-09-18 19:18:15 -03:00
Matheus 947623b5f6 fs: fix some sync locking issues 2024-09-18 19:04:59 -03:00
Matheus d5a4f2a4ad vmmcache: redo how vnode locking is expected 2024-09-18 18:03:07 -03:00
Matheus 32392573cc cpu: change all _cpu()->vmmctx to current_vmm_context 2024-09-15 18:07:05 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus 560e3c0aa1 devfs: checks and fixes 2024-09-14 17:37:23 -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 b6806c6065 event: support multiple attachments per event 2024-09-08 15:31:16 -03:00
Matheus 42cfd8c5a5 kernel: remove old TODOs 2024-09-07 11:49:46 -03:00
Matheus ee254a81e9 vfs: vfs_iscacheable 2024-09-04 21:33:59 -03:00
Matheus 062b7a4ef1 ext2: sparse file rw support 2024-09-04 18:43:42 -03:00
Matheus e75aab367d mmap: check if mapping a character device is actually possible 2024-09-03 18:41:56 -03:00
Matheus af92e8eb87 pipefs: remove unescessary TODO 2024-09-03 17:12:31 -03:00
Matheus d42572b041 fs: fix fifo 2024-09-01 22:52:31 -03:00
Matheus 997fbc4e2e socket: handle control data, change recv and send arguments 2024-09-01 13:20:12 -03:00
Matheus fe1102224e ringbuffer: RINGBUFFER_FREESPACE 2024-09-01 13:13:00 -03:00
Matheus 29d459bdab file: fd_insert 2024-09-01 13:11:27 -03:00
Matheus ca4577284e sockfs: check for configuration 2024-08-30 23:00:28 -03:00
Matheus ca42167fe1 vfs: pass cred to ioctl 2024-08-30 22:53:57 -03:00
Matheus 62d0cd1706 auth: AUTH_ACTIONS_FILESYSTEM_RENAME 2024-08-27 22:20:22 -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 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