>> - rv = errno; > > > rv still needs to get set to something non-zero as part of reporting failure > to the caller; EPERM perhaps, or APR_EGENERAL?
You are right. I think EPERM is better. At least chroot(2) and chown(2) returns it.
>> - rv = errno; > > > rv still needs to get set to something non-zero as part of reporting failure > to the caller; EPERM perhaps, or APR_EGENERAL?
You are right. I think EPERM is better. At least chroot(2) and chown(2) returns it.