repo.or.cz
/
trinity.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move_pages: just use calloc
[trinity.git]
/
syscalls
/
umount.c
blob
87ebcaf44771f9e93438cf014cdd8543f53aab5a
1
/*
2
* SYSCALL_DEFINE2(umount, char __user *, name, int, flags)
3
*/
4
#include <sys/mount.h>
5
#include
"sanitise.h"
6
#include
"compat.h"
7
8
struct
syscallentry syscall_umount
= {
9
.
name
=
"umount"
,
10
.
num_args
=
2
,
11
.
arg1name
=
"name"
,
12
.
arg1type
=
ARG_PATHNAME
,
13
.
arg2name
=
"flags"
,
14
.
arg2type
=
ARG_LIST
,
15
.
arg2list
= {
16
.
num
=
4
,
17
.
values
= {
MNT_FORCE
,
MNT_DETACH
,
MNT_EXPIRE
,
UMOUNT_NOFOLLOW
},
18
},
19
.
group
=
GROUP_VFS
,
20
};