Skip to content

Commit af491da

Browse files
authored
Fix mising UTS flags for unshare (#759)
1 parent b15b279 commit af491da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/thread/setns.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ bitflags! {
6565
/// `CLONE_FS`.
6666
const FS = CLONE_FS;
6767
/// `CLONE_NEWCGROUP`.
68-
const NWCGROUP = CLONE_NEWCGROUP;
68+
const NEWCGROUP = CLONE_NEWCGROUP;
6969
/// `CLONE_NEWIPC`.
7070
const NEWIPC = CLONE_NEWIPC;
7171
/// `CLONE_NEWNET`.
@@ -78,6 +78,8 @@ bitflags! {
7878
const NEWTIME = CLONE_NEWTIME;
7979
/// `CLONE_NEWUSER`.
8080
const NEWUSER = CLONE_NEWUSER;
81+
/// `CLONE_NEWUTS`
82+
const NEWUTS = CLONE_NEWUTS;
8183
/// `CLONE_SYSVSEM`.
8284
const SYSVSEM = CLONE_SYSVSEM;
8385
}

0 commit comments

Comments
 (0)