summaryrefslogtreecommitdiff
path: root/bin/cp
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-28 15:43:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-28 15:43:25 +0000
commitfd0d56de2007fd4827c47496b583d9efd6a1de04 (patch)
treebad7113339b4e3f2bfd27d4aa2be13e36c0e65df /bin/cp
parentd947ea368d469e0aff79cd54df0cd4ff27754358 (diff)
When setting kern.tty.maxptys, store the old value in oldp, not
random stack garbage. Rename DEFAULT_NPTYS and DEFAULT_MAXPTYS to NPTY_MIN and NPTY_MAX to better match their function and don't allow setting kern.tty.maxptys > NPTY_MAX.
Diffstat (limited to 'bin/cp')
0 files changed, 0 insertions, 0 deletions