2015-07-28 16:59 GMT+03:00 Ted Unangst <t...@tedunangst.com>: > Vadim Zhukov wrote: >> I see no point in hidding underlying error message from user. >> Found while preparing chroot for doas run tests. >> >> Okay? > > setusercontext(3) doesn't say anything about setting errno, so it's not clear > it will always be set or to a correct value.
You're right. I've stepped into the login_cap.c and realized it doesn't always care about errno. I don't feel myself brave enough to clean this up, just lets discard the subject diff then. Sorry for the noise. -- WBR, Vadim Zhukov