[−]Struct sunrise_libuser::syscalls::ProcInfoFlags
Miscelaneous flags.
Implementations
impl ProcInfoFlags
[src]
pub fn check(&self) -> Result<(), KernelError>
[src]
Checks that the ProcInfoFlags doesn't contain any unknown bits.
impl ProcInfoFlags
pub fn is_64bit(&self) -> bool
64-bit instructions support.
pub fn set_64bit(&mut self, value: bool)
64-bit instructions support.
pub fn address_space_type(&self) -> ProcInfoAddrSpace
Address space width of the process.
pub fn set_address_space_type(&mut self, value: ProcInfoAddrSpace)
Address space width of the process.
pub fn is_debug(&self) -> bool
Whether to signal various conditions (such as exceptions).
pub fn set_debug(&mut self, value: bool)
Whether to signal various conditions (such as exceptions).
pub fn is_aslr(&self) -> bool
Enable randomization of the various memory regions (heap, stack, etc...).
pub fn set_aslr(&mut self, value: bool)
Enable randomization of the various memory regions (heap, stack, etc...).
pub fn is_application(&self) -> bool
Process is an application. There can only be one application running at any given time.
pub fn set_application(&mut self, value: bool)
Process is an application. There can only be one application running at any given time.
pub fn use_secure_memory(&self) -> bool
unknown.
pub fn pool_partition(&self) -> PoolPartition
The memory pool to use for this process.
pub fn set_pool_partition(&mut self, value: PoolPartition)
The memory pool to use for this process.
pub fn optimize_memory_allocation(&self) -> bool
unknown
Trait Implementations
impl<T> BitRange<T> for ProcInfoFlags where
u32: BitRange<T>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
impl Debug for ProcInfoFlags
Auto Trait Implementations
impl RefUnwindSafe for ProcInfoFlags
impl Send for ProcInfoFlags
impl Sync for ProcInfoFlags
impl Unpin for ProcInfoFlags
impl UnwindSafe for ProcInfoFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
T: BitRange<u8>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&Self) -> usize
[src]
fn is_cool(usize, usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(usize, usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(usize, usize) -> &'a mut T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,