Home
last modified time | relevance | path

Searched refs:j (Results 1 – 12 of 12) sorted by relevance

/security/apparmor/
A Dresource.c169 int j; in __aa_transition_rlimits() local
171 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, in __aa_transition_rlimits()
174 rlim = current->signal->rlim + j; in __aa_transition_rlimits()
175 initrlim = init_task.signal->rlim + j; in __aa_transition_rlimits()
186 int j; in __aa_transition_rlimits() local
190 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, mask <<= 1) { in __aa_transition_rlimits()
194 rlim = current->signal->rlim + j; in __aa_transition_rlimits()
196 rules->rlimits.limits[j].rlim_max); in __aa_transition_rlimits()
A Dlabel.c288 int pos, j; in aa_vec_unique() local
304 for (j = i - dups; j > pos; j--) in aa_vec_unique()
305 vec[j] = vec[j - 1]; in aa_vec_unique()
514 AA_BUG(I->j < 0); in __aa_label_next_not_in_set()
521 (I->j)++; in __aa_label_next_not_in_set()
529 if (I->j < sub->size) in __aa_label_next_not_in_set()
962 AA_BUG(I->j < 0); in aa_label_next_in_merge()
963 AA_BUG(I->j > b->size); in aa_label_next_in_merge()
966 if (I->j < b->size) { in aa_label_next_in_merge()
972 (I->j)++; in aa_label_next_in_merge()
[all …]
A Dmatch.c201 size_t j, k; in verify_dfa() local
203 for (j = i; in verify_dfa()
204 (BASE_TABLE(dfa)[j] & MATCH_FLAG_DIFF_ENCODE) && in verify_dfa()
205 !(BASE_TABLE(dfa)[j] & MARK_DIFF_ENCODE); in verify_dfa()
206 j = k) { in verify_dfa()
207 k = DEFAULT_TABLE(dfa)[j]; in verify_dfa()
208 if (j == k) in verify_dfa()
210 if (k < j) in verify_dfa()
212 BASE_TABLE(dfa)[j] |= MARK_DIFF_ENCODE; in verify_dfa()
A Dpolicy_unpack.c486 int c, j, pos, size2 = aa_unpack_strdup(e, &str, NULL); in unpack_trans_table() local
498 for (c = j = 0; j < size2 - 1; j++) { in unpack_trans_table()
499 if (!str[j]) { in unpack_trans_table()
500 pos = j; in unpack_trans_table()
/security/selinux/
A Dgenheaders.c43 int i, j; in main() local
129 for (j = 0; map->perms[j]; j++) { in main()
132 if (j >= 32) { in main()
134 map->name, map->perms[j]); in main()
137 permname = stoupperx(map->perms[j]); in main()
139 39-len, permname, 1U<<j); in main()
/security/loadpin/
A Dloadpin.c224 int i, j; in parse_exclude() local
244 for (j = 0; j < ARRAY_SIZE(ignore_read_file_id); j++) { in parse_exclude()
245 if (strcmp(cur, kernel_read_file_str[j]) == 0) { in parse_exclude()
247 kernel_read_file_str[j]); in parse_exclude()
248 ignore_read_file_id[j] = 1; in parse_exclude()
/security/tomoyo/
A Dutil.c706 int j; in tomoyo_file_matches_pattern2() local
778 j = 0; in tomoyo_file_matches_pattern2()
781 while (isdigit(filename[j])) in tomoyo_file_matches_pattern2()
782 j++; in tomoyo_file_matches_pattern2()
784 while (isxdigit(filename[j])) in tomoyo_file_matches_pattern2()
785 j++; in tomoyo_file_matches_pattern2()
787 while (tomoyo_alphabet_char(filename[j])) in tomoyo_file_matches_pattern2()
788 j++; in tomoyo_file_matches_pattern2()
790 for (i = 1; i <= j; i++) { in tomoyo_file_matches_pattern2()
A Dcondition.c803 u8 j; in tomoyo_condition() local
835 for (j = 0; j < 2; j++) { in tomoyo_condition()
836 const u8 index = j ? right : left; in tomoyo_condition()
1043 max_v[j] = value; in tomoyo_condition()
1044 min_v[j] = value; in tomoyo_condition()
1058 is_bitop[j] = true; in tomoyo_condition()
/security/selinux/ss/
A Dpolicydb.c1235 u32 i, j, nexpr; in read_cons_helper() local
1256 for (j = 0; j < nexpr; j++) { in read_cons_helper()
2190 for (j = 0; j < nel2; j++) { in genfs_read()
2254 u32 j, nel, len; in ocontext_read() local
2267 for (j = 0; j < nel; j++) { in ocontext_read()
2590 for (j = 0; j < nel; j++) { in policydb_read()
3312 unsigned int i, j; in ocontext_write() local
3391 for (j = 0; j < 4; j++) in ocontext_write()
3392 nodebuf[j] = in ocontext_write()
3395 for (j = 0; j < 4; j++) in ocontext_write()
[all …]
A Dservices.c100 u16 i, j; in selinux_set_mapping() local
116 j = 0; in selinux_set_mapping()
117 while (map[j].name) { in selinux_set_mapping()
636 unsigned int i, j; in context_struct_compute_av() local
663 avkey.target_type = j + 1; in context_struct_compute_av()
1042 unsigned int i, j; in security_compute_xperms_decision() local
1093 avkey.target_type = j + 1; in security_compute_xperms_decision()
2775 u32 i, j, mynel, maxnel = SIDS_NEL; in security_get_user_sids() local
2816 usercon.type = j + 1; in security_get_user_sids()
2865 mysids2[j++] = mysids[i]; in security_get_user_sids()
[all …]
/security/integrity/ima/
A Dima_template.c196 int i = 0, j = 0; in template_fmt_size() local
201 j++; in template_fmt_size()
205 return j + 1; in template_fmt_size()
/security/apparmor/include/
A Dlabel.h110 int i, j; member
187 for ((I).i = (I).j = 0; \
192 for ((I).i = (I).j = 0; \

Completed in 64 milliseconds