guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: linux-container: Add comment on exception handling.


From: Ludovic Courtès
Subject: 02/04: linux-container: Add comment on exception handling.
Date: Mon, 6 Feb 2017 09:51:52 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 36c4917c910f434524aae32725582d5bc51a44e0
Author: Ludovic Courtès <address@hidden>
Date:   Sat Feb 4 18:14:12 2017 +0100

    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(+)

diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index cd71239..dd56a79 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]