summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 0b98c580..2ecc0564 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -8,30 +8,30 @@ use ::unistd::Pid;
// For some functions taking with a parameter of type CloneFlags,
// only a subset of these flags have an effect.
libc_bitflags!{
- pub flags CloneFlags: libc::c_int {
- CLONE_VM,
- CLONE_FS,
- CLONE_FILES,
- CLONE_SIGHAND,
- CLONE_PTRACE,
- CLONE_VFORK,
- CLONE_PARENT,
- CLONE_THREAD,
- CLONE_NEWNS,
- CLONE_SYSVSEM,
- CLONE_SETTLS,
- CLONE_PARENT_SETTID,
- CLONE_CHILD_CLEARTID,
- CLONE_DETACHED,
- CLONE_UNTRACED,
- CLONE_CHILD_SETTID,
- CLONE_NEWCGROUP,
- CLONE_NEWUTS,
- CLONE_NEWIPC,
- CLONE_NEWUSER,
- CLONE_NEWPID,
- CLONE_NEWNET,
- CLONE_IO,
+ pub struct CloneFlags: libc::c_int {
+ CLONE_VM;
+ CLONE_FS;
+ CLONE_FILES;
+ CLONE_SIGHAND;
+ CLONE_PTRACE;
+ CLONE_VFORK;
+ CLONE_PARENT;
+ CLONE_THREAD;
+ CLONE_NEWNS;
+ CLONE_SYSVSEM;
+ CLONE_SETTLS;
+ CLONE_PARENT_SETTID;
+ CLONE_CHILD_CLEARTID;
+ CLONE_DETACHED;
+ CLONE_UNTRACED;
+ CLONE_CHILD_SETTID;
+ CLONE_NEWCGROUP;
+ CLONE_NEWUTS;
+ CLONE_NEWIPC;
+ CLONE_NEWUSER;
+ CLONE_NEWPID;
+ CLONE_NEWNET;
+ CLONE_IO;
}
}