[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: container: Remove unnecessary CLONE_CHILD_* flags.
From: |
Ludovic Courtès |
Subject: |
02/02: container: Remove unnecessary CLONE_CHILD_* flags. |
Date: |
Wed, 28 Oct 2015 14:32:11 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 35b50a753563c03a57d98761d7ebff12efdd5c3d
Author: Ludovic Courtès <address@hidden>
Date: Wed Oct 28 15:30:31 2015 +0100
container: Remove unnecessary CLONE_CHILD_* flags.
* gnu/build/linux-container.scm (namespaces->bit-mask): Remove
CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID, which are unneeded.
Discussed at <http://bugs.gnu.org/21694>.
---
gnu/build/linux-container.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index e911494..556422b 100644
--- a/gnu/build/linux-container.scm
+++ b/gnu/build/linux-container.scm
@@ -165,7 +165,7 @@ host user identifiers to map into the user namespace."
"Return the number suitable for the 'flags' argument of 'clone' that
corresponds to the symbols in NAMESPACES."
;; Use the same flags as fork(3) in addition to the namespace flags.
- (apply logior SIGCHLD CLONE_CHILD_CLEARTID CLONE_CHILD_SETTID
+ (apply logior SIGCHLD
(map (match-lambda
('mnt CLONE_NEWNS)
('uts CLONE_NEWUTS)