class Permissions

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

Public Methods

Permissions Ro ()

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

Permissions Rw ()

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

Permissions Rx ()

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

Permissions Xom ()

Defined at line 137 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 142 of file ../../zircon/kernel/phys/include/phys/handoff.h

void Permissions ()

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

bool operator== (const Permissions & )

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

bool readable ()

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

bool writable ()

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

bool executable ()

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

Permissions & set_readable (bool value)

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

Permissions & set_writable (bool value)

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

Permissions & set_executable (bool value)

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

Permissions & operator|= (const Permissions & other)

Defined at line 172 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 178 of file ../../zircon/kernel/phys/include/phys/handoff.h