class CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
From
<https
://man7.org/linux/man-pages/man7/capabilities.7.html>:
Note that one can assign empty capability sets to a program file, and
thus it is possible to create a set-user-ID-root program that changes
the effective and saved set-user-ID of the process that executes the
program to 0, but confers no capabilities to that process.
Verifies that when a non-root user executes a set-user-ID-root binary with
an empty file capability set, its effective and saved set-user-ID become 0
while no capabilities are conferred.
Public Methods
void CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test ()
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test (const CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test & )
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test (CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test && )
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test & operator= (const CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test & )
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test & operator= (CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test && )
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void ~CapsExecTest_SuidRootBinaryWithEmptyFileCapabilitiesConfersNoCapabilities_Test ()
Defined at line 1411 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc