guix-commits
[Top][All Lists]
Advanced

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

02/15: build: syscalls: Add unmount flags.


From: David Thompson
Subject: 02/15: build: syscalls: Add unmount flags.
Date: Mon, 06 Jul 2015 13:02:49 +0000

davexunit pushed a commit to branch wip-container
in repository guix.

commit de61c59beb31afdb09fbcf8137b62b7a8faf8a1f
Author: David Thompson <address@hidden>
Date:   Thu Jun 25 08:29:26 2015 -0400

    build: syscalls: Add unmount flags.
    
    * guix/build/syscalls.scm (MNT_FORCE, MNT_DETACH, MNT_EXPIRE)
      (UMOUNT_NOFOLLOW): New variables.
---
 guix/build/syscalls.scm |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index ec1ce89..6d31510 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -34,6 +34,10 @@
             MS_BIND
             MS_MOVE
             MS_STRICTATIME
+            MNT_FORCE
+            MNT_DETACH
+            MNT_EXPIRE
+            UMOUNT_NOFOLLOW
             restart-on-EINTR
             mount
             umount
@@ -150,6 +154,11 @@
 (define MS_MOVE            8192)
 (define MS_STRICTATIME 16777216)
 
+(define MNT_FORCE       1)
+(define MNT_DETACH      2)
+(define MNT_EXPIRE      4)
+(define UMOUNT_NOFOLLOW 8)
+
 (define mount
   (let* ((ptr  (dynamic-func "mount" (dynamic-link)))
          (proc (pointer->procedure int ptr `(* * * ,unsigned-long *))))



reply via email to

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