• Home
  • Raw
  • Download

Lines Matching refs:u

594 	if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) {  in services_compute_xperms_drivers()
597 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers()
598 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers()
601 node->datum.u.xperms->driver); in services_compute_xperms_drivers()
662 avd->allowed |= node->datum.u.data; in context_struct_compute_av()
664 avd->auditallow |= node->datum.u.data; in context_struct_compute_av()
666 avd->auditdeny &= node->datum.u.data; in context_struct_compute_av()
949 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
950 if (xpermd->driver != node->datum.u.xperms->driver) in services_compute_xperms_decision()
952 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision()
953 if (!security_xperm_test(node->datum.u.xperms->perms.p, in services_compute_xperms_decision()
962 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision()
966 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
969 node->datum.u.xperms->perms.p[i]; in services_compute_xperms_decision()
973 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision()
977 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
980 node->datum.u.xperms->perms.p[i]; in services_compute_xperms_decision()
984 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision()
988 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision()
991 node->datum.u.xperms->perms.p[i]; in services_compute_xperms_decision()
1815 newcontext.type = avdatum->u.data; in security_compute_sid()
2330 if (c->u.port.protocol == protocol && in security_port_sid()
2331 c->u.port.low_port <= port && in security_port_sid()
2332 c->u.port.high_port >= port) in security_port_sid()
2373 if (c->u.ibpkey.low_pkey <= pkey_num && in security_ib_pkey_sid()
2374 c->u.ibpkey.high_pkey >= pkey_num && in security_ib_pkey_sid()
2375 c->u.ibpkey.subnet_prefix == subnet_prefix) in security_ib_pkey_sid()
2419 if (c->u.ibendport.port == port_num && in security_ib_endport_sid()
2420 !strncmp(c->u.ibendport.dev_name, in security_ib_endport_sid()
2464 if (strcmp(name, c->u.name) == 0) in security_netif_sid()
2535 if (c->u.node.addr == (addr & c->u.node.mask)) in security_node_sid()
2548 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in security_node_sid()
2549 c->u.node6.mask)) in security_node_sid()
2751 len = strlen(c->u.name); in __security_genfs_sid()
2753 (strncmp(c->u.name, path, len) == 0)) in __security_genfs_sid()
2817 if (strcmp(fstype, c->u.name) == 0) in security_fs_use()