Matheus
1c65a2c891
devfs: add anonymous variants to register/remove
...
The current devfs code requires registered devices to have a name on
creation. This makes temporary/hidden devices like pty master ends
appear for a split second on the devfs tree.
Add a way of registering/removing devfs nodes which do not have a name
on the tree.
2026-10-06 11:50:59 -03:00
Matheus
d890eb5fb2
mm: vmmcache -> mm_cache
2026-07-01 12:25:18 -03:00
Matheus
6f8700e678
mm: refactor pmm -> page
2026-07-01 11:56:06 -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
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
e8c2f1fbf3
devfs: use iovec_iterator internally
2024-09-21 13:53:39 -03:00
Matheus
560e3c0aa1
devfs: checks and fixes
2024-09-14 17:37:23 -03:00
Matheus
e75aab367d
mmap: check if mapping a character device is actually possible
2024-09-03 18:41:56 -03:00
Matheus
ca42167fe1
vfs: pass cred to ioctl
2024-08-30 22:53:57 -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
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
d7b33ffe42
devfs: call VOP_CREATE directly instead of using vfs_create
2024-08-25 12:07:09 -03:00
Matheus
806fa3a333
devfs: take cred struct in devfs_register
2024-08-24 21:51:55 -03:00
Matheus
4d51507953
auth: initial implementation + some filesystem checks
2024-08-24 20:01:01 -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
48b7fb4324
vmmcache: initial implementation
2024-05-24 18:03:24 -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
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
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
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
f76046a56b
syscalls: ioctl
2023-07-05 20:19:36 -03:00
Matheus
04a5aa4bc6
syscalls: isatty
2023-07-04 20:19:15 -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
fef149ca55
vfs: redo vnode locking
2023-06-15 19:57:56 -03:00
Matheus
71a187cc40
devfs: fix devfs_root and default NULL open and close to success
2023-05-09 23:08:39 -03:00
Matheus
bb5c46d645
devfs: handle devices not supporting certain operations
2023-05-06 18:01:27 -03:00
Matheus
0ab91b26be
devfs: mmap and munmap, return ENODEV rather than ENOSYS on unimplemented
2023-05-06 17:54:24 -03:00
Matheus
c30dbc7c8f
devfs: fix device not found error returned
2023-05-04 21:21:24 -03:00
Matheus
c943023ffa
devfs: create fix and change set/get attr behaviour
2023-05-01 22:04:50 -03:00
Matheus
c80f3db385
kernel: devfs
2023-05-01 21:25:34 -03:00