/security/tomoyo/ |
D | gc.c | 248 struct tomoyo_acl_info *tmp; in tomoyo_del_domain() local 254 list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { in tomoyo_del_domain() 477 struct tomoyo_acl_head *tmp; in tomoyo_collect_member() local 478 list_for_each_entry_safe(member, tmp, member_list, list) { in tomoyo_collect_member() 496 struct tomoyo_acl_info *tmp; in tomoyo_collect_acl() local 497 list_for_each_entry_safe(acl, tmp, list, list) { in tomoyo_collect_acl() 518 struct tomoyo_domain_info *tmp; in tomoyo_collect_entry() local 519 list_for_each_entry_safe(domain, tmp, &tomoyo_domain_list, in tomoyo_collect_entry() 535 struct tomoyo_shared_acl_head *tmp; in tomoyo_collect_entry() local 536 list_for_each_entry_safe(ptr, tmp, &tomoyo_condition_list, in tomoyo_collect_entry() [all …]
|
D | domain.c | 689 ee->tmp = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_find_next_domain() 690 if (!ee->tmp) { in tomoyo_find_next_domain() 758 strncpy(ee->tmp, old_domain->domainname->name, in tomoyo_find_next_domain() 760 cp = strrchr(ee->tmp, ' '); in tomoyo_find_next_domain() 764 strncpy(ee->tmp, domainname, TOMOYO_EXEC_TMPSIZE - 1); in tomoyo_find_next_domain() 766 snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", in tomoyo_find_next_domain() 779 snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "<%s>", in tomoyo_find_next_domain() 790 snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", in tomoyo_find_next_domain() 812 snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", in tomoyo_find_next_domain() 818 domain = tomoyo_assign_domain(ee->tmp, true); in tomoyo_find_next_domain() [all …]
|
D | util.c | 395 char *tmp = *src; in tomoyo_str_starts() local 397 if (strncmp(tmp, find, len)) in tomoyo_str_starts() 399 tmp += len; in tomoyo_str_starts() 400 *src = tmp; in tomoyo_str_starts()
|
D | common.c | 2139 struct list_head *tmp; in tomoyo_read_query() local 2150 list_for_each(tmp, &tomoyo_query_list) { in tomoyo_read_query() 2151 struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); in tomoyo_read_query() 2167 list_for_each(tmp, &tomoyo_query_list) { in tomoyo_read_query() 2168 struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); in tomoyo_read_query() 2200 struct list_head *tmp; in tomoyo_write_answer() local 2204 list_for_each(tmp, &tomoyo_query_list) { in tomoyo_write_answer() 2205 struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); in tomoyo_write_answer() 2212 list_for_each(tmp, &tomoyo_query_list) { in tomoyo_write_answer() 2213 struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); in tomoyo_write_answer()
|
D | common.h | 625 char *tmp; /* Size is TOMOYO_EXEC_TMPSIZE bytes */ member
|
D | condition.c | 106 char *arg_ptr = ee->tmp; in tomoyo_scan_bprm()
|
/security/apparmor/ |
D | policy_unpack.c | 276 const char *tmp; in unpack_strdup() local 278 int res = unpack_str(e, &tmp, name); in unpack_strdup() 284 *string = kmemdup(tmp, res, GFP_KERNEL); in unpack_strdup() 442 u32 tmp = 0; in unpack_rlimits() local 443 if (!unpack_u32(e, &tmp, NULL)) in unpack_rlimits() 445 profile->rlimits.mask = tmp; in unpack_rlimits() 481 u32 tmp; in unpack_profile() local 508 if (!unpack_u32(e, &tmp, NULL)) in unpack_profile() 510 profile->xmatch_len = tmp; in unpack_profile() 516 if (!unpack_u32(e, &tmp, NULL)) in unpack_profile() [all …]
|
D | policy.c | 477 struct aa_profile *profile, *tmp; in __profile_list_release() local 478 list_for_each_entry_safe(profile, tmp, head, base.list) in __profile_list_release() 528 struct aa_namespace *ns, *tmp; in __ns_list_release() local 529 list_for_each_entry_safe(ns, tmp, head, base.list) in __ns_list_release() 996 struct aa_profile *child, *tmp; in __replace_profile() local 1002 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile() 1088 struct aa_load_ent *ent, *tmp; in aa_replace_profiles() local 1178 list_for_each_entry_safe(ent, tmp, &lh, list) { in aa_replace_profiles() 1236 list_for_each_entry_safe(ent, tmp, &lh, list) { in aa_replace_profiles()
|
/security/selinux/ |
D | netlink.c | 73 sk_buff_data_t tmp; in selnl_notify() local 83 tmp = skb->tail; in selnl_notify() 88 nlh->nlmsg_len = skb->tail - tmp; in selnl_notify()
|
D | avc.c | 294 struct avc_xperms_decision_node *xpd_node, *tmp; in avc_xperms_free() local 299 list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { in avc_xperms_free()
|
D | hooks.c | 516 char tmp; in selinux_get_mnt_opts() local 529 tmp = sbsec->flags & SE_MNTMASK; in selinux_get_mnt_opts() 532 if (tmp & 0x01) in selinux_get_mnt_opts() 534 tmp >>= 1; in selinux_get_mnt_opts()
|
/security/selinux/ss/ |
D | ebitmap.c | 399 struct ebitmap_node *tmp; in ebitmap_read() local 400 tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); in ebitmap_read() 401 if (!tmp) { in ebitmap_read() 408 tmp->startbit = startbit - (startbit % EBITMAP_SIZE); in ebitmap_read() 410 n->next = tmp; in ebitmap_read() 412 e->node = tmp; in ebitmap_read() 413 n = tmp; in ebitmap_read()
|
/security/ |
D | device_cgroup.c | 69 struct dev_exception_item *ex, *tmp, *new; in dev_exceptions_copy() local 83 list_for_each_entry_safe(ex, tmp, dest, list) { in dev_exceptions_copy() 128 struct dev_exception_item *walk, *tmp; in dev_exception_rm() local 132 list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { in dev_exception_rm() 150 struct dev_exception_item *ex, *tmp; in __dev_exception_clean() local 152 list_for_each_entry_safe(ex, tmp, &dev_cgroup->exceptions, list) { in __dev_exception_clean() 525 struct list_head *this, *tmp; in revalidate_active_exceptions() local 527 list_for_each_safe(this, tmp, &devcg->exceptions) { in revalidate_active_exceptions()
|
/security/apparmor/include/ |
D | policy.h | 363 struct aa_profile *tmp; in __aa_update_replacedby() local 364 tmp = rcu_dereference_protected(orig->replacedby->profile, in __aa_update_replacedby() 368 aa_put_profile(tmp); in __aa_update_replacedby()
|
/security/integrity/ima/ |
D | ima_policy.c | 183 struct ima_rule_entry *entry, *tmp; in ima_lsm_update_rules() local 188 list_for_each_entry_safe(entry, tmp, &ima_policy_rules, list) { in ima_lsm_update_rules() 794 struct ima_rule_entry *entry, *tmp; in ima_delete_rules() local 798 list_for_each_entry_safe(entry, tmp, &ima_policy_rules, list) { in ima_delete_rules()
|