Lines Matching refs:name
82 tomoyo_compare_name_union(const struct tomoyo_path_info *name, in tomoyo_compare_name_union() argument
86 return tomoyo_path_matches_group(name, ptr->group); in tomoyo_compare_name_union()
87 if (tomoyo_path_matches_pattern(name, ptr->filename)) in tomoyo_compare_name_union()
137 strcat((char *) buf->name, "/"); in tomoyo_add_slash()
151 buf->name = tomoyo_realpath_from_path(path); in tomoyo_get_realpath()
152 if (buf->name) { in tomoyo_get_realpath()
170 r->param.path.filename->name); in tomoyo_audit_path_log()
184 r->param.path2.filename1->name, in tomoyo_audit_path2_log()
185 r->param.path2.filename2->name); in tomoyo_audit_path2_log()
200 r->param.mkdev.filename->name, in tomoyo_audit_mkdev_log()
237 r->param.path_number.filename->name, buffer); in tomoyo_audit_path_number_log()
261 &acl->name); in tomoyo_check_path_acl()
285 &acl->name); in tomoyo_check_path_number_acl()
330 &acl->name); in tomoyo_check_mkdev_acl()
347 return tomoyo_same_name_union(&p1->name, &p2->name); in tomoyo_same_path_acl()
395 if (!tomoyo_parse_name_union(param, &e.name)) in tomoyo_update_path_acl()
401 tomoyo_put_name_union(&e.name); in tomoyo_update_path_acl()
419 return tomoyo_same_name_union(&p1->name, &p2->name) && in tomoyo_same_mkdev_acl()
471 if (!tomoyo_parse_name_union(param, &e.name) || in tomoyo_update_mkdev_acl()
480 tomoyo_put_name_union(&e.name); in tomoyo_update_mkdev_acl()
639 return tomoyo_same_name_union(&p1->name, &p2->name) && in tomoyo_same_path_number_acl()
687 if (!tomoyo_parse_name_union(param, &e.name) || in tomoyo_update_path_number_acl()
694 tomoyo_put_name_union(&e.name); in tomoyo_update_path_number_acl()
736 kfree(buf.name); in tomoyo_path_number_perm()
765 buf.name = NULL; in tomoyo_check_open_permission()
786 kfree(buf.name); in tomoyo_check_open_permission()
820 buf.name = NULL; in tomoyo_path_perm()
831 symlink_target.name = tomoyo_encode(target); in tomoyo_path_perm()
832 if (!symlink_target.name) in tomoyo_path_perm()
840 kfree(symlink_target.name); in tomoyo_path_perm()
842 kfree(buf.name); in tomoyo_path_perm()
886 kfree(buf.name); in tomoyo_mkdev_perm()
919 buf1.name = NULL; in tomoyo_path2_perm()
920 buf2.name = NULL; in tomoyo_path2_perm()
946 kfree(buf1.name); in tomoyo_path2_perm()
947 kfree(buf2.name); in tomoyo_path2_perm()