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
ebc1c319
Unverified
Commit
ebc1c319
authored
May 01, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seccomp: don't commit to an api just yet
I'm not sure that I want to be married (to this layout) just yet. Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
0b8bb8db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
lxccontainer.h
src/lxc/lxccontainer.h
+0
-15
lxcseccomp.h
src/lxc/lxcseccomp.h
+10
-0
No files found.
src/lxc/lxccontainer.h
View file @
ebc1c319
...
@@ -31,11 +31,6 @@
...
@@ -31,11 +31,6 @@
#include <lxc/attach_options.h>
#include <lxc/attach_options.h>
#ifdef SCMP_ACT_USER_NOTIF
#include <linux/seccomp.h>
#include <seccomp.h>
#endif
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
...
@@ -70,16 +65,6 @@ enum {
...
@@ -70,16 +65,6 @@ enum {
LXC_SECCOMP_NOTIFY_MAX
,
LXC_SECCOMP_NOTIFY_MAX
,
};
};
#ifdef SCMP_ACT_USER_NOTIF
struct
seccomp_notify_proxy_msg
{
uint32_t
version
;
struct
seccomp_notif
req
;
struct
seccomp_notif_resp
resp
;
pid_t
monitor_pid
;
pid_t
init_pid
;
};
#endif
/*!
/*!
* An LXC container.
* An LXC container.
*
*
...
...
src/lxc/lxcseccomp.h
View file @
ebc1c319
...
@@ -47,7 +47,17 @@ struct lxc_handler;
...
@@ -47,7 +47,17 @@ struct lxc_handler;
#ifdef HAVE_SECCOMP
#ifdef HAVE_SECCOMP
#if HAVE_DECL_SECCOMP_NOTIF_GET_FD
#if HAVE_DECL_SECCOMP_NOTIF_GET_FD
struct
seccomp_notify_proxy_msg
{
uint32_t
version
;
struct
seccomp_notif
req
;
struct
seccomp_notif_resp
resp
;
pid_t
monitor_pid
;
pid_t
init_pid
;
}
__attribute__
((
packed
,
aligned
(
8
)));
struct
seccomp_notify
{
struct
seccomp_notify
{
bool
wants_supervision
;
bool
wants_supervision
;
int
notify_fd
;
int
notify_fd
;
...
...
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