Lines Matching refs:acl
422 const struct tomoyo_inet_acl *acl = in tomoyo_check_inet_acl() local
423 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl()
426 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
428 &acl->port)) in tomoyo_check_inet_acl()
430 if (acl->address.group) in tomoyo_check_inet_acl()
433 r->param.inet_network.address, acl->address.group); in tomoyo_check_inet_acl()
434 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
435 memcmp(&acl->address.ip[0], in tomoyo_check_inet_acl()
438 &acl->address.ip[1], size) <= 0; in tomoyo_check_inet_acl()
452 const struct tomoyo_unix_acl *acl = in tomoyo_check_unix_acl() local
453 container_of(ptr, typeof(*acl), head); in tomoyo_check_unix_acl()
455 return (acl->perm & (1 << r->param.unix_network.operation)) && in tomoyo_check_unix_acl()
457 &acl->name); in tomoyo_check_unix_acl()