Home
last modified time | relevance | path

Searched refs:P (Results 1 – 6 of 6) sorted by relevance

/security/apparmor/include/
Dlabel.h157 #define label_for_each(I, L, P) \ argument
158 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i))
161 #define label_for_each_cont(I, L, P) \ argument
162 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i))
191 #define label_for_each_confined(I, L, P) \ argument
193 ((P) = (L)->vec[(I).i]); \
196 #define label_for_each_in_merge(I, A, B, P) \ argument
198 ((P) = aa_label_next_in_merge(&(I), (A), (B))); \
201 #define label_for_each_not_in_set(I, SET, SUB, P) \ argument
203 ((P) = __aa_label_next_not_in_set(&(I), (SET), (SUB))); \
[all …]
Dlib.h222 #define fn_label_build(L, P, GFP, FN) \ argument
238 label_for_each(__i, (L), (P)) { \
249 label_for_each(__i, __lvec[__j], (P)) \
250 __pvec[__k++] = aa_get_profile(P); \
267 (P) = labels_profile(L); \
277 #define __fn_build_in_ns(NS, P, NS_FN, OTHER_FN) \ argument
280 if ((P)->ns != (NS)) \
287 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument
289 fn_label_build((L), (P), (GFP), \
290 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \
Dperms.h115 #define xcheck_ns_profile_label(P, L, FN, args...) \ argument
119 xcheck_ns_profile_profile((P), __p2, (FN), args)); \
132 #define xcheck_labels(L1, L2, P, FN1, FN2) \ argument
133 xcheck(fn_for_each((L1), (P), (FN1)), fn_for_each((L2), (P), (FN2)))
Dnet.h56 #define DEFINE_AUDIT_NET(NAME, OP, SK, F, T, P) \ argument
65 aad(&NAME)->net.protocol = (P)
Dpolicy.h171 #define profiles_ns(P) ((P)->ns) argument
/security/
Dsecurity.c670 struct security_hook_list *P; \
672 hlist_for_each_entry(P, &security_hook_heads.FUNC, list) \
673 P->hook.FUNC(__VA_ARGS__); \
679 struct security_hook_list *P; \
681 hlist_for_each_entry(P, &security_hook_heads.FUNC, list) { \
682 RC = P->hook.FUNC(__VA_ARGS__); \