summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-07-26Implement command matching without execution. This just extendsVadim Zhukov
functionality of the -C flag, so we are not introducing more garbage. Input and okay from jmc@ (documentation) and tedu@ (everything).
2015-07-26Remove support for automatically checking files out of RCS. TheTodd C. Miller
behavior is confusing to users and even GNU patch no longer does it by default. OK krw@ guenther@
2015-07-25Simplify and make tag_put() more efficient by integrating tag_get()Ingo Schwarze
into it and by only handling NUL-terminated strings. Minus 25 lines of code, no functional change.
2015-07-25implement tagging for .ErIngo Schwarze
2015-07-25basic tag support for function names; written at YYCIngo Schwarze
2015-07-25basic support for tag priorities; written at YYCIngo Schwarze
2015-07-24Crank watchdog timeout from 2 to 4 seconds.Alexandre Ratchov
2015-07-24Log when device is disconnected.Alexandre Ratchov
2015-07-24Clear watchdog timer when device is closed, fixes use-after-free inAlexandre Ratchov
error code-paths when device is closed before audio is stopped.
2015-07-24Further improve syntax error reporting in doas:Vadim Zhukov
- teach parser to recover after error, allowing to report many errors instead of the first one only; - fix remaining error printouts without exact position. Some ideas were taken from diff sent by dlg@ earlier, thanks! okay tedu@, dlg@
2015-07-23tweak previous;Jason McIntyre
2015-07-22Implement quoting support in doas.conf. Now you can pass environmentVadim Zhukov
variables and arguments with almost any values. As a bonus, doas will now point to exact place where syntax error occured most of times; there is some room for improvement, though. okay tedu@
2015-07-22Fix memory leak when tail -r is used with anything but regular files.Tobias Stoeckmann
ok schwarze@
2015-07-22Small tweaks:Vadim Zhukov
- whitespace on empty line; - use getuid() consistently. okay tedu@
2015-07-22Revert ca.c r1.7 - BN_to_ASN1_INTEGER() only allocates an ASN.1 integerJoel Sing
when it is not passed a reference to one. In this case, it is passed a reference to an ASN.1 integer that is part of the X509 ASN.1 data structure. Freeing this causes bad things to happen, since it is used and then freed later on. Found the hard way by kinichiro inoguchi.
2015-07-22tweak previous; ok zhukJason McIntyre
2015-07-22one whitespace out of placeTheo de Raadt
2015-07-22Generate new moduli.Darren Tucker
2015-07-21options w/o args go first in SYNOPSIS, and add -C to usage();Jason McIntyre
2015-07-21Convert openssl(1) nseq to new option handling.Joel Sing
ok bcook@ doug@
2015-07-21Convert openssl(1) pkcs7 to new option handling.Joel Sing
ok doug@
2015-07-21kill trailing whitespaceJasper Lievisse Adriaanse
2015-07-21oops, previous commit regarding cases should have just been for parse.y.Ted Unangst
then a commit that says: add a -C option to check config files without running. ok halex then *this* commit: use setresuid to be explicit. suggested by deraadt
2015-07-21cases should line up with switch, from Dimitris PapastamosTed Unangst
2015-07-21Add argument matching support to doas.Vadim Zhukov
Input and generic support from many. Final okay from tedu@.
2015-07-21whitespace cleanupJasper Lievisse Adriaanse
2015-07-21zap trailing whitespaceJasper Lievisse Adriaanse
2015-07-21whitespaceJasper Lievisse Adriaanse
2015-07-21remove superfluous strings.hBrent Cook
2015-07-21When creation of the temporary tags file fails, call the pagerIngo Schwarze
without the -T option, because otherwise the pager won't even start. Fixing a bug reported by jca@. While here, shorten the code by two lines and delete one internal interface function.
2015-07-20app_tminterval moved to apps_posix.c, we don't need sys/times.hBrent Cook
2015-07-20No need to recheck for NULL in openssl(1) ecparam.Doug Hogan
Fixes Coverity issue 78802. ok bcook@
2015-07-20Don't try to run ECDH if ecdh_checks fails in openssl(1) speed.Doug Hogan
Coverity 72744 noticed that rsa_count was overwitten. The underlying issue is that this code is supposed to be in an else block. ok bcook@
2015-07-20Avoid NULL deref in openssl(1) s_cb.Doug Hogan
Fixes Coverity issue 24956. ok bcook@
2015-07-20SHELL is out, from Michael ReedTed Unangst
2015-07-20Move .Pp before .Bl, not after to quiet mandoc -Tlint.Todd C. Miller
Noticed by jmc@
2015-07-20Sync usage with SYNOPSISTodd C. Miller
2015-07-20Avoid possible NULL deref in openssl(1) s_server.Doug Hogan
Fixes Coverity issue 78873. ok miod@
2015-07-20fix eyesore whitespaceJasper Lievisse Adriaanse
2015-07-20check the sigbuf value before using it.Remi Pointel
ok miod@ (thanks).
2015-07-20Avoid dereferencing a NULL.Doug Hogan
Move NULL check before use. Fixes Coverity issue 21746. ok miod@ jsing@
2015-07-20Remove condition that never happens and fix error handling.Doug Hogan
There were two issues here: 1) in == NULL is never true because it's checked above here. (Fixes Coverity 21705) 2) All error handling is in the if (in == NULL) guard, so effectively there's no error handling and it continues on. ok miod@ jsing@
2015-07-20Add an option (history-file) for a file to save/restore command promptNicholas Marriott
history, from Olof-Joachim Frahm.
2015-07-20Better desciption of Unix domain socket forwarding.Todd C. Miller
bz#2423; ok jmc@
2015-07-20Correct the tsl/fsl sequence to ]0 not ]2 (from Marcel Korpel). WhileNicholas Marriott
here, Xr xterm and remove some advice about elinks that is better elsewhere.
2015-07-20Remove leftover xfree() prototype.Nicholas Marriott
2015-07-20whitespace;Jason McIntyre
2015-07-20Check return value for ENGINE_ctrl and ENGINE_ctrl_cmd.Doug Hogan
Fixes Coverity issue 21645. ok bcook@
2015-07-20Check return value in openssl(1) s_socket.Doug Hogan
Fixes Coverity issue 21655. ok bcook@
2015-07-20Remove check that is never true.Doug Hogan
Fixes coverity issue 78799 as group == NULL was already an error condition above here. ok beck@