NAME landlock_restrict_self - enforce a Landlock ruleset LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... constants */ int syscall(SYS_landlock_restrict_self, int ruleset_fd …rule to a ruleset; • landlock_restrict_self (2) enforces a ruleset on the calling thread ... sandbox itself with the ruleset. if (landlock_restrict_self(ruleset_fd, 0)) { perror("F…landlock_add_rule (2) and landlock_restrict_self (2). See landlock (7) for a global ... ALSO landlock_add_rule (2), landlock_restrict_self (2), landlockALSO landlock_create_ruleset (2), landlock_restrict_self (2), landlocklandlock_create_ruleset (2) 5.13 landlock_restrict_self (2) 5.13 lchown (2) 1.0 See chown