diff options
| author | 2012-10-21 19:00:48 +0000 | |
|---|---|---|
| committer | 2012-10-21 19:00:48 +0000 | |
| commit | 2d513ddd7206191726fb0862d13f941110ddaa67 (patch) | |
| tree | fd33c6f3bd4918fa0b49d7fe52224da78156e81c /usr.sbin/ospf6d/util.c | |
| parent | Make sure that there is enough room in the transmit queue to send a VIO (diff) | |
| download | wireguard-openbsd-2d513ddd7206191726fb0862d13f941110ddaa67.tar.xz wireguard-openbsd-2d513ddd7206191726fb0862d13f941110ddaa67.zip | |
Fix problem reported by Nathan Weeks <weeks@iastate.edu> where a userland
program could induce the kernel to panic by attempting to do a sempo
with nsops > kern.seminfo.semume and the SEM_UNFO flag set.
This fixes it so we return ENOSPC, like the man page says, rather
than panicing.
ok miod@, millert@
Diffstat (limited to 'usr.sbin/ospf6d/util.c')
0 files changed, 0 insertions, 0 deletions
