summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-14 04:02:33 +0000
committerderaadt <deraadt@openbsd.org>2014-07-14 04:02:33 +0000
commit920f5a61b9ccb37fcc307d69cc3b5a4def2f8f09 (patch)
tree03caa9fa4af543a4c1b23d0ba4d095ce5a37e69c /lib
parentNow that we have sendsyslog(2), we can directly use it in the (diff)
downloadwireguard-openbsd-920f5a61b9ccb37fcc307d69cc3b5a4def2f8f09.tar.xz
wireguard-openbsd-920f5a61b9ccb37fcc307d69cc3b5a4def2f8f09.zip
Create a socketpair() and tie one end to /dev/klog using ioctl LIOCSFD.
This allows us to receive messages direct from programs using the fd-safe sendsyslog(2), aka. syslog_r(3). Thanks to guenther for this part of the solution. ok beck tedu miod guenther
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions