summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2013-09-29use a more clearly named variable for the srandom case in the codeTheo de Raadt
ok millert
2013-09-29Prepare netstat for printing 64 bit route expire time.Alexander Bluhm
OK claudio@
2013-09-28Fix condition to check if a midi port is referenced. Remove unused bits.Alexandre Ratchov
2013-09-24rename re_match to regex_match to prevent a namespace conflict on Linux asJasper Lievisse Adriaanse
reported by Han Boetes. while here, rename re_buff accordingly for consistency. ok florian@
2013-09-23Keep Defaults env_keep to a minimum: basically just what is required forAntoine Jacoutot
pkg_add(1) to work properly. Keep previous Defaults env_keep that were mostly used for building src and ports only for users in the 'wsrc' group. Add commented ftp_proxy http_proxy. People wanting VISUAL/PAGER/EDITOR... can easily set it up... or it will be another commit. discussed^bikeshedded with many ok nick@ dcoppa@ espie@ sthen@ millert@
2013-09-23Revert. It seems people don't agree about which device should be used.Antoine Jacoutot
req. by krw@ millert@
2013-09-23cd0a -> cd0c for consistency with the FAQ.Antoine Jacoutot
discussed with and ok miod@
2013-09-22Stop merging the per-thread and per-process flags when reportingPhilip Guenther
them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Flag descriptions in ps(1) updated to be less obtuse. discussed with matthew@ some time ago; ok jca@, manpage bits ok jmc@
2013-09-21Merge conflicts.James Turner
2013-09-21more reasonable MAX_COLS for modern displaysMarc Espie
(5 arrays of that size, so we're talking a data increase of 2.5K) okay otto@
2013-09-19separate termios.h out from scan.l, both have an ECHO define. Noted byOtto Moerbeek
Joris Giovannangeli.
2013-09-19bz#1211: make BindAddress work with UsePrivilegedPort=yes; patch fromDamien Miller
swp AT swp.pp.ru; ok dtucker@
2013-09-19bz#1297 - tell the client (via packet_send_debug) when their preferredDamien Miller
listen address has been overridden by the server's GatewayPorts; ok dtucker@
2013-09-19fix swapped pflag and printflag in sftp upload_dir; from Iain MorganDamien Miller
2013-09-19store the initial file offset so the progress meter doesn't freak outDamien Miller
when resuming sftp transfers. bz#2137; patch from Iain Morgan; ok dtucker@
2013-09-18Remove "tset -S" compatibility I added years ago. Most convertedTodd C. Miller
terminfo entries for most terminals are too large to fit within the 1023 bytes allowed for termcap. We're better off without it. OK espie@ jmc@
2013-09-16Remove gssapi config parts from ssh_config, as was already done for sshd_config.Stuart Henderson
Req by/ok ajacoutot@
2013-09-16One of the WARNING messages has to use the word "section" twice in twoIngo Schwarze
different meanings, that cannot be helped. But we can make this less confusing by stating that the second instance refers to stuff like (2), (3), and (9), and by adding the sections header the first instance refers to, for example ERRORS or RETURN VALUES. Source for confusion noticed by Jan Stary <hans at stare dot cz>, better wording suggested by jmc@, tweaked by me.
2013-09-15Use normal line macro recognition, do not attempt to roll your own.Ingo Schwarze
This fixes horizontal spacing when an Ns macro follows a block-closing macro and the corresponding block-opening macro is not on the same line.
2013-09-15Block closing macros do not allocate a new node but finish an existingIngo Schwarze
one, so they miss the clearing of MDOC_NEWLINE in mdoc.c, node_alloc(). Consequently, MDOC_NEWLINE must be cleared before processing the next macro on the same line. This fixes horizontal spacing for input lines beginning like .Oc Ns ... Issue found by Franco Fichtner <franco at lastsummer dot de> while working on DragonFly mandoc integration.
2013-09-15For some mdoc(7) macros, it is (unfortunately) semantically significantIngo Schwarze
whether they are the first macro on the line or called by another macro. To help debugging, indicate this property "first macro on a new input line" by prefixing an asterisk to the line number in -Ttree output.
2013-09-14STANDARDS:Jason McIntyre
- use standard wording - intermingling stuff was removed in issue 6 ok jca
2013-09-13avoid unaligned access in code that reused a buffer to send aDamien Miller
struct in_addr in a reply; simpler just use use buffer_put_int(); from portable; spotted by and ok dtucker@
2013-09-12Add SM_PATH to the default env_keep.Antoine Jacoutot
ok espie@ dcoppa@ sthen@ millert@
2013-09-12remove some redundancy within a sentence, and describe "!" as anJason McIntyre
exclamation mark rather than a bang; From: Ross L Richardson
2013-09-12fix connection crash when sending break (~B) on ControlPersist'd session;Damien Miller
ok dtucker@
2013-09-11A couple of %d / (long)tv_sec -> %lld / (long long)tv_sec. The codeKenneth R Westerback
is not compiled on OpenBSD but don't leave bad examples lying around if avoidable. ok millert@
2013-09-11Correctly NUL-terminate the cpu view array. Fix a segfault on powerpcMartin Pieuchot
and probably others. ok reyk@
2013-09-09nl(1) is actually marked as an XSI (XPG 4.2) extension.Jeremie Courreges-Anglas
Remove the remaining differences with NetBSD nl.1 regarding STANDARDS and `-' handling. Discussed with jmc@
2013-09-09Recognize the UTIME_OMIT and UTIME_NOW values when printing timespecsPhilip Guenther
ok otto@
2013-09-09Rename the 'pid' global to eliminate compiler warnings about shadowingPhilip Guenther
ok otto@
2013-09-08tweak previous;Jason McIntyre
2013-09-08Hook up nl(1).Jeremie Courreges-Anglas
2013-09-08Import nl(1) from the NetBSD source tree, with local changes discussedJeremie Courreges-Anglas
on tech@, among which `-' syntax for stdin, multibyte delimiter support (based on FreeBSD) and various code simplifications. Original diffs from pascal@ and later Arto Jonsson (ajonsson at kapsi dot fi), comments and work by others, especially millert@. "That looks good to me." millert@
2013-09-07Remove commented-out kerberos/gssapi config options from sample config,Stuart Henderson
kerberos support is currently not enabled in ssh in OpenBSD. Discussed with various people; ok deraadt@
2013-09-07Add a new screen "cpu" that simply lists the usage of each CPU core.Reyk Floeter
Also add a new -B command line flag that works like -b but waits some cycles before dumping anything to the console. With much help from jmc@ OK jj@ lambert@ jmc@
2013-09-06teach id(1) about whoami(1) and groups(1) run modes; removes shell wrappersOkan Demirmen
OK millert@
2013-09-04Beagle has been replaced by armv7.Patrick Wildt
2013-09-03Update bgplg(8) to describe the configuration for nginx(8) andReyk Floeter
slowcgi(8) instead of the old "Apache" httpd(8). Requested by florian@ and my others. ok jmc@
2013-09-02All the instances of arc4random_stir() are bogus, since arc4random()Theo de Raadt
does this itself, inside itself, and has for a very long time.. Actually, this was probably reducing the entropy available. ok djm
2013-09-01update currency exchange rates;Jason McIntyre
2013-08-31make ^w match ksh behaviour (delete previous word instead of entire line)Damien Miller
2013-08-28improve batch processing a bit by making use of the quite flag a bitMike Belopuhov
more often and exit with a non zero code if asked to find a hostname in a known_hosts file and it wasn't there; originally from reyk@, ok djm
2013-08-26"reactivate";Jason McIntyre
make.1 part From: Christian Schulte
2013-08-26replace rand(3)/random(3) calls with secure arc4random*()Christian Weisgerber
npppd ok yasuoka@ ok millert@
2013-08-24use MB for megabytes instead of Mb;Jason McIntyre
From: Zeljko Jovanovic
2013-08-22Stir PRNG after post-accept fork. The child gets a different PRNG stateDamien Miller
anyway via rexec and explicit privsep reseeds, but it's good to be sure. ok markus@
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-08-22Split out from kdump.c the ktrstruct.c bits into ktrstruct.cPhilip Guenther
Reduce the #includes to take advantage of that. ok millert@ otto@
2013-08-21Move the last column-counting members of struct termp (col and maxcols)Ingo Schwarze
from int to size_t, to match some existing ones (offset, *rmargin, viscol). Move some related local variables from int to size_t as well. Needed as a preparation to make a generalized adjbuf() function available beyond the file term.c, i.e. in mandoc.c. Also saves a couple of ugly casts.