summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-07-20Warn when rename() fails in openssl(1) apps.Doug Hogan
Fixes Coverity issues 78795 and 78803. ok bcook@
2015-07-20sf points out sudo doesn't allow SHELL in childrenTed Unangst
2015-07-20check that badlisted env has = after the nameTed Unangst
2015-07-20rescope and rename some variables to reduce pressure on the alphabetTed Unangst
2015-07-20introduce a minimal badset ($ENV) for environment stripping so thatTed Unangst
root shells read the right .kshrc
2015-07-20mention that the default of UseDNS=no implies that hostnames cannotDamien Miller
be used for host matching in sshd_config and authorized_keys; bz#2045, ok dtucker@
2015-07-19wrap long lines and kill some whitespaceSebastian Benoit
2015-07-19In the config file allow line continuations with backslashes.Sebastian Benoit
Document this, and comments and environment variables. ok tedu@
2015-07-19when using -D, do not use the mode set for the target file as the directory modeJasper Lievisse Adriaanse
ok millert@
2015-07-19figure out the linewidth at initialization, rather than lateTheo de Raadt
ok tedu miod
2015-07-19whitespace;Jason McIntyre
2015-07-19spell out complete path to config file, okay tedu@Marc Espie
2015-07-19Print strerror, not just the filename, if opening the inplace file fails.Stuart Henderson
ok jasper@
2015-07-19SIGCHLD handler was established before forking into two processes.Theo de Raadt
As a result it also ran in the child (incorrect). ok miod
2015-07-19Do not fork and exec gunzip(1), just link with libz instead.Ingo Schwarze
As discussed with deraadt@, that's cleaner and will help tame(2). Something like this was also suggested earlier by bapt at FreeBSD. Minus 50 lines of code, deleting one interface function (mparse_wait), no functional change intended.
2015-07-19Free memory when finished.Doug Hogan
Fixes coverity 78835. ok bcook@
2015-07-19Make KTR_SYSRET records variables variables sized, leaving out thePhilip Guenther
retval on error, including a long long retval on successful lseek(), and including a register_t retval for other successes. This fixes lseek reporting on ILP32 archs. While here, reworking internal kern_ktrace.c bits to be able to pass two buffers to ktrwriteraw(), so we can avoid mallocing a buffer in some cases and so that KTR_GENIO logs are split at PAGE_SIZE, not PAGE_SIZE-sizeof(struct ktrgenio) ok miod@
2015-07-19Only close descriptor if not already closed.Doug Hogan
Fixes coverity 78916. ok miod@ bcook@
2015-07-19Free variable before potentially reusing.Doug Hogan
Fixes coverity 78824. ok bcook@ miod@
2015-07-19Free passin on error.Doug Hogan
Fixes coverity 78826. ok miod@ bcook@
2015-07-19Fix coverity 105339, by correctly checking return from strtollBob Beck
ok miod@ bcook@
2015-07-19Figure out the tty width using TIOCGWINSZ early on. Will make tame(2)Theo de Raadt
integration easier in the future.
2015-07-19sudo emulation: if execvpe fails with ENOENT, print "command not found"Ted Unangst
requested by krw
2015-07-19Remove effectively unused variable.Doug Hogan
Fixes Coverity issue 21693. ok beck@ bcook@
2015-07-19If we aren't on a tty, clear the pager flag up front.Ingo Schwarze
Just to clean up code structure, no functional change.
2015-07-18Handle short writes and TLS_{READ,WRITE}_AGAIN around tls_write().Alexander Bluhm
input doug@; OK beck@
2015-07-18rearrange variable decls a littleTed Unangst
2015-07-18kill trailing whitespaceJasper Lievisse Adriaanse
2015-07-18add -D to create the full destination path before installing the source into itJasper Lievisse Adriaanse
ok millert@
2015-07-18various fixes; ok jasperJason McIntyre
2015-07-18don't ignore PKCS#11 hosted keys that return empty CKA_ID;Damien Miller
patch by Jakub Jelen via bz#2429; ok markus
2015-07-18skip uninitialised PKCS#11 slots; patch from Jakub Jelen in bz#2427Damien Miller
ok markus@
2015-07-18only query each keyboard-interactive device once per authenticationDamien Miller
request regardless of how many times it is listed; ok markus@
2015-07-18Add RCS ID.Brian Callahan
ok deraadt@
2015-07-18identity isn't optional.Anthony J. Bentley
ok tedu@
2015-07-18Add doas -s as a shorthand for doas $SHELL. ok teduNicholas Marriott
2015-07-18Insist that manual page file name extensions must begin with a digit,Ingo Schwarze
lest pkg.conf(5) be shown when pkg(5) is asked for; issue reported by Michael Reed <m dot reed at mykolab dot com>.
2015-07-18clean up the temporary file when the process dies from a signalIngo Schwarze
2015-07-18Add more error checking and use named constants when useful.Doug Hogan
ok sthen@ tedu@
2015-07-17Initial, still somewhat experimental implementation to leverageIngo Schwarze
less(1) -T and :t ctags(1)-like functionality to jump to the definitions of various terms inside manual pages. To be polished in the tree, so bear with me and report issues. Technically, if less(1) is used as a pager, information is collected by the mdoc(7) terminal formatter, first stored using the ohash library, then ultimately written to a temporary file which is passed to less via -T. No change intended for other output formatters or when running without a pager. Based on an idea from Kristaps using feedback from many, in particular phessler@ nicm@ millert@ halex@ doug@ kspillner@ deraadt@.
2015-07-17add missing prototypeJasper Lievisse Adriaanse
2015-07-177 space indents??Theo de Raadt
2015-07-17add some missing content and markup and optimize some indentationIngo Schwarze
ok tedu@
2015-07-17add -i flag to sed to do in-place editing; mostly based on freebsdJasper Lievisse Adriaanse
feedback/ok deraadt@ millert@
2015-07-17tweak wordingTed Unangst
2015-07-17fix leak, found by coverity, ID 78877Bob Beck
ok miod@ jsing@
2015-07-17improve wording, from Thanos TsouanasTed Unangst
2015-07-17Remove SSLv3 support from openssl(1) s_time.Doug Hogan
ok miod@ bcook@ beck@
2015-07-17Remove SSLv3 support from openssl(1) s_server.Doug Hogan
ok miod@ bcook@ beck@
2015-07-17Remove SSLv3 support from openssl(1) s_client.Doug Hogan
ok miod@ bcook@ beck@