Lines Matching refs:aclp
126 static int hpux_internal_aclsort(int acl_count, int calclass, HPUX_ACL_T aclp);
127 static void hpux_count_obj(int acl_count, HPUX_ACL_T aclp,
779 * aclp - Array of ACL structures.
788 static void hpux_count_obj(int acl_count, HPUX_ACL_T aclp, struct hpux_acl_types *acl_type_count)
795 switch(aclp[i].a_type) {
893 * Inputs: aclp - Pointer to ACL structure.
896 static int hpux_get_needed_class_perm(struct acl *aclp)
898 switch(aclp->a_type) {
908 return aclp->a_perm;
929 * aclp - Array of ACL structures.
933 * aclp - Sorted array of ACL structures.
941 static int hpux_internal_aclsort(int acl_count, int calclass, HPUX_ACL_T aclp)
951 return aclsort(acl_count, calclass, aclp);
961 if(aclp == NULL) {
968 hpux_count_obj(acl_count, aclp, &acl_obj_count);
1011 if( aclp[i].a_type > aclp[j].a_type ) {
1013 hpux_swap_acl_entries((aclp+i), (aclp+j));
1014 } else if ( aclp[i].a_type == aclp[j].a_type ) {
1016 if(aclp[i].a_id > aclp[j].a_id) {
1017 hpux_swap_acl_entries((aclp+i), (aclp+j));
1018 } else if (aclp[i].a_id == aclp[j].a_id) {
1020 if(hpux_prohibited_duplicate_type(aclp[i].a_type)) {
1022 aclp[i].a_type, aclp[i].a_id));
1035 n_class_obj_perm |= hpux_get_needed_class_perm((aclp+i));
1037 if(aclp[i].a_type == CLASS_OBJ)
1040 aclp[n_class_obj_index].a_perm = n_class_obj_perm;