public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135463e
)
remount: add new syscall interface
author
Alan Cox
<alan@linux.intel.com>
Sun, 22 Oct 2017 14:13:13 +0000
(15:13 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 22 Oct 2017 14:13:13 +0000
(15:13 +0100)
Library/libs/remount.c
[new file with mode: 0644]
patch
|
blob
diff --git a/Library/libs/remount.c
b/Library/libs/remount.c
new file mode 100644
(file)
index 0000000..
0b9ba1d
--- /dev/null
+++ b/
Library/libs/remount.c
@@ -0,0
+1,7
@@
+#include <syscalls.h>
+#include <sys/mount.h>
+
+int remount(const char *target, int flags)
+{
+ return _umount(target, flags | MS_REMOUNT);
+}