aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-02-04 18:14:12 +0100
committerLudovic Courtès <ludo@gnu.org>2017-02-06 10:51:25 +0100
commit36c4917c910f434524aae32725582d5bc51a44e0 (patch)
tree8011f0d4cd6c6404c9f62603b3dc39f9bf7fc9fd /gnu
parent168aba297866295d96779239e9662821ce9e66ae (diff)
downloadguix-36c4917c910f434524aae32725582d5bc51a44e0.tar
guix-36c4917c910f434524aae32725582d5bc51a44e0.tar.gz
linux-container: Add comment on exception handling.
* gnu/build/linux-container.scm (run-container): Add note about writing the exceptions.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/build/linux-container.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index cd71239527..dd56a79232 100644
--- a/gnu/build/linux-container.scm
+++ b/gnu/build/linux-container.scm
@@ -235,6 +235,8 @@ host user identifiers to map into the user namespace."
namespaces)))
(lambda args
;; Forward the exception to the parent process.
+ ;; FIXME: SRFI-35 conditions and non-trivial objects
+ ;; cannot be 'read' so they shouldn't be written as is.
(write args child)
(primitive-exit 3))))
;; TODO: Manage capabilities.