Searched refs:domainname (Results 1 – 8 of 8) sorted by relevance
/security/tomoyo/ |
D | domain.c | 221 && p1->domainname == p2->domainname in tomoyo_same_transition_control() 239 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control() local 240 if (domainname) { in tomoyo_write_transition_control() 241 *domainname = '\0'; in tomoyo_write_transition_control() 242 domainname += 6; in tomoyo_write_transition_control() 245 domainname = program; in tomoyo_write_transition_control() 255 if (domainname && strcmp(domainname, "any")) { in tomoyo_write_transition_control() 256 if (!tomoyo_correct_domain(domainname)) { in tomoyo_write_transition_control() 257 if (!tomoyo_correct_path(domainname)) in tomoyo_write_transition_control() 261 e.domainname = tomoyo_get_name(domainname); in tomoyo_write_transition_control() [all …]
|
D | util.c | 545 bool tomoyo_correct_domain(const unsigned char *domainname) in tomoyo_correct_domain() argument 547 if (!domainname || !tomoyo_domain_def(domainname)) in tomoyo_correct_domain() 549 domainname = strchr(domainname, ' '); in tomoyo_correct_domain() 550 if (!domainname++) in tomoyo_correct_domain() 553 const unsigned char *cp = strchr(domainname, ' '); in tomoyo_correct_domain() 556 if (*domainname != '/' || in tomoyo_correct_domain() 557 !tomoyo_correct_word2(domainname, cp - domainname)) in tomoyo_correct_domain() 559 domainname = cp + 1; in tomoyo_correct_domain() 561 return tomoyo_correct_path(domainname); in tomoyo_correct_domain() 597 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname) in tomoyo_find_domain() argument [all …]
|
D | securityfs_if.c | 23 return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname); in tomoyo_check_task_acl() 63 r.param.task.domainname = &name; in tomoyo_write_self() 108 const char *domain = tomoyo_domain()->domainname->name; in tomoyo_read_self()
|
D | common.h | 487 const struct tomoyo_path_info *domainname; member 680 const struct tomoyo_path_info *domainname; member 696 const struct tomoyo_path_info *domainname; member 849 const struct tomoyo_path_info *domainname; /* Maybe NULL */ member 923 bool tomoyo_correct_domain(const unsigned char *domainname); 1021 struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname, 1023 struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname); 1027 (const char *domainname);
|
D | common.c | 928 const struct tomoyo_path_info *domainname = tomoyo_domain()->domainname; in tomoyo_manager() local 938 && !tomoyo_pathcmp(domainname, ptr->manager)) { in tomoyo_manager() 961 "update policies.\n", domainname->name, exe); in tomoyo_manager() 1038 return p1->domainname == p2->domainname; in tomoyo_same_task_acl() 1056 .domainname = tomoyo_get_domainname(param), in tomoyo_write_task() 1058 if (e.domainname) in tomoyo_write_task() 1062 tomoyo_put_name(e.domainname); in tomoyo_write_task() 1076 static int tomoyo_delete_domain(char *domainname) in tomoyo_delete_domain() argument 1081 name.name = domainname; in tomoyo_delete_domain() 1091 tomoyo_pathcmp(domain->domainname, &name)) in tomoyo_delete_domain() [all …]
|
D | audit.c | 243 const char *domainname = r->domain->domainname->name; in tomoyo_init_log() local 248 len += strlen(domainname) + strlen(header) + 10; in tomoyo_init_log() 276 pos += snprintf(buf + pos, len - pos, "\n%s\n", domainname); in tomoyo_init_log()
|
D | gc.c | 110 tomoyo_put_name(ptr->domainname); in tomoyo_del_transition_control() 228 tomoyo_put_name(entry->domainname); in tomoyo_del_acl() 258 tomoyo_put_name(domain->domainname); in tomoyo_del_domain()
|
D | memory.c | 199 tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>"); in tomoyo_mm_init()
|