enum rpc_prot_flags
Overview
TA-independent memory protection flags for mmap(). More…
#include <te_rpc_sys_mman.h> enum rpc_prot_flags { RPC_PROT_READ = 0x1, RPC_PROT_WRITE = 0x2, RPC_PROT_EXEC = 0x4, RPC_PROT_SEM = 0x8, RPC_PROT_NONE = 0x10, RPC_PROT_GROWSDOWN = 0x20, RPC_PROT_GROWSUP = 0x40, RPC_PROT_UNKNOWN = 0x80, };
Detailed Documentation
TA-independent memory protection flags for mmap().
Enum Values
RPC_PROT_READ
Page can be read
RPC_PROT_WRITE
Page can be written
RPC_PROT_EXEC
Page can be executed
RPC_PROT_SEM
Page may be used for atomic ops
RPC_PROT_NONE
Page cannot be accessed
RPC_PROT_GROWSDOWN
- “mprotect flag: extend change
to start of growsdown vma”
RPC_PROT_GROWSUP
- “mprotect flag: extend change
to end of growsup vma”
RPC_PROT_UNKNOWN
Unknown flag