Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
8ff5a3e4
Commit
8ff5a3e4
authored
Apr 03, 2022
by
Sebastian Ramacher
Browse files
Merge branch 'master' into 'develop'
Clean process shutdown by sandbox See merge request
!52
parents
87989da7
b951d024
Pipeline
#446
failed with stages
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
zathura/seccomp-filters.c
View file @
8ff5a3e4
...
...
@@ -132,7 +132,10 @@ seccomp_enable_strict_filter(void)
}
/* initialize the filter */
scmp_filter_ctx
ctx
=
seccomp_init
(
SCMP_ACT_KILL
);
/* ENOSYS tells the calling process that the syscall is not implemented,
* allowing for a potential fallback function to execute
* scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ERRNO(ENOSYS));*/
scmp_filter_ctx
ctx
=
seccomp_init
(
SCMP_ACT_KILL_PROCESS
);
if
(
ctx
==
NULL
){
girara_error
(
"seccomp_init failed"
);
return
-
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment