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
f9df3281
Unverified
Commit
f9df3281
authored
May 18, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxccontainer: remove unused function
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
89f59fa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
lxccontainer.c
src/lxc/lxccontainer.c
+0
-22
No files found.
src/lxc/lxccontainer.c
View file @
f9df3281
...
@@ -4963,28 +4963,6 @@ out:
...
@@ -4963,28 +4963,6 @@ out:
return
ret
;
return
ret
;
}
}
static
int
do_lxcapi_seccomp_notify
(
struct
lxc_container
*
c
,
unsigned
int
cmd
,
int
fd
)
{
#if HAVE_DECL_SECCOMP_NOTIF_GET_FD
if
(
!
c
||
!
c
->
lxc_conf
)
return
minus_one_set_errno
(
-
EINVAL
);
switch
(
cmd
)
{
case
LXC_SECCOMP_NOTIFY_GET_FD
:
if
(
fd
)
return
minus_one_set_errno
(
EINVAL
);
return
c
->
lxc_conf
->
seccomp_notify_fd
;
}
return
minus_one_set_errno
(
EINVAL
);
#else
return
minus_one_set_errno
(
ENOSYS
);
#endif
}
WRAP_API_2
(
int
,
lxcapi_seccomp_notify
,
unsigned
int
,
int
)
struct
lxc_container
*
lxc_container_new
(
const
char
*
name
,
const
char
*
configpath
)
struct
lxc_container
*
lxc_container_new
(
const
char
*
name
,
const
char
*
configpath
)
{
{
struct
lxc_container
*
c
;
struct
lxc_container
*
c
;
...
...
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