src/fs/readonly.bend checks
raw source on the hub · import 0x2324e729258ea5021b37b97947af4c3f/src/fs/readonly.bend as Readonly
2 imports
import Base import ../vmm/abi.bend as V
Definitions
def Ro.bit source · line 10 · raw
U32
def Ro.erofs source · line 13 · raw
U32
def Ro.mark source · line 16 · raw
@+index:U32 -> @ro:Bool -> U32
def Ro.is_ro source · line 19 · raw
@+share:U32 -> Bool
def Ro.index source · line 24 · raw
@+share:U32 -> U32
The host's index of a share (hvf.c's hvf_shares), without the bits that say how it is served (256 read-only, 512 meta: src/fs/meta.bend).
def Ro.changes source · line 29 · raw
@op:0x2324e729258ea5021b37b97947af4c3f/src/vmm/abi.FsOp -> Bool
Whether an operation can change the host's files: write, create, mkdir, remove, rename, truncate, chmod, symlink, and a write from guest memory.
def Ro.refuses source · line 48 · raw
@+share:U32 -> @op:0x2324e729258ea5021b37b97947af4c3f/src/vmm/abi.FsOp -> Bool