func ShiftACL(path string, shiftIds func(uid int64, gid int64) (int64, int64)) error {
	err := shiftAclType(path, C.ACL_TYPE_ACCESS, shiftIds)
	if err != nil {
		return err
	}

	err = shiftAclType(path, C.ACL_TYPE_DEFAULT, shiftIds)
	if err != nil {
		return err
	}

	return nil
}
func ShiftACL(path string, shiftIds func(uid int64, gid int64) (int64, int64)) error {
	err := shiftAclType(path, C.ACL_TYPE_ACCESS, shiftIds)
	if err != nil {
		return err
	}

	err = shiftAclType(path, C.ACL_TYPE_DEFAULT, shiftIds)
	if err != nil {
		return err
	}

	return nil
}
func ShiftACL ( path string , shiftIds func ( uid int64 , gid int64 ) ( int64 , int64 ) ) error { err := shiftAclType ( path , C . ACL_TYPE_ACCESS , shiftIds ) if err != nil { return err } err = shiftAclType ( path , C . ACL_TYPE_DEFAULT , shiftIds ) if err != nil { return err } return nil }
// ShiftACL updates uid and gid for file ACLs when entering/exiting a namespace
ShiftACL updates uid and gid for file ACLs when entering / exiting a namespace