allow specifiying access mode when creating twifs file node nov/multiuser
authorLunaixsky <lunaixsky@qq.com>
Tue, 1 Apr 2025 18:11:46 +0000 (19:11 +0100)
committerLunaixsky <lunaixsky@qq.com>
Tue, 1 Apr 2025 18:15:26 +0000 (19:15 +0100)
commitc8cc1783ef26803aeb94747ff8704bbe6962628a
tree46b6a0c2fdce17abbfc2c8d6c8149387014884d0
parent85dc2ffc4c376b5e06a0ef5060de566afedcc659
allow specifiying access mode when creating twifs file node

twifs: refactor the interface for easy twimap/twifs export

cake: fix overflow of index guessing when freeing, causing false
positive and possibly failing double free assertion
18 files changed:
lunaix-os/hal/ahci/hbadev_export.c
lunaix-os/hal/bus/pci.c
lunaix-os/hal/rtc/rtc_device.c
lunaix-os/includes/lunaix/fs/twifs.h
lunaix-os/includes/lunaix/fs/twimap.h
lunaix-os/includes/lunaix/fs_acl.h
lunaix-os/kernel/block/blk_mapping.c
lunaix-os/kernel/device/devdb.c
lunaix-os/kernel/ds/waitq.c
lunaix-os/kernel/exe/exec.c
lunaix-os/kernel/fs/fs_export.c
lunaix-os/kernel/fs/fsm.c
lunaix-os/kernel/fs/twifs/twifs.c
lunaix-os/kernel/kprint/kprintf.c
lunaix-os/kernel/lrud.c
lunaix-os/kernel/mm/cake.c
lunaix-os/kernel/mm/cake_export.c
lunaix-os/kernel/time/clock.c