Commit Graph

157 Commits

Author SHA1 Message Date
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
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