Trait numa_gpu::runtime::linux_wrapper::MemProtect
source · [−]pub trait MemProtect {
fn mprotect(&self, flags: MemProtectFlags) -> Result<()>;
}
Expand description
Defines the mprotect
system call for the type
Required methods
fn mprotect(&self, flags: MemProtectFlags) -> Result<()>
fn mprotect(&self, flags: MemProtectFlags) -> Result<()>
Sets the protection flags of a memory region
Refer to man mprotect
for details.