class CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test

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

From

<https

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

The kernel recognizes a file which has the file effective bit set as

capability-dumb for the purpose of the check described here. When

executing a capability-dumb binary, the kernel checks if the process

obtained all permitted capabilities that were specified in the file

permitted set [...]. If the process did not obtain the full set of file

permitted capabilities, then execve(2) fails with the error EPERM.

Verifies that executing a binary with F(effective) set fails with EPERM if

the caller's bounding set excludes any capability in F(permitted).

Public Methods

void CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test ()

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

void CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test (const CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test & )

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

void CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test (CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test && )

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

CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test & operator= (const CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test & )

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

CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test & operator= (CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test && )

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

void ~CapsExecTest_FileEffectiveCapsFailsWhenBoundingSetExcludesPermitted_Test ()

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