Commit Graph

75 Commits

Author SHA1 Message Date
Matheus 14b641f1bf devfs: ability to remove devices 2024-04-25 21:21:17 -03:00
Matheus b61ffafc0c devfs: support directories inside it 2024-04-25 20:56:47 -03:00
Matheus 65ca92b3a3 vfs: add assert 2024-04-20 15:45:46 -03:00
Matheus e9ea25fa07 sockfs: FIONREAD ioctl 2024-04-20 15:45:36 -03:00
Matheus 2b917c539d vfs: on vfs_lookup, return ENOENT if pathlen is 0 and we are looking for the parent 2024-04-20 10:28:10 -03:00
Matheus 4071613b17 ext2: stub rename 2024-04-20 10:25:01 -03:00
Matheus 77105115f9 local sockets: initial implementation 2024-04-13 21:00:10 -03:00
Matheus 662e010925 socket: move pollheader init from sockfs to socket 2024-04-10 19:52:20 -03:00
Matheus dbb5ff27fd socket: SIOCSIFADDR ioctl 2024-04-07 23:40:51 -03:00
Matheus bba08c0b3e socket: SIOCADDRT ioctl 2024-04-07 21:44:07 -03:00
Matheus d49de825cc socket: initial implementation 2024-04-07 16:38:30 -03:00
Matheus 1bb152b446 pipefs: use poll internally rather than keeping the old events 2023-09-30 12:49:38 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus fe303aec69 devfs: maxseek 2023-09-09 00:30:43 -03:00
Matheus 35fe8f2d6b pipefs: add proper poll support 2023-09-07 15:49:42 -03:00
Matheus e9e640fb83 file: properly set fdfirst 2023-08-10 16:39:14 -03:00
Matheus c33078b9c2 kernel: misc stuff 2023-08-08 21:21:06 -03:00
Matheus 5fad76e39e pipefs: fix wrong vnode type 2023-08-02 19:52:49 -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 c4bdf020f4 kernel: mount root using commandline arguments 2023-07-26 00:17:14 -03:00
Matheus 294e12b360 ext2: ASSERT_UNCLEAN macro and do some TODOs 2023-07-25 19:35:48 -03:00
Matheus 6653b01e23 devfs: getbyname() 2023-07-25 18:45:10 -03:00
Matheus 9d1beb2807 ext2: mmap, munmap, unlink and inactive 2023-07-25 18:44:38 -03:00
Matheus 06e0c9634e ext2: link and create 2023-07-24 22:34:01 -03:00
Matheus 49682e2bf4 ext2: inode set block, inode resize, ext2_write and ext2_resize 2023-07-24 19:43:44 -03:00
Matheus 98c642c6ec ext2: change allocateblock to work with inodes and add freestructure 2023-07-23 23:44:25 -03:00
Matheus 29b5af0d52 ext2: block allocation 2023-07-23 23:09:09 -03:00
Matheus 28247888c5 ext2: readonly support 2023-07-23 14:13:02 -03:00
Matheus 568962929b kernel: barebones ext2 implementation (setattr, getattr, lookup and getdents) 2023-07-23 01:09:44 -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 4b38f6d26b syscalls: mkdirat and gethostname + uname stubs in mlibc 2023-07-05 21:06:38 -03:00
Matheus f76046a56b syscalls: ioctl 2023-07-05 20:19:36 -03:00
Matheus d4813dc277 fs: misc fixes related to symlinks 2023-07-05 00:07:43 -03:00
Matheus 23bd7ddfd2 pipefs: fix events on close 2023-07-04 20:29:48 -03:00
Matheus 04a5aa4bc6 syscalls: isatty 2023-07-04 20:19:15 -03:00
Matheus 51446cdd37 kernel: pipefs 2023-07-03 23:01:32 -03:00
Matheus 032560bda0 file: redo locking 2023-07-03 22:51:53 -03:00
Matheus 98fc4eb23d file: FDTABLE_LIMIT 2023-06-27 19:54:33 -03:00
Matheus d06e00dda7 devfs: handle . properly 2023-06-27 19:39:27 -03:00
Matheus 58909673e9 devfs: getdents and a few fixes 2023-06-26 23:54:42 -03:00
Matheus 265d12f6b2 file: fd duping and related syscalls 2023-06-26 23:18:49 -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 74924c4d11 file: cleanfile null vnode protection 2023-05-29 10:48:04 -03:00
Matheus 6f1eae6db1 file: fd_clone 2023-05-16 19:23:31 -03:00