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
afc54276
Commit
afc54276
authored
Oct 20, 2016
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s390x: Fix seccomp handling of personalities
There are no personalities for s390x, so don't list itself as one. Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
af28b82b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
seccomp.c
src/lxc/seccomp.c
+0
-9
No files found.
src/lxc/seccomp.c
View file @
afc54276
...
@@ -378,15 +378,6 @@ static int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf)
...
@@ -378,15 +378,6 @@ static int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf)
if
(
!
compat_ctx
[
0
]
||
!
compat_ctx
[
1
])
if
(
!
compat_ctx
[
0
]
||
!
compat_ctx
[
1
])
goto
bad
;
goto
bad
;
#endif
#endif
#ifdef SCMP_ARCH_S390X
}
else
if
(
native_arch
==
lxc_seccomp_arch_s390x
)
{
cur_rule_arch
=
lxc_seccomp_arch_all
;
compat_arch
[
0
]
=
SCMP_ARCH_S390X
;
compat_ctx
[
0
]
=
get_new_ctx
(
lxc_seccomp_arch_s390x
,
default_policy_action
);
if
(
!
compat_ctx
[
0
])
goto
bad
;
#endif
}
}
if
(
default_policy_action
!=
SCMP_ACT_KILL
)
{
if
(
default_policy_action
!=
SCMP_ACT_KILL
)
{
...
...
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