class Permissions

Defined at line 131 of file ../../zircon/kernel/phys/include/phys/handoff.h

Public Methods

Permissions Ro ()

Defined at line 133 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions Rw ()

Defined at line 134 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions Rx ()

Defined at line 135 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions Xom ()

Defined at line 136 of file ../../zircon/kernel/phys/include/phys/handoff.h

template <auto& segment>
Permissions FromSegment (const auto & segment)

This works on anything with .readable(), .writable(), and .executable()

methods, which includes this class itself as well as elfldltl::LoadInfo

segment types.

Defined at line 141 of file ../../zircon/kernel/phys/include/phys/handoff.h

void Permissions ()

Defined at line 148 of file ../../zircon/kernel/phys/include/phys/handoff.h

bool operator== (const Permissions & )

Defined at line 150 of file ../../zircon/kernel/phys/include/phys/handoff.h

bool readable ()

Defined at line 152 of file ../../zircon/kernel/phys/include/phys/handoff.h

bool writable ()

Defined at line 153 of file ../../zircon/kernel/phys/include/phys/handoff.h

bool executable ()

Defined at line 154 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions & set_readable (bool value)

Defined at line 156 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions & set_writable (bool value)

Defined at line 161 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions & set_executable (bool value)

Defined at line 166 of file ../../zircon/kernel/phys/include/phys/handoff.h

Permissions & operator|= (const Permissions & other)

Defined at line 171 of file ../../zircon/kernel/phys/include/phys/handoff.h

std::array<char, 4> desc ()

This returns a NUL-terminated string, always 3 chars long before the NUL.

Defined at line 177 of file ../../zircon/kernel/phys/include/phys/handoff.h