diff options
author | 2011-10-06 09:14:35 +0000 | |
---|---|---|
committer | 2011-10-06 09:14:35 +0000 | |
commit | 556fc1856a4642dbd1e91964d4e9bc576544cb80 (patch) | |
tree | 4307cc07cc484974d235207077085e115668ebe6 /share/man/man9 | |
parent | rc_reload is valid here. (diff) | |
download | wireguard-openbsd-556fc1856a4642dbd1e91964d4e9bc576544cb80.tar.xz wireguard-openbsd-556fc1856a4642dbd1e91964d4e9bc576544cb80.zip |
Introduce a kqfilter wrapper for the controlling tty device entry
which allows a correct registration of kqueue(2) notifications on
the /dev/tty instead of calling a function via a null pointer in
the ttkqfilter leading to a local DoS.
Surprisingly the same code is present in NetBSD since the kqueue
merge, but didn't make it to the OpenBSD for 10 years.
Thanks to Anton Yabchinskiy <arn-at-bestmx-dot-ru> for a GHCi crash
report and his willingness to test multiple diffs for over a week.
With input from nicm, ok miod, derraadt.
Diffstat (limited to 'share/man/man9')
0 files changed, 0 insertions, 0 deletions