struct NonRootAtSecureParam

Defined at line 1797 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc

Verifies that when a non-root caller executes a binary with non-empty file

capabilities, AT_SECURE is set to 1 even if the caller already held those

capabilities in P(permitted) and P(effective) prior to execve(2) (since

non-ambient capabilities would otherwise have been dropped by execve(2)).

Public Members

basic_string name
bool file_effective
bool hold_caps_before_exec