[PATCH openEuler-22.09 235/379] libbpf: Restore errno return for functions that were already returning it