• Home
  • Raw
  • Download

Lines Matching refs:type

35 				 r->param.mount.type->name,  in tomoyo_audit_mount_log()
55 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl()
79 const struct path *dir, const char *type, in tomoyo_mount_acl() argument
97 requested_type = tomoyo_encode(type); in tomoyo_mount_acl()
114 if (type == tomoyo_mounts[TOMOYO_MOUNT_REMOUNT]) { in tomoyo_mount_acl()
116 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_UNBINDABLE] || in tomoyo_mount_acl()
117 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_PRIVATE] || in tomoyo_mount_acl()
118 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SLAVE] || in tomoyo_mount_acl()
119 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SHARED]) { in tomoyo_mount_acl()
121 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_BIND] || in tomoyo_mount_acl()
122 type == tomoyo_mounts[TOMOYO_MOUNT_MOVE]) { in tomoyo_mount_acl()
125 fstype = get_fs_type(type); in tomoyo_mount_acl()
162 r->param.mount.type = &rtype; in tomoyo_mount_acl()
192 const char *type, unsigned long flags, in tomoyo_mount_permission() argument
205 type = tomoyo_mounts[TOMOYO_MOUNT_REMOUNT]; in tomoyo_mount_permission()
208 type = tomoyo_mounts[TOMOYO_MOUNT_BIND]; in tomoyo_mount_permission()
213 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_SHARED]; in tomoyo_mount_permission()
218 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_PRIVATE]; in tomoyo_mount_permission()
223 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_SLAVE]; in tomoyo_mount_permission()
228 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_UNBINDABLE]; in tomoyo_mount_permission()
231 type = tomoyo_mounts[TOMOYO_MOUNT_MOVE]; in tomoyo_mount_permission()
234 if (!type) in tomoyo_mount_permission()
235 type = "<NULL>"; in tomoyo_mount_permission()
237 error = tomoyo_mount_acl(&r, dev_name, path, type, flags); in tomoyo_mount_permission()