Lines Matching full:mount
3 * security/tomoyo/mount.c
11 /* String table for special mount operations. */
23 * tomoyo_audit_mount_log - Audit mount log.
31 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log()
32 r->param.mount.dev->name, in tomoyo_audit_mount_log()
33 r->param.mount.dir->name, in tomoyo_audit_mount_log()
34 r->param.mount.type->name, in tomoyo_audit_mount_log()
35 r->param.mount.flags); in tomoyo_audit_mount_log()
51 return tomoyo_compare_number_union(r->param.mount.flags, in tomoyo_check_mount_acl()
53 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl()
55 tomoyo_compare_name_union(r->param.mount.dir, in tomoyo_check_mount_acl()
57 (!r->param.mount.need_dev || in tomoyo_check_mount_acl()
58 tomoyo_compare_name_union(r->param.mount.dev, in tomoyo_check_mount_acl()
63 * tomoyo_mount_acl - Check permission for mount() operation.
69 * @flags: Mount options.
100 /* Get mount point. */ in tomoyo_mount_acl()
132 /* Get mount point or device file. */ in tomoyo_mount_acl()
156 r->param.mount.need_dev = need_dev; in tomoyo_mount_acl()
157 r->param.mount.dev = &rdev; in tomoyo_mount_acl()
158 r->param.mount.dir = &rdir; in tomoyo_mount_acl()
159 r->param.mount.type = &rtype; in tomoyo_mount_acl()
160 r->param.mount.flags = flags; in tomoyo_mount_acl()
178 * tomoyo_mount_permission - Check permission for mount() operation.
183 * @flags: Mount options.