Lines Matching full:mount
3 * security/tomoyo/mount.c
9 #include <uapi/linux/mount.h>
12 /* String table for special mount operations. */
24 * tomoyo_audit_mount_log - Audit mount log.
32 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log()
33 r->param.mount.dev->name, in tomoyo_audit_mount_log()
34 r->param.mount.dir->name, in tomoyo_audit_mount_log()
35 r->param.mount.type->name, in tomoyo_audit_mount_log()
36 r->param.mount.flags); in tomoyo_audit_mount_log()
53 return tomoyo_compare_number_union(r->param.mount.flags, in tomoyo_check_mount_acl()
55 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl()
57 tomoyo_compare_name_union(r->param.mount.dir, in tomoyo_check_mount_acl()
59 (!r->param.mount.need_dev || in tomoyo_check_mount_acl()
60 tomoyo_compare_name_union(r->param.mount.dev, in tomoyo_check_mount_acl()
65 * tomoyo_mount_acl - Check permission for mount() operation.
71 * @flags: Mount options.
103 /* Get mount point. */ in tomoyo_mount_acl()
135 /* Get mount point or device file. */ in tomoyo_mount_acl()
159 r->param.mount.need_dev = need_dev; in tomoyo_mount_acl()
160 r->param.mount.dev = &rdev; in tomoyo_mount_acl()
161 r->param.mount.dir = &rdir; in tomoyo_mount_acl()
162 r->param.mount.type = &rtype; in tomoyo_mount_acl()
163 r->param.mount.flags = flags; in tomoyo_mount_acl()
181 * tomoyo_mount_permission - Check permission for mount() operation.
186 * @flags: Mount options.