2 * SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name,
3 char __user *, type, unsigned long, flags, void __user *, data)
10 //TODO: fill out 'type' with something random from /proc/filesystems
12 struct syscallentry syscall_mount
= {
15 .arg1name
= "dev_name",
16 .arg1type
= ARG_PATHNAME
,
17 .arg2name
= "dir_name",
18 .arg2type
= ARG_PATHNAME
,
20 .arg3type
= ARG_ADDRESS
,
26 MS_RDONLY
, MS_NOSUID
, MS_NODEV
, MS_NOEXEC
,
27 MS_SYNCHRONOUS
, MS_REMOUNT
, MS_MANDLOCK
, MS_DIRSYNC
,
28 MS_NOATIME
, MS_NODIRATIME
, MS_BIND
, MS_MOVE
,
29 MS_REC
, MS_VERBOSE
, MS_SILENT
, MS_POSIXACL
,
30 MS_UNBINDABLE
, MS_PRIVATE
, MS_SLAVE
, MS_SHARED
,
31 MS_RELATIME
, MS_KERNMOUNT
, MS_I_VERSION
, MS_STRICTATIME
,
32 MS_SNAP_STABLE
, MS_NOSEC
, MS_BORN
, MS_ACTIVE
,
36 .arg5type
= ARG_ADDRESS
,