[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: build: syscalls: Add unmount flags.
From: |
David Thompson |
Subject: |
04/15: build: syscalls: Add unmount flags. |
Date: |
Thu, 02 Jul 2015 00:58:57 +0000 |
davexunit pushed a commit to branch wip-container
in repository guix.
commit 63edd228f22cec5ece9bf963c89b7d247476e156
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 37ded8d..61877bf 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
@@ -159,6 +163,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 *))))
- branch wip-container created (now a3cbf11), David Thompson, 2015/07/01
- 02/15: build: syscalls: Add setns syscall wrapper., David Thompson, 2015/07/01
- 03/15: build: syscalls: Add additional mount flags., David Thompson, 2015/07/01
- 04/15: build: syscalls: Add unmount flags.,
David Thompson <=
- 05/15: build: syscalls: Add pivot-root., David Thompson, 2015/07/01
- 06/15: build: syscalls: Add mkdtemp!, David Thompson, 2015/07/01
- 07/15: utils: Add call-with-temporary-directory., David Thompson, 2015/07/01
- 01/15: build: syscalls: Add clone syscall wrapper., David Thompson, 2015/07/01
- 10/15: gnu: system: Move file-system->spec to (gnu system file-systems)., David Thompson, 2015/07/01
- 09/15: gnu: system: Move <file-system-mapping> into (gnu system file-systems)., David Thompson, 2015/07/01
- 12/15: gnu: system: Add Linux container file systems., David Thompson, 2015/07/01
- 11/15: gnu: system: Add Linux container module., David Thompson, 2015/07/01
- 14/15: scripts: environment: Add --container option., David Thompson, 2015/07/01
- 08/15: gnu: build: Add Linux container module., David Thompson, 2015/07/01