Lines Matching refs:perm
235 &container_of(a, struct tomoyo_inet_acl, head)->perm;
236 u8 perm = READ_ONCE(*a_perm);
237 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm;
240 perm &= ~b_perm;
242 perm |= b_perm;
243 WRITE_ONCE(*a_perm, perm);
244 return !perm;
261 &container_of(a, struct tomoyo_unix_acl, head)->perm;
262 u8 perm = READ_ONCE(*a_perm);
263 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm;
266 perm &= ~b_perm;
268 perm |= b_perm;
269 WRITE_ONCE(*a_perm, perm);
270 return !perm;
295 e.perm |= 1 << type;
296 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm)
340 e.perm |= 1 << type;
341 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm)
426 if (!(acl->perm & (1 << r->param.inet_network.operation)) ||
455 return (acl->perm & (1 << r->param.unix_network.operation)) &&