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
b2b91754
Unverified
Commit
b2b91754
authored
Nov 27, 2013
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python3: Sort list of exports
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
47a611a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
lxc.c
src/python-lxc/lxc.c
+13
-13
No files found.
src/python-lxc/lxc.c
View file @
b2b91754
...
@@ -1447,19 +1447,6 @@ PyInit__lxc(void)
...
@@ -1447,19 +1447,6 @@ PyInit__lxc(void)
#define PYLXC_EXPORT_CONST(c) \
#define PYLXC_EXPORT_CONST(c) \
PyDict_SetItemString(d, #c, PyLong_FromLong(c))
PyDict_SetItemString(d, #c, PyLong_FromLong(c))
/* environment variable handling */
PYLXC_EXPORT_CONST
(
LXC_ATTACH_KEEP_ENV
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_CLEAR_ENV
);
/* attach options */
PYLXC_EXPORT_CONST
(
LXC_ATTACH_MOVE_TO_CGROUP
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_DROP_CAPABILITIES
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_SET_PERSONALITY
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_LSM_NOW
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_LSM_EXEC
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_REMOUNT_PROC_SYS
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_DEFAULT
);
/* namespace flags (no other python lib exports this) */
/* namespace flags (no other python lib exports this) */
PYLXC_EXPORT_CONST
(
CLONE_NEWUTS
);
PYLXC_EXPORT_CONST
(
CLONE_NEWUTS
);
PYLXC_EXPORT_CONST
(
CLONE_NEWIPC
);
PYLXC_EXPORT_CONST
(
CLONE_NEWIPC
);
...
@@ -1468,6 +1455,19 @@ PyInit__lxc(void)
...
@@ -1468,6 +1455,19 @@ PyInit__lxc(void)
PYLXC_EXPORT_CONST
(
CLONE_NEWNET
);
PYLXC_EXPORT_CONST
(
CLONE_NEWNET
);
PYLXC_EXPORT_CONST
(
CLONE_NEWNS
);
PYLXC_EXPORT_CONST
(
CLONE_NEWNS
);
/* attach: environment variable handling */
PYLXC_EXPORT_CONST
(
LXC_ATTACH_CLEAR_ENV
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_KEEP_ENV
);
/* attach: attach options */
PYLXC_EXPORT_CONST
(
LXC_ATTACH_DEFAULT
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_DROP_CAPABILITIES
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_LSM_EXEC
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_LSM_NOW
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_MOVE_TO_CGROUP
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_REMOUNT_PROC_SYS
);
PYLXC_EXPORT_CONST
(
LXC_ATTACH_SET_PERSONALITY
);
#undef PYLXC_EXPORT_CONST
#undef PYLXC_EXPORT_CONST
return
m
;
return
m
;
...
...
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