Lines Matching defs:secattr
47 * netlbl_secattr_catmap_walk - Walk a LSM secattr catmap looking for a bit
52 * This function walks a LSM secattr category bitmap starting at @offset and
108 * This function walks a LSM secattr category bitmap starting at @offset and
162 * netlbl_secattr_catmap_setbit - Set a bit in a LSM secattr catmap
200 * netlbl_secattr_catmap_setrng - Set a range of bits in a LSM secattr catmap
245 * @secattr: the security attributes
249 * specified in @secattr. This function requires exclusive access to @sk,
255 const struct netlbl_lsm_secattr *secattr)
261 dom_entry = netlbl_domhsh_getentry(secattr->domain);
268 secattr);
285 * @secattr: the security attributes
290 * security attributes in @secattr. Returns zero on success, negative values
294 int netlbl_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr)
298 ret_val = cipso_v4_sock_getattr(sk, secattr);
302 return netlbl_unlabel_getattr(secattr);
308 * @secattr: the security attributes
313 * attributes in @secattr. Returns zero on success, negative values on
318 struct netlbl_lsm_secattr *secattr)
321 cipso_v4_skbuff_getattr(skb, secattr) == 0)
324 return netlbl_unlabel_getattr(secattr);
361 * @secattr: the packet's security attributes
370 const struct netlbl_lsm_secattr *secattr)
372 if ((secattr->flags & NETLBL_SECATTR_CACHE) == 0)
376 return cipso_v4_cache_add(skb, secattr);