Skip to content

Commit f9cf4c0

Browse files
committed
CMake: Fix sabotaged Landlock sandbox check.
It never enabled it.
1 parent af071ef commit f9cf4c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ if(NOT SANDBOX_FOUND AND ENABLE_SANDBOX MATCHES "^ON$|^landlock$")
10011001
#include <linux/landlock.h>
10021002
#include <sys/syscall.h>
10031003
#include <sys/prctl.h>
1004-
.
1004+
10051005
void my_sandbox(void)
10061006
{
10071007
(void)prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);

0 commit comments

Comments
 (0)