diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2012-10-21 19:00:49 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2012-10-21 19:00:49 +0000 |
commit | ea9e6de3fdeb45b92517bf22164f081a7cab4775 (patch) | |
tree | 188030413ea931e606b536f0dd07383ee3016e73 /usr.sbin/mtree | |
parent | 01aa05846272f1859e5882dcbdfa5a0fd6d0ee0a (diff) |
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/mtree')
0 files changed, 0 insertions, 0 deletions