• Home
  • Raw
  • Download

Lines Matching refs:specified

91 	if ((neverallow->specified == AVRULE_XPERMS_IOCTLFUNCTION)  in check_extended_permissions()
92 && (allow->specified == AVTAB_XPERMS_IOCTLFUNCTION)) { in check_extended_permissions()
95 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLFUNCTION) in check_extended_permissions()
96 && (allow->specified == AVTAB_XPERMS_IOCTLDRIVER)) { in check_extended_permissions()
98 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLDRIVER) in check_extended_permissions()
99 && (allow->specified == AVTAB_XPERMS_IOCTLFUNCTION)) { in check_extended_permissions()
101 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLDRIVER) in check_extended_permissions()
102 && (allow->specified == AVTAB_XPERMS_IOCTLDRIVER)) { in check_extended_permissions()
115 if ((neverallow->specified == AVRULE_XPERMS_IOCTLFUNCTION) in extended_permissions_violated()
116 && (allow->specified == AVTAB_XPERMS_IOCTLFUNCTION)) { in extended_permissions_violated()
117 result->specified = AVTAB_XPERMS_IOCTLFUNCTION; in extended_permissions_violated()
121 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLFUNCTION) in extended_permissions_violated()
122 && (allow->specified == AVTAB_XPERMS_IOCTLDRIVER)) { in extended_permissions_violated()
123 result->specified = AVTAB_XPERMS_IOCTLFUNCTION; in extended_permissions_violated()
126 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLDRIVER) in extended_permissions_violated()
127 && (allow->specified == AVTAB_XPERMS_IOCTLFUNCTION)) { in extended_permissions_violated()
128 result->specified = AVTAB_XPERMS_IOCTLFUNCTION; in extended_permissions_violated()
131 } else if ((neverallow->specified == AVRULE_XPERMS_IOCTLDRIVER) in extended_permissions_violated()
132 && (allow->specified == AVTAB_XPERMS_IOCTLDRIVER)) { in extended_permissions_violated()
133 result->specified = AVTAB_XPERMS_IOCTLDRIVER; in extended_permissions_violated()
158 tmp_key.specified = AVTAB_XPERMS_ALLOWED; in report_assertion_extended_permissions()
166 node = avtab_search_node_next(node, tmp_key.specified)) { in report_assertion_extended_permissions()
168 if ((xperms->specified != AVTAB_XPERMS_IOCTLFUNCTION) in report_assertion_extended_permissions()
169 && (xperms->specified != AVTAB_XPERMS_IOCTLDRIVER)) in report_assertion_extended_permissions()
221 if ((k->specified & AVTAB_ALLOWED) == 0) in report_assertion_avtab_matches()
271 if (avrule->specified == AVRULE_XPERMS_NEVERALLOW) { in report_assertion_avtab_matches()
337 tmp_key.specified = AVTAB_XPERMS_ALLOWED; in check_assertion_extended_permissions_avtab()
345 node = avtab_search_node_next(node, tmp_key.specified)) { in check_assertion_extended_permissions_avtab()
348 if ((xperms->specified != AVTAB_XPERMS_IOCTLFUNCTION) in check_assertion_extended_permissions_avtab()
349 && (xperms->specified != AVTAB_XPERMS_IOCTLDRIVER)) in check_assertion_extended_permissions_avtab()
456 if ((k->specified & AVTAB_ALLOWED) == 0) in check_assertion_avtab_match()
487 if (avrule->specified == AVRULE_XPERMS_NEVERALLOW) { in check_assertion_avtab_match()
538 if (!(a->specified & (AVRULE_NEVERALLOW | AVRULE_XPERMS_NEVERALLOW))) in check_assertions()