]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
refactor: migrate initrd to f_ops + fix remaining direct legacy accesses
authorTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 21:28:43 +0000 (18:28 -0300)
committerTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 21:28:43 +0000 (18:28 -0300)
commitff6a3431a50261a7eec3656af250d61580bc9a5f
treed2e33efd49dbe29b3909a808e4b2477bb65a25a3
parent15ecf7a6e4fb9eeb001d8b1d29410796832f1135
refactor: migrate initrd to f_ops + fix remaining direct legacy accesses

- initrd.c: add initrd_file_ops/initrd_dir_ops, assign f_ops
- syscall.c: replace all remaining direct legacy pointer accesses
  (truncate, finddir, read/write capability checks in open, read,
  pread, pwrite) with f_ops-aware dispatch

20/20 smoke tests pass.
src/drivers/initrd.c
src/kernel/syscall.c