mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 03:51:53 +02:00
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>.
This commit is contained in:
@@ -165,7 +165,7 @@ host user identifiers to map into the user namespace."
|
|||||||
"Return the number suitable for the 'flags' argument of 'clone' that
|
"Return the number suitable for the 'flags' argument of 'clone' that
|
||||||
corresponds to the symbols in NAMESPACES."
|
corresponds to the symbols in NAMESPACES."
|
||||||
;; Use the same flags as fork(3) in addition to the namespace flags.
|
;; 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
|
(map (match-lambda
|
||||||
('mnt CLONE_NEWNS)
|
('mnt CLONE_NEWNS)
|
||||||
('uts CLONE_NEWUTS)
|
('uts CLONE_NEWUTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user