~ruther/guix-local

36c4917c910f434524aae32725582d5bc51a44e0 — Ludovic Courtès 9 years ago 168aba2
linux-container: Add comment on exception handling.

* gnu/build/linux-container.scm (run-container): Add note about writing
the exceptions.
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/build/linux-container.scm
M gnu/build/linux-container.scm => gnu/build/linux-container.scm +2 -0
@@ 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.