#22 couple fixes to privsep.c

open
nobody
None
5
2012-05-27
2012-05-27
Alex Fedorov
No

First hunk fixes termination of privileged process due to "ERROR: privsep_socket: unauthorized domain (15)" and SIGSEGV in child.
Second eliminates "ERROR: privsep_setsockopt (Operation not permitted)" due to setsockopt sets errno to EPERM instead of EACCES on insufficient rights in Linux

Discussion