pub const vm_prot_t = packed struct(u32) READ: bool = falseWRITE: bool = falseEXEC: bool = false_: u1 = 0COPY: bool = falseWhen a caller finds that they cannot obtain write permission on a mapped entry, the following flag can be used. The entry will be made "needs copy" effectively copying the object (using COW), and write permission will be added to the maximum protections for the associated entry.
__: u27 = 012
13
14
15
16
17
18
19
20
21
22
23
24pub const vm_prot_t = packed struct(u32) {
READ: bool = false,
WRITE: bool = false,
EXEC: bool = false,
_: u1 = 0,
/// When a caller finds that they cannot obtain write permission on a
/// mapped entry, the following flag can be used. The entry will be
/// made "needs copy" effectively copying the object (using COW),
/// and write permission will be added to the maximum protections for
/// the associated entry.
COPY: bool = false,
__: u27 = 0,
}