> You and David seem to be differing on whether or not I should call > syslog(). I'm inclined to not call syslog() if door_ucred() returns > EINVAL, since that means that the door client went away.
Sorry, I missed what David was saying there. I'd not looked at the door_ucred() man page. I assumed EINVAL was possible on a good door peer. My point was to return at that point with whatever clean up was needed. It does seem that bad_error() is probably the thing to do on other errors. Gary..