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
cb039564
Commit
cb039564
authored
Jul 07, 2009
by
Daniel Lezcano
Committed by
Daniel Lezcano
Jul 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove fork_ns code
This code is no longer used, remove it. Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
50e98013
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
namespace.h
src/lxc/namespace.h
+0
-12
No files found.
src/lxc/namespace.h
View file @
cb039564
...
...
@@ -49,18 +49,6 @@
# define CLONE_NEWNET 0x40000000
#endif
#if __i386__ || __x86_64__ || __powerpc__
# define fork_ns(flags) syscall(SYS_clone, flags|SIGCHLD, NULL)
#elif __s390__
# define fork_ns(flags) syscall(SYS_clone, NULL, flags|SIGCHLD)
#elif __ia64__
# define fork_ns(flags) syscall(SYS_clone2, flags|SIGCHLD, NULL)
#else
# error "unsupported architecture"
#endif
#define unshare_ns(flags) unshare(flags)
extern
pid_t
lxc_clone
(
int
(
*
fn
)(
void
*
),
void
*
arg
,
int
flags
);
#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