summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-12-06 15:03:40 +0000
committerChris Wilson <chris+github@qwirx.com>2014-12-06 15:03:40 +0000
commitf3a1ce8af043dbdc9240df76f69424c20446e2a5 (patch)
tree095f57ccb104e7536febcedd7f62676d397c5c98 /bin
parent9ce77cc16d4a8aeb72ec0dc925966e11c85a985e (diff)
Add support for getsockopt(SO_PEERCRED) on OpenBSD 5.2.
OpenBSD requires different headers to be included, including a bug which makes it essential to include sys/param.h before sys/ucred.h, and gives the fields of struct ucred different names than Linux does. This fixes compilation on OpenBSD and allows the user connecting to a UNIX socket to be checked, increasing security of the command socket on this platform.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions