summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2012-10-21 19:00:49 +0000
committerBob Beck <beck@cvs.openbsd.org>2012-10-21 19:00:49 +0000
commitea9e6de3fdeb45b92517bf22164f081a7cab4775 (patch)
tree188030413ea931e606b536f0dd07383ee3016e73 /usr.sbin/mtree
parent01aa05846272f1859e5882dcbdfa5a0fd6d0ee0a (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