From 36c4917c910f434524aae32725582d5bc51a44e0 Mon Sep 17 00:00:00 2001
From: Ludovic Courtès <ludo@gnu.org>
Date: Sat, 4 Feb 2017 18:14:12 +0100
Subject: linux-container: Add comment on exception handling.

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

(limited to 'gnu/build/linux-container.scm')

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.
-- 
cgit 1.4.1