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
b322965e
Unverified
Commit
b322965e
authored
Jun 11, 2019
by
Stéphane Graber
Committed by
GitHub
Jun 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3038 from brauner/master
seccomp: s/SCMP_FLTATR_NEW_LISTENER/SECCOMP_FILTER_FLAG_NEW_LISTENER/g
parents
76b65b40
2e5bcac3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
seccomp.c
src/lxc/seccomp.c
+2
-2
No files found.
src/lxc/seccomp.c
View file @
b322965e
...
@@ -945,12 +945,12 @@ static int parse_config_v2(FILE *f, char *line, size_t *line_bufsz, struct lxc_c
...
@@ -945,12 +945,12 @@ static int parse_config_v2(FILE *f, char *line, size_t *line_bufsz, struct lxc_c
if
((
rule
.
action
==
SCMP_ACT_NOTIFY
)
&&
if
((
rule
.
action
==
SCMP_ACT_NOTIFY
)
&&
!
conf
->
seccomp
.
notifier
.
wants_supervision
)
{
!
conf
->
seccomp
.
notifier
.
wants_supervision
)
{
ret
=
seccomp_attr_set
(
conf
->
seccomp
.
seccomp_ctx
,
ret
=
seccomp_attr_set
(
conf
->
seccomp
.
seccomp_ctx
,
S
CMP_FLTATR
_NEW_LISTENER
,
1
);
S
ECCOMP_FILTER_FLAG
_NEW_LISTENER
,
1
);
if
(
ret
)
if
(
ret
)
goto
bad_rule
;
goto
bad_rule
;
conf
->
seccomp
.
notifier
.
wants_supervision
=
true
;
conf
->
seccomp
.
notifier
.
wants_supervision
=
true
;
TRACE
(
"Set S
CMP_FLTATR
_NEW_LISTENER attribute"
);
TRACE
(
"Set S
ECCOMP_FILTER_FLAG
_NEW_LISTENER attribute"
);
}
}
#endif
#endif
...
...
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