Searched refs:x (Results 1 – 7 of 7) sorted by relevance
/security/selinux/ |
D | xfrm.c | 65 static inline int selinux_authorizable_xfrm(struct xfrm_state *x) in selinux_authorizable_xfrm() argument 67 return selinux_authorizable_ctx(x->security); in selinux_authorizable_xfrm() 176 int selinux_xfrm_state_pol_flow_match(struct xfrm_state *x, in selinux_xfrm_state_pol_flow_match() argument 183 if (x->security) in selinux_xfrm_state_pol_flow_match() 190 if (!x->security) in selinux_xfrm_state_pol_flow_match() 194 if (!selinux_authorizable_xfrm(x)) in selinux_xfrm_state_pol_flow_match() 198 state_sid = x->security->ctx_sid; in selinux_xfrm_state_pol_flow_match() 215 struct xfrm_state *x; in selinux_xfrm_skb_sid_egress() local 219 x = dst->xfrm; in selinux_xfrm_skb_sid_egress() 220 if (x == NULL || !selinux_authorizable_xfrm(x)) in selinux_xfrm_skb_sid_egress() [all …]
|
/security/selinux/include/ |
D | xfrm.h | 20 int selinux_xfrm_state_alloc(struct xfrm_state *x, 22 int selinux_xfrm_state_alloc_acquire(struct xfrm_state *x, 24 void selinux_xfrm_state_free(struct xfrm_state *x); 25 int selinux_xfrm_state_delete(struct xfrm_state *x); 27 int selinux_xfrm_state_pol_flow_match(struct xfrm_state *x,
|
D | security.h | 211 #define security_xperm_set(perms, x) (perms[x >> 5] |= 1 << (x & 0x1f)) argument 212 #define security_xperm_test(perms, x) (1 & (perms[x >> 5] >> (x & 0x1f))) argument
|
/security/keys/ |
D | keyring.c | 36 static inline bool keyring_ptr_is_keyring(const struct assoc_array_ptr *x) in keyring_ptr_is_keyring() argument 38 return (unsigned long)x & KEYRING_PTR_SUBTYPE; in keyring_ptr_is_keyring() 40 static inline struct key *keyring_ptr_to_key(const struct assoc_array_ptr *x) in keyring_ptr_to_key() argument 42 void *object = assoc_array_ptr_to_leaf(x); in keyring_ptr_to_key() 153 static u64 mult_64x32_and_fold(u64 x, u32 y) in mult_64x32_and_fold() argument 155 u64 hi = (u64)(u32)(x >> 32) * y; in mult_64x32_and_fold() 156 u64 lo = (u64)(u32)(x) * y; in mult_64x32_and_fold() 280 return index_key->x; in keyring_get_key_chunk() 344 seg_a = a->x; in keyring_diff_objects() 345 seg_b = b->x; in keyring_diff_objects()
|
/security/selinux/ss/ |
D | ebitmap.h | 31 #define EBITMAP_SHIFT_UNIT_SIZE(x) \ argument 32 (((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
|
/security/apparmor/ |
D | lib.c | 318 static u32 map_other(u32 x) in map_other() argument 320 return ((x & 0x3) << 8) | /* SETATTR/GETATTR */ in map_other() 321 ((x & 0x1c) << 18) | /* ACCEPT/BIND/LISTEN */ in map_other() 322 ((x & 0x60) << 19); /* SETOPT/GETOPT */ in map_other()
|
/security/ |
D | security.c | 2253 int security_xfrm_state_alloc(struct xfrm_state *x, in security_xfrm_state_alloc() argument 2256 return call_int_hook(xfrm_state_alloc, 0, x, sec_ctx); in security_xfrm_state_alloc() 2260 int security_xfrm_state_alloc_acquire(struct xfrm_state *x, in security_xfrm_state_alloc_acquire() argument 2263 return call_int_hook(xfrm_state_alloc_acquire, 0, x, polsec, secid); in security_xfrm_state_alloc_acquire() 2266 int security_xfrm_state_delete(struct xfrm_state *x) in security_xfrm_state_delete() argument 2268 return call_int_hook(xfrm_state_delete_security, 0, x); in security_xfrm_state_delete() 2272 void security_xfrm_state_free(struct xfrm_state *x) in security_xfrm_state_free() argument 2274 call_void_hook(xfrm_state_free_security, x); in security_xfrm_state_free() 2282 int security_xfrm_state_pol_flow_match(struct xfrm_state *x, in security_xfrm_state_pol_flow_match() argument 2300 rc = hp->hook.xfrm_state_pol_flow_match(x, xp, fl); in security_xfrm_state_pol_flow_match()
|