summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-07-28Remove the hack of scrolling forward and backward with +G1G thatIngo Schwarze
many (jmc@, millert@, espie@, deraadt@) considered revolting. Instead, when using a pager, since we are using a temporary file for tags anyway, use another temporary file for the formatted page(s), as suggested by millert@ and similar to what the traditional BSD man(1) did, except that we use only one single temporary output file rather than one for each formatted manual page, such that searching (both with / and :t) works across all the displayed files.
2015-07-28Tidy up the way terminals are described and move some structs out of tmux.h.Nicholas Marriott
2015-07-28let the hack that lets make kill jobs after sudo also work with doas.Marc Espie
okay tedu@, millert@, tweaks by millert@
2015-07-28Fix keepenv handling. Initially reported by Ze Loff on misc@.Vadim Zhukov
tedu@ agrees.
2015-07-28Add ktracing of structs iovec, msghdr, and cmsghdr for {,p}{read,write}v(),Philip Guenther
sendmsg(), and recvmsg(). For cmsghdr, the len, level, and type are always shown, and for SOL_SOCKET,SCM_RIGHTS the fd numbers being passed are shown. ok millert@ deraadt@
2015-07-27default permitted target is all users, not root.Ted Unangst
2015-07-27some improvements from michael reed;Jason McIntyre
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
ok jmc@
2015-07-27Permit kbind(2) use in the sandbox now, to ease testing of ld.so work using itPhilip Guenther
reminded by miod@, ok deraadt@
2015-07-27Add -n to usage. As noticed by Theo Buehler.Marc Espie
2015-07-27Make -q suppress ambiguous option warnings too, from Cam Hutchison.Nicholas Marriott
2015-07-26small clarificationsTed Unangst
2015-07-26checkconfig doesn't return anymore, noted by zhukTed Unangst
2015-07-26fix format stringCharles Longeau
ok deraadt@
2015-07-26nflag (as in sudo, force non-interactive mode)Marc Espie
as discussed with ted@
2015-07-26Oops, CVS mismerged changes, resulting in compilable and mostly working,Vadim Zhukov
but somewhat wrong code. Well, the CVS mismerged but I just missed.
2015-07-26tweak config checking slightlyTed Unangst
2015-07-26remove unused variableCharles Longeau
ok tedu@
2015-07-26Stop exiting on cmdline overflow: it's used only for logging, so abortingVadim Zhukov
the whole process is stupid, and actually breaks things. Noticed and analyzed by as well as input from nigel@. Okay tedu@, espie@ and (if I understood correctly) hall@
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