Lines Matching refs:acl
421 const struct tomoyo_inet_acl *acl = in tomoyo_check_inet_acl() local
422 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl()
425 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
427 &acl->port)) in tomoyo_check_inet_acl()
429 if (acl->address.group) in tomoyo_check_inet_acl()
432 r->param.inet_network.address, acl->address.group); in tomoyo_check_inet_acl()
433 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
434 memcmp(&acl->address.ip[0], in tomoyo_check_inet_acl()
437 &acl->address.ip[1], size) <= 0; in tomoyo_check_inet_acl()
451 const struct tomoyo_unix_acl *acl = in tomoyo_check_unix_acl() local
452 container_of(ptr, typeof(*acl), head); in tomoyo_check_unix_acl()
454 return (acl->perm & (1 << r->param.unix_network.operation)) && in tomoyo_check_unix_acl()
456 &acl->name); in tomoyo_check_unix_acl()