summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2017-08-12fallback to strip(1) in case ctfconv(1) couldn't handle the file (i.e. whenJasper Lievisse Adriaanse
the input file lacks useful debug sections). adjust option handling accordingly to pass any flags not handled by ctfstrip(1) down to strip(1). help and ok mpi@ tb@
2017-08-12make "--" before the hostname terminate command-line option processingDamien Miller
completely; previous behaviour would not prevent further options appearing after the hostname (ssh has a supported options after the hostname for >20 years, so that's too late to change). ok deraadt@
2017-08-12Switch from aes256-cbc to aes256-ctr for encrypting new-styleDamien Miller
private keys. The latter having the advantage of being supported for no-OpenSSL builds; bz#2754 ok markus@
2017-08-12add option -l to show only listening sockets (for tcp)Sebastian Benoit
feedback and ok awhile ago bluhm@ job@
2017-08-11pledge ctfconvJasper Lievisse Adriaanse
feedback/ok mpi@ tb@
2017-08-11move pledge after setlocale as suggested by tb@Jasper Lievisse Adriaanse
2017-08-11make 'dump' mutually exclusive with writing out the data, to ease pledingJasper Lievisse Adriaanse
ok mpi@
2017-08-11pledge ctfdump to stdio and rpathJasper Lievisse Adriaanse
ok mpi@
2017-08-11Fix typo in SEE ALSO section.Nayden Markatchev
ok mpi@, jmc@
2017-08-11Fix nested declaration inside union or struct.Martin Pieuchot
2017-08-11Make the "new sentence, new line" check stricter, allowing digitsIngo Schwarze
in the last two letters of the last word of the sentence. No false positives in base or Xenocara. Suggested by and OK jmc@.
2017-08-11tweak previous;Jason McIntyre
2017-08-11Do not insert random name for anonymous member.Martin Pieuchot
2017-08-11Add two EXAMPLES; triggered by a question from jmc@.Ingo Schwarze
Feedback and OK jmc@.
2017-08-11- use mktemp to provide the tempfile name and clean it up properlyJasper Lievisse Adriaanse
- set strict posix mode ok mpi@
2017-08-11add rcs idsJasper Lievisse Adriaanse
2017-08-11add rcs idsJasper Lievisse Adriaanse
2017-08-11Enter ctfconv and ctfdumpMartin Pieuchot
2017-08-11CVS Id and license.Martin Pieuchot
2017-08-11Import a tool for generating CTF data section (SUNW_ctf) based on DWARFMartin Pieuchot
information. ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1) works like strip(1) but also insert a .SUNW_ctf section inside a binary. ok deraadt@, kettenis@, jasper@
2017-08-11Import a tool for dumping the contents of CTF data section (SUNW_ctf).Martin Pieuchot
ok deraadt@, kettenis@, jasper@
2017-08-11refuse to a private keys when its corresponding .pub key does notDamien Miller
match. bz#2737 ok dtucker@
2017-08-11don't print verbose error message when ssh disconnects under sftp;Damien Miller
bz#2750; ok dtucker@
2017-08-11Tweak previous keepalive commit: if last_time + keepalive <= nowDarren Tucker
instead of just "<" so client_alive_check will fire if the select happens to return on exact second of the timeout. ok djm@
2017-08-11Keep track of the last time we actually heard from the client andDarren Tucker
use this to also schedule a client_alive_check(). Prevents activity on a forwarded port from indefinitely preventing the select timeout so that client_alive_check() will eventually (although not optimally) be called. Analysis by willchan at google com via bz#2756, feedback & ok djm@
2017-08-10Remove KOI8 lines after 5.9 is out.Theo Buehler
From Jan Stary, Klemens Nanni and others
2017-08-09let the looking glass look at the details for a specific ASPeter Hessler
diff from Denis Fondras, thanks! OK benno@, phessler@
2017-08-09Fix filtering so it works after the change to only show windows if theyNicholas Marriott
have multiple panes.
2017-08-09Explain how to transform markup for the terminal when not using aIngo Schwarze
pager, and how to remove markup. Add related cross references. While here, as suggested by jmc@, replace the excessive cross references to the intro pages by a more relevant one to mandoc(1). Triggered by a question from, using feedback from, and OK jmc@.
2017-08-09Add -F to choose-tree, choose-client, choose-buffer to specify theNicholas Marriott
format of each line, as well as adding a couple of formats needed for the default display.
2017-08-08Hooks for after-select-pane and after-select-window.Nicholas Marriott
2017-08-06Present the default choice before the colon in prompts. Matches GNU EmacsBrian Callahan
behavior. From Scott Cheloha <scottcheloha@gmail.com> ok florian@
2017-08-02When performing an inverted search in less, make sure to invalidate the matchanton
bounds prior calling regexec(). In this inverted scenario a match is found when regexec() returns false causing the bounds to not be updated. This is problematic since the bounds will then refer to a previous match and future pointer arithmetic will eventually be off which is manifested in a SIGSEGV. Issue reported by Larry Hynes on tech@ ok martijn@ tb@
2017-08-02No longer use names that only occur in the SYNOPSIS section as namesIngo Schwarze
for man(1) lookup. For OpenBSD base and Xenocara, that functionality was never intended to be required, and i just fixed the last handful of offenders using it - not counting the horribly ill-designed interfaces engine(3) and lh_new(3) which are impossible to properly document in the first place. Of course, apropos(1) and whatis(1) continue to use SYNOPSIS .Nm, .Fn, and .Fo macros, so "man -k ENGINE_get_load_privkey_function" still works. This change also gets rid of a few bogus warnings "cross reference to self" which actually are *not* to self, like in yp(8). This former functionality was intended to help third-party software in the ports tree and on non-OpenBSD systems containing manual pages with incomplete or corrupt NAME sections. But it turned out it did more harm than good, and caused more confusion than relief, specifically for third party manuals and for maintainers of mandoc-portable on other operating systems. So kill it. Problems reported, among others, by Yuri Pankov (illumos). OK jmc@
2017-08-02Add selection_present format so commands in copy mode can use it, GitHubNicholas Marriott
issue 1028.
2017-08-01Apply stricter pledge rules if possible. These are based on the usage ofMartijn van Duren
the 'w' and 'r' functions and the 'w' flag to the 's' function. If non of the above is used and input is being read from stdin, we drop all the way down to stdio! Original inspiration by benno@. OK millert@
2017-08-01Remove self assignment.anton
ok deraadt@
2017-08-01update currency exchange rates;Jason McIntyre
2017-07-31Silence some warnings generated by clang.Martijn van Duren
Original diff by espie@ with some minor tweaks by myself. OK espie@ and florian@
2017-07-31Ignore explicitly specified negative column widths rather thanIngo Schwarze
wrapping around to huge numbers and risking memory exhaustion; fixes Debian ps(1). Bug reported by Dr. Markus Waldeck.
2017-07-31Fix an out of bounds read access to a constant array that causedIngo Schwarze
segfaults on certain hardened versions of glibc. Triggered by .sp or blank lines right before .SS or .SH, or before the first .Sh. Found the hard way by Dr. Markus Waldner on Debian and by Leah Neukirchen on Void Linux.
2017-07-31print the number of GCs with print_fld_size instead of print_fld_uint.David Gwynne
this makes a large number of GCs appear as something like "26K" instead of "*".
2017-07-30Remove outdated count of the number of available assignment operators.anton
While here, add a missing paragraph. ok jmc@
2017-07-29return -1 in error path of non-void function, pointed out by clangFlorian Obser
OK deraadt
2017-07-29Goodbye, sys/dkbad.h, you lost your last friend when sparc was removed.Vadim Zhukov
Spotted and diff provided by Andrey Bolkonskiy <andrey0bolkonsky@gmail.com>, thanks! okay deraadt@
2017-07-28Fix some warnings: p1() and p2() are only declared without arguments soNicholas Marriott
that nop() can be nop(void), so just change nop() to have the same arguments as all the other functions and make p1() and p2() proper prototypes; and do not use '\0' as a pointer constant. ok florian deraadt
2017-07-28When the mparse_alloc() prototype changed in read.c 1.151, updatingIngo Schwarze
the enum constant was forgotten in this call. No functional change since the mmsg argument is NULL anyway. Found by florian@ with clang.
2017-07-28use & to check if a bit is set in a flag; pointed out by clangFlorian Obser
OK schwarze
2017-07-28Show pane title in window list for windows with only one pane.Nicholas Marriott
2017-07-27An array is never NULL; pointed out by clang.Florian Obser
OK deraadt