summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-04-27imsg.h does not need sys/tree.h.Nicholas Marriott
ok eric
2010-04-26bz#1502: authctxt.success is declared as an int, but passed byDamien Miller
reference to function that accepts sig_atomic_t*. Convert it to the latter; ok markus@ dtucker@
2010-04-26Fix a bug in auto-completion accidentally introduced when supportStefan Sperling
for auto-completion of filenames containing whitespace was added. This bug was tracked a decade ago in NetBSD as pr 7014. ok deraadt
2010-04-26more portable codeTheo de Raadt
2010-04-25Add a tiled layout, originally from Liam Bedford a while ago, fixed upNicholas Marriott
by me.
2010-04-25Implement roff conditional instructions .if .ie .el, in man(7) only for now;Ingo Schwarze
fixing OpenBSD::PackageName(3p) and friends for espie@.
2010-04-25ftpvis was not ok. fix it.Ted Unangst
2010-04-25prevent out-of-bounds access with empty pattern (fixes "grep -x ''")Eric Faurot
ok millert@ krw@
2010-04-25pure whitespace cleanupMarc Espie
2010-04-25Fix auto-completion of filenames containing whitespace.Stefan Sperling
Before this change whitespace wasn't escaped during completion which caused the ftp command to see multiple arguments where a single path was expected. Based on similar commit made to NetBSD's ftp in 1999. help and ok uwe tedu deraadt
2010-04-24delete two extra ; that got inserted somewhere along the lineTheo de Raadt
2010-04-24if there are no files to play in legacy mode, print the usage messageAlexandre Ratchov
2010-04-24don't increment mixer's ``idle'' counter before truncating theAlexandre Ratchov
amount of samples to commit to ``maxwrite''. Overwise uncommitted samples are accounted as idle, in turn causing the device to be stopped too early, possibly truncating few blocks at the end of streams being drained. subtle bug spotted and analysed by Thomas Pfaff, thanks
2010-04-24rename ibuflist/obuflist -> ins/outs to cut long linesAlexandre Ratchov
from Thomas Pfaff, thanks
2010-04-23refuse to generate keys longer than OPENSSL_[RD]SA_MAX_MODULUS_BITS,Damien Miller
since we would refuse to use them anyway. bz#1516; ok dtucker@
2010-04-23set stderr to /dev/null for subsystems rather than just closing it.Damien Miller
avoids hangs if a subsystem or shell initialisation writes to stderr. bz#1750; ok markus@
2010-04-23set "detach_close" flag when registering channel cleanup callbacks.Damien Miller
This causes the channel to close normally when its fds close and hangs when terminating a mux slave using ~. bz#1758; ok markus@
2010-04-23When converting A-Z into a control character, want to subtract 64 notNicholas Marriott
65... whoops.
2010-04-23mention hostname, prompted by lum@Otto Moerbeek
2010-04-23show hostname in header line; ok lum@ phessler@Otto Moerbeek
2010-04-23bz#1740: display a more helpful error message when $HOME isDamien Miller
inaccessible while trying to create .ssh directory. Based on patch from jchadima AT redhat.com; ok dtucker@
2010-04-23Handle literal tab characters both in literal context (.Bd -literal)Ingo Schwarze
and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. Use tabwidth = 5 as the default and temporarily switch to 8 in termp_bd_pre(). This requires to move the term_flushln() of the final line of a display from termp_bd_post() to termp_bd_pre(); the former still needs term_newln() to handle the final lines of non-literal displays. Handling inside term_flushln() is tricky because a tab collapses with inter-word spacing, but not with another tab. Missing feature reported independently by jmc@ and deraadt@.
2010-04-22Fix a segfault reported by nicm@, introduced in rev. 1.38.Ingo Schwarze
When finding a blank line, trying to parse it is a bad idea. Instead, after adding .Pp to the AST, just return from parsetext().
2010-04-22zap trailing whitespace;Jason McIntyre
2010-04-22Allow multiple users to share the same aucat server. If aucat isAlexandre Ratchov
run by root, it binds a shared address to the socket, cranks the process priority and drops privileges. sio_open(3) will try to connect to the private socket first (if any), then to the shared socket. Only one user may have connections to aucat at a given time. based on discussions with henning, pyr and others ok jacek, deraadt
2010-04-21Mark zombie windows as dead in choose-window list, from Romain Francoise.Nicholas Marriott
2010-04-21Rewrite key string conversions to be readable and to work properly forNicholas Marriott
multiple modifiers.
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21Handle a strdup failure.lum
ok otto@
2010-04-21when creating the ``default'' subdevice, use last parameters of theAlexandre Ratchov
command line, instead of the device parameters.
2010-04-21adds the necessary bits to join channels (ex stereo->mono) orAlexandre Ratchov
expand channels (ex mono->stereo). It's switched on/off with the ``-j'' option, (default is "on").
2010-04-21Add the "angle" sensor, measured in degrees; from Luis PintoTheo de Raadt
2010-04-20Fix some pclose() calls, spotted by Peter Philipp. ok deraadt@Stuart Henderson
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
2010-04-20Add "frequency" type for sensors. (and teach userland how to print thatOwain Ainsworth
type). Measured in Hz. ok deraadt@
2010-04-20Include usbdevs -v output in the PR template, showing us device IDs whichStuart Henderson
cannot be deduced from the dmesg output. Suggested by miod@, ok deraadt@
2010-04-20Fix "grep -e foo -w" crash. The problem lies in 'e' getopt clauseJacek Masiulaniec
calling add_pattern, which in turn assumes that the getopt phase has already finished. OK otto@
2010-04-20Bump the default buffer sizes to be larger than default MTUs, from JanNicholas Marriott
Zeleny. ok djm
2010-04-20Allocate the port number properly (don't allocate space then ignore it),Nicholas Marriott
and use %zu for size_t. ok djm
2010-04-19Increase buffer size to support large pathnames. Committing onTodd C. Miller
behalf of stsp@ who is travelling. OK miod@ deraadt@ xsa@ jsg@
2010-04-18Catch SIGCHLD to avoid a zombie, from patrick keshishian.Nicholas Marriott
2010-04-17Fix typo in escape state table leading to fatal() when \033} or \033~Nicholas Marriott
was entered, from Chris Johnsen.
2010-04-17If remain-on-exit is set, both the error callback and a SIGCHLD couldNicholas Marriott
destroy the same pane (because the first one doesn't remove it from the list of panes), causing the pane bufferevent to be freed twice. So don't free it if the fd has already been set to -1, from Romain Francoise.
2010-04-17Fix use-after-free of the window link when it is part of a groupedNicholas Marriott
session (and hence could have been recreated), from Micah Cowan.
2010-04-17Allow the mixer to handle inputs with channel ranges outsideAlexandre Ratchov
the device channel range. This makes the channel mapping code no longer usefuli, so remove it. No behaviour change.
2010-04-16oops, %r => remote username, not %uDamien Miller
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16revised certificate format ssh-{dss,rsa}-cert-v01@openssh.com with theDamien Miller
following changes: move the nonce field to the beginning of the certificate where it can better protect against chosen-prefix attacks on the signature hash Rename "constraints" field to "critical options" Add a new non-critical "extensions" field Add a serial number The older format is still support for authentication and cert generation (use "ssh-keygen -t v00 -s ca_key ..." to generate a v00 certificate) ok markus@
2010-04-15retry lookup for private key if there's no matching key with CKA_SIGNMarkus Friedl
attribute enabled; this fixes fixes MuscleCard support (bugzilla #1736) ok djm@