Searched refs:P (Results 1 – 5 of 5) sorted by relevance
/security/apparmor/include/ |
D | label.h | 161 #define label_for_each(I, L, P) \ argument 162 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i)) 165 #define label_for_each_cont(I, L, P) \ argument 166 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i)) 195 #define label_for_each_confined(I, L, P) \ argument 197 ((P) = (L)->vec[(I).i]); \ 200 #define label_for_each_in_merge(I, A, B, P) \ argument 202 ((P) = aa_label_next_in_merge(&(I), (A), (B))); \ 205 #define label_for_each_not_in_set(I, SET, SUB, P) \ argument 207 ((P) = __aa_label_next_not_in_set(&(I), (SET), (SUB))); \ [all …]
|
D | lib.h | 228 #define fn_label_build(L, P, GFP, FN) \ argument 244 label_for_each(__i, (L), (P)) { \ 255 label_for_each(__i, __lvec[__j], (P)) \ 256 __pvec[__k++] = aa_get_profile(P); \ 273 (P) = labels_profile(L); \ 283 #define __fn_build_in_ns(NS, P, NS_FN, OTHER_FN) \ argument 286 if ((P)->ns != (NS)) \ 293 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument 295 fn_label_build((L), (P), (GFP), \ 296 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \
|
D | perms.h | 119 #define xcheck_ns_profile_label(P, L, FN, args...) \ argument 123 xcheck_ns_profile_profile((P), __p2, (FN), args)); \ 136 #define xcheck_labels(L1, L2, P, FN1, FN2) \ argument 137 xcheck(fn_for_each((L1), (P), (FN1)), fn_for_each((L2), (P), (FN2)))
|
D | policy.h | 167 #define profiles_ns(P) ((P)->ns) argument 212 #define PROFILE_MEDIATES(P, T) ((P)->policy.start[(T)]) argument
|
/security/ |
D | security.c | 204 struct security_hook_list *P; \ 206 list_for_each_entry(P, &security_hook_heads.FUNC, list) \ 207 P->hook.FUNC(__VA_ARGS__); \ 213 struct security_hook_list *P; \ 215 list_for_each_entry(P, &security_hook_heads.FUNC, list) { \ 216 RC = P->hook.FUNC(__VA_ARGS__); \
|