4.5 The object-type-list variant
int ;
peios_access_check_list is the AccessCheckByTypeResultList form — a per-node check over an object-type tree, for objects whose properties or property sets carry their own object ACEs (a directory-service-style object, say). It evaluates the whole tree in one call and reports a separate result for each node.
req->object_tree/object_tree_countare mandatory here — they describe the tree ofkacs_object_type_entrynodes to evaluate.resultsreceives onekacs_node_resultper node, in preorder, andcountmust equalreq->object_tree_count.- Returns
0/-1(EINVALifcountdoesn't match, and the usual errors otherwise).
Each kacs_node_result carries that node's granted mask and status, so you can discover, for example, that a caller may read most of an object but not one protected property — in a single check rather than one per property.