summaryrefslogtreecommitdiff
path: root/gnu/build
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/build
parent168aba297866295d96779239e9662821ce9e66ae (diff)
linux-container: Add comment on exception handling.
* gnu/build/linux-container.scm (run-container): Add note about writing the exceptions.
Diffstat (limited to 'gnu/build')
-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 cd712395272..dd56a792320 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."
235 namespaces))) 235 namespaces)))
236 (lambda args 236 (lambda args
237 ;; Forward the exception to the parent process. 237 ;; Forward the exception to the parent process.
238 ;; FIXME: SRFI-35 conditions and non-trivial objects
239 ;; cannot be 'read' so they shouldn't be written as is.
238 (write args child) 240 (write args child)
239 (primitive-exit 3)))) 241 (primitive-exit 3))))
240 ;; TODO: Manage capabilities. 242 ;; TODO: Manage capabilities.