class CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test

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

From

<https

://man7.org/linux/man-pages/man7/capabilities.7.html>:

P'(permitted) = (P(inheritable)

&

F(inheritable)) |

(F(permitted)

&

P(bounding)) | P'(ambient)

P'(effective) = F(effective) ? P'(permitted) : P'(ambient)

Verifies that executing a binary with V2 file capabilities without the

effective bit set (F(effective) = 0) grants the capabilities in the permitted

set, but leaves the effective set empty (since P'(ambient) is 0).

Public Methods

void CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test ()

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

void CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test (const CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test & )

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

void CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test (CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test && )

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

CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test & operator= (const CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test & )

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

CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test & operator= (CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test && )

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

void ~CapsExecTest_FileV2NotEffectiveCapsGrantsPermittedOnly_Test ()

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