all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org, Justus Winter <4winter@informatik.uni-hamburg.de>
Subject: Re: [PATCH] build: syscalls: Delay syscalls evaluation.
Date: Sun, 07 Feb 2016 21:47:49 +0100	[thread overview]
Message-ID: <87d1s8s0wa.fsf@gnu.org> (raw)
In-Reply-To: <878u2x4u7b.fsf@netris.org> (Mark H. Weaver's message of "Sat, 06 Feb 2016 12:36:24 -0500")

Mark H Weaver <mhw@netris.org> skribis:

> From b283ad4097a48de11a616083da09ae0e76bab343 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> Date: Sat, 22 Aug 2015 13:07:50 -0400
> Subject: [PATCH] syscalls: If a syscall is not available, defer the error.
>
> * guix/build/syscalls.scm (syscall->procedure): New procedure.
>   (mount, umount, swapon, swapoff, clone, setns, pivot-root): Use it.

Even better, indeed.

[...]

> +(define (syscall->procedure return-type name argument-types)
> +  "Return a procedure that wraps the C function NAME using the dynamic FFI.
> +If an error occurs while creating the binding, defer the error report until
> +the returned procedure is called."

Maybe add this is for GNU/Hurd, which lacks some of these wrappers.

Otherwise OK, please push!

Thanks to the two of you,
Ludo’.

  reply	other threads:[~2016-02-07 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 13:01 [PATCH] build: syscalls: Delay syscalls evaluation Manolis Ragkousis
2016-02-06 17:36 ` Mark H Weaver
2016-02-07 20:47   ` Ludovic Courtès [this message]
2016-02-10 12:53   ` Manolis Ragkousis
2016-04-18 17:39     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1s8s0wa.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=4winter@informatik.uni-hamburg.de \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.