Lines Matching refs:perm
234 &container_of(a, struct tomoyo_inet_acl, head)->perm;
235 u8 perm = *a_perm;
236 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm;
239 perm &= ~b_perm;
241 perm |= b_perm;
242 *a_perm = perm;
243 return !perm;
260 &container_of(a, struct tomoyo_unix_acl, head)->perm;
261 u8 perm = *a_perm;
262 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm;
265 perm &= ~b_perm;
267 perm |= b_perm;
268 *a_perm = perm;
269 return !perm;
294 e.perm |= 1 << type;
295 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm)
339 e.perm |= 1 << type;
340 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm)
425 if (!(acl->perm & (1 << r->param.inet_network.operation)) ||
454 return (acl->perm & (1 << r->param.unix_network.operation)) &&