Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
23b50e75
Unverified
Commit
23b50e75
authored
Jun 12, 2019
by
Stéphane Graber
Committed by
GitHub
Jun 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3041 from brauner/2019-06-12/seccomp_notify_fixes
seccomp: do not set SECCOMP_FILTER_FLAG_NEW_LISTENER
parents
29597423
f73adb35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
seccomp.c
src/lxc/seccomp.c
+0
-5
No files found.
src/lxc/seccomp.c
View file @
23b50e75
...
...
@@ -944,11 +944,6 @@ static int parse_config_v2(FILE *f, char *line, size_t *line_bufsz, struct lxc_c
#if HAVE_DECL_SECCOMP_NOTIFY_FD
if
((
rule
.
action
==
SCMP_ACT_NOTIFY
)
&&
!
conf
->
seccomp
.
notifier
.
wants_supervision
)
{
ret
=
seccomp_attr_set
(
conf
->
seccomp
.
seccomp_ctx
,
SECCOMP_FILTER_FLAG_NEW_LISTENER
,
1
);
if
(
ret
)
goto
bad_rule
;
conf
->
seccomp
.
notifier
.
wants_supervision
=
true
;
TRACE
(
"Set SECCOMP_FILTER_FLAG_NEW_LISTENER attribute"
);
}
...
...
Write
Preview
Markdown
is supported
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