Commit Graph

100 Commits

Author SHA1 Message Date
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
Matheus 1f848fe596 devfs: fixes and change behaviour of open 2024-05-01 21:39:56 -03:00
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