class CapsExecTest_NosuidMountIgnoresFileCapabilities_Test
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
From
<https
://man7.org/linux/man-pages/man2/execve.2.html>:
The set-user-ID and set-group-ID mode bits of a program are ignored if
any of the following is true:
...
• the underlying filesystem is mounted nosuid (the MS_NOSUID flag for
mount(2));
...
The capabilities of the program file (see capabilities(7)) are also
ignored if any of the above are true.
Verifies that when the filesystem is mounted with MS_NOSUID, file
capabilities are ignored during execve(2).
Public Methods
void CapsExecTest_NosuidMountIgnoresFileCapabilities_Test ()
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void CapsExecTest_NosuidMountIgnoresFileCapabilities_Test (const CapsExecTest_NosuidMountIgnoresFileCapabilities_Test & )
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void CapsExecTest_NosuidMountIgnoresFileCapabilities_Test (CapsExecTest_NosuidMountIgnoresFileCapabilities_Test && )
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
CapsExecTest_NosuidMountIgnoresFileCapabilities_Test & operator= (const CapsExecTest_NosuidMountIgnoresFileCapabilities_Test & )
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
CapsExecTest_NosuidMountIgnoresFileCapabilities_Test & operator= (CapsExecTest_NosuidMountIgnoresFileCapabilities_Test && )
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc
void ~CapsExecTest_NosuidMountIgnoresFileCapabilities_Test ()
Defined at line 1667 of file ../../src/starnix/tests/syscalls/cpp/capabilities_test.cc