summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2018-06-22Constrain IPKTS/OPKTS from floating down beyond the rest of theKenneth R Westerback
displayed lines. Makes vmstat view in tall windows easier to read. ok sthen@
2018-06-22Remove unused function.rob
Ok martijn@, florian@, benno@
2018-06-21Shuffle fields around to eliminate blanks spots resulting fromKenneth R Westerback
removing unused uvmexp fields. Reduces number of lines as well.
2018-06-21Fix DEBUG messageReyk Floeter
2018-06-13Import ldap(1), a simple ldap search client.Reyk Floeter
We have an ldapd(8) server and ypldap in base, so it makes sense to have a simple LDAP client without depending on the OpenLDAP package. This tool can be used in an ssh(1) AuthorizedKeysCommand script. With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@ OK deraadt@
2018-06-20Remove unused variable. Make clang happier.Kenneth R Westerback
2018-06-19Rename some unused fields in struct uvmexp toKenneth R Westerback
unusedNN. Missing man page bits pointed out by jmc@. Ports source scan by sthen@. ok deraadt@ guenther@
2018-06-19Enable ldap(1) in the build.Reyk Floeter
OK deraadt@
2018-06-19Plug getaddrinfo(3) memory leakJeremie Courreges-Anglas
choose_server() calls getaddrinfo(3) but never frees the result. Minimal fix that relies on getaddrinfo(3) only updating the "res" pointer if the call was successful. While here, call freeaddrinfo(3) earlier in whois(), less code and less overall memory used since whois() can recurse. ok millert@ tb@ benno@
2018-06-19spelling;Jason McIntyre
2018-06-19allow bare port numbers to appear in PermitListen directives, e.g.Damien Miller
PermitListen 2222 8080 is equivalent to: PermitListen *:2222 *:8080 Some bonus manpage improvements, mostly from markus@ "looks fine" markus@
2018-06-18Revert previous: style=height is still used by roff_html.c, and itIngo Schwarze
doesn't actually harm responsive design, so keep it for now. Bug reported in de.comp.os.unix.bsd via naddy@, thanks.
2018-06-17"filter" is optional; from matthew martinJason McIntyre
2018-06-17Add heuristic for IPv6 addresses.Florian Obser
From Mikolaj Kucharski <mikolaj at kucharski.name>, thanks! OK job, kn
2018-06-17use size_tTheo de Raadt
2018-06-17incorrect pointer used, hence gecos expansion was ignoredTheo de Raadt
ok millert
2018-06-15invalidate supplemental group cache used by temporarily_use_uid()Damien Miller
when the target uid differs; could cause failure to read authorized_keys under some configurations. patch by Jakub Jelen via bz2873; ok dtucker, markus
2018-06-14Return from magic_test does not need to be copied because the callerNicholas Marriott
will do so anyway and it was just being leaked. ok brynet deraadt
2018-06-13fix some formatting which groff was complaining about;Jason McIntyre
ok reyk
2018-06-13various tweaks;Jason McIntyre
2018-06-13Update AuthorizedKeysCommand example: only match ^sshPublicKey: lines.Reyk Floeter
2018-06-13Import ldap(1), a simple ldap search client.Reyk Floeter
We have an ldapd(8) server and ypldap in base, so it makes sense to have a simple LDAP client without depending on the OpenLDAP package. This tool can be used in an ssh(1) AuthorizedKeysCommand script. With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@ OK deraadt@
2018-06-12Use sizeof(char *) not sizeof(char **) when allocating an arrayTodd C. Miller
of strings with calloc(3). From David CARLIER. OK tb@
2018-06-11Fix some compiler warnings; from Thomas Adam.Nicholas Marriott
2018-06-10unbreak SendEnv; patch from tb@Damien Miller
2018-06-10delete support for the HTML style=height property, which is no longer usedIngo Schwarze
2018-06-10In HTML output, for lists that have an -indent argument, just useIngo Schwarze
a uniform indentation in CSS adapted to the viewport width and ignore the value of the argument taken from mdoc(7). While author-specified widths somewhat work as a micro-optimization in terminal and typeset output, they are nothing but harmful in HTML style= attributes because they break responsive design, whereas using a reasonable default indent almost never results in ugly output. Admittedly, the author-specified width might occasionally look even better, but only slightly so, and only for some viewport sizes. Based on guidance provided by John Gardner.
2018-06-10When formatting man(7) documents that do not contain .SH macrosIngo Schwarze
with -Tps or -Tpdf, do not squeeze the whole text beyond the right margin. Bug reported by Will Backman during BSDCan.
2018-06-09Make it possible to resize multiple panes by dragging corners, from DanNicholas Marriott
Aloni in GitHub issue 1376.
2018-06-09sort previous;Jason McIntyre
2018-06-09slightly better wording re handing of $TERM, from Jakub JelenDamien Miller
via bz2386
2018-06-09add a SetEnv directive for sshd_config to allow an administrator toDamien Miller
explicitly specify environment variables set in sessions started by sshd. These override the default environment and any variables set by user configuration (PermitUserEnvironment, etc), but not the SSH_* variables set by sshd itself. ok markus@
2018-06-09add a SetEnv directive to ssh_config that allows setting environmentDamien Miller
variables for the remote session (subject to the server accepting them) refactor SendEnv to remove the arbitrary limit of variable names. ok markus@
2018-06-09reorder child environment preparation so that variables read fromDamien Miller
~/.ssh/environment (if enabled) do not override SSH_* variables set by the server.
2018-06-08Instead of working out which pane to resize with the mouse by walkingNicholas Marriott
the panes list, look through the layout cells for the nearest border and resize that cell. From Dan Aloni in GitHub issue 1374.
2018-06-08Tweak previous - check for a NULL client and simplify manual text.Nicholas Marriott
2018-06-08Add -x- and -y- to use client size, from Stefan Assmann in GitHub issue 1372.Nicholas Marriott
2018-06-08Greatly simplify the resampling routine using the fact it processesAlexandre Ratchov
exactly one block.
2018-06-08The conversion chain processes exactly one block, so no need toAlexandre Ratchov
calculate & count the number of processed samples. This allows to move the calls to processing routines in dev_mix_badd() and dev_sub_bcopy(), which is much simpler. No behaviour change.
2018-06-08fix incorrect expansion of %i in load_public_identity_files(); reported byDamien Miller
Roumen Petrov
2018-06-08fix some over-long lines and __func__ up some debug messagesDamien Miller
2018-06-07add some EXIT STATUS sections; from matthew martinJason McIntyre
2018-06-07tweak previous;Jason McIntyre
2018-06-07some permitlisten fixes from markus@ that I missed in my insomnia-fueledDamien Miller
commits last night
2018-06-07fix regression caused by recent permitlisten option commit:Damien Miller
authorized_keys lines that contained permitopen/permitlisten were being treated as invalid.
2018-06-06switch config file parsing to getline(3) as this avoids static limitsMarkus Friedl
noted by gerhard@; ok dtucker@, djm@
2018-06-06man bits for permitlisten authorized_keys optionDamien Miller
2018-06-06man bits for PermitListenDamien Miller
2018-06-06permitlisten option for authorized_keys; ok markus@Damien Miller
2018-06-06Add a PermitListen directive to control which server-side addressesDamien Miller
may be listened on when the client requests remote forwarding (ssh -R). This is the converse of the existing PermitOpen directive and this includes some refactoring to share much of its implementation. feedback and ok markus@