diff options
Diffstat (limited to 'run_landlock.c')
-rw-r--r-- | run_landlock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/run_landlock.c b/run_landlock.c index 9df3b42..7f5394d 100644 --- a/run_landlock.c +++ b/run_landlock.c @@ -164,12 +164,8 @@ static int landlock_init(char *argv0, struct landlock_ruleset_attr *attr) int ruleset; errno = 0; - ruleset = syscall(SYS_landlock_create_ruleset, attr, sizeof(struct landlock_ruleset_attr), 0); - if (ruleset != -1) - return ruleset; - switch (errno) { case 0: return ruleset; |