MCPcopy Create free account
hub / github.com/RsyncProject/rsync / hpux_get_needed_class_perm

Function hpux_get_needed_class_perm

lib/sysacls.c:1226–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1224 */
1225
1226static int hpux_get_needed_class_perm(struct acl *aclp)
1227{
1228 switch (aclp->a_type) {
1229 case USER:
1230 case GROUP_OBJ:
1231 case GROUP:
1232 case DEF_USER_OBJ:
1233 case DEF_USER:
1234 case DEF_GROUP_OBJ:
1235 case DEF_GROUP:
1236 case DEF_CLASS_OBJ:
1237 case DEF_OTHER_OBJ:
1238 return aclp->a_perm;
1239 default:
1240 return 0;
1241 }
1242}
1243
1244/* acl_sort for HPUX.
1245 * Sorts the array of ACL structures as per the description in

Callers 1

hpux_acl_sortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected