summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2017-11-29simplify print_ascii; from kshe; ok tom@Otto Moerbeek
2017-11-29fcntl(F_GETOWN) doesn't have an argument, so don't display it. WhilePhilip Guenther
here, make it easier to extend the set of such fcntl() commands ok deraadt@
2017-11-29Pledge can be done earlier; from ksheOtto Moerbeek
2017-11-29Import updated moduli.Darren Tucker
2017-11-28Have sftp print a warning about shell cleanliness when decoding the firstDarren Tucker
packet fails, which is usually caused by shells polluting stdout of non-interactive starups. bz#2800, ok markus@ deraadt@.
2017-11-28duplicate word, found by igor(1)Ingo Schwarze
2017-11-28zap newline in warn(); from ksheOtto Moerbeek
2017-11-28Allow TLS ciphers and protocols to be specified for nc(1).Joel Sing
Replace the "tlscompat" and "tlsall" options with "cipher" and "protocol" options that are key/value pairs. This allows the user to specify ciphers and protocols in a form that are accepted by tls_config_set_ciphers() and tls_config_set_protocols() respectively. ok beck@ (also ok jmc@ for a previous revision of the man page).
2017-11-28Need to remove fktrace here tooPhilip Guenther
Noted by Andreas Kusalananda Kähäri (andreas.kahari(at)icm.uu.se)
2017-11-28zap dead stores; prompted by a diff from ksheOtto Moerbeek
2017-11-28garbage collect a few functions that are not really needed; from ksheOtto Moerbeek
2017-11-28document that the 'e' command is non-portable; from kshe; ok jmc@Otto Moerbeek
2017-11-28more whitespace errorsDamien Miller
2017-11-28whitespace at EOLDamien Miller
2017-11-27Use CLOCK_MONOTONIC for the delay before printing "Calculating line numbers"Jeremie Courreges-Anglas
from Scott Cheloha who's pushing this upstream. ok tb@
2017-11-27Safer handling of the jump_table[] in dc's bcode.cTom Cosgrove
Based on a diff sent to tech@ by kshe59 (at)zoho (dot) eu - thanks ok otto@, who also remembered to check the regression tests
2017-11-26Fix segfault which could be triggered by deleting a backwards sentence ifRicardo Mestre
cursor's current line was blank: echo "\nfoo" > a && vi a d( Same fix applied by rin@NetBSD, via nvi2 project. OK tom@ martijn@ tb@ millert@
2017-11-25Add monotime_ts and monotime_tv that return monotonic timespec andDarren Tucker
timeval respectively. Replace calls to gettimeofday() in packet timing with monotime_tv so that the callers will work over a clock step. Should prevent integer overflow during clock steps reported by wangle6 at huawei.com. "I like" markus@
2017-11-25Remove get_current_time() and replace with calls to monotime_double()Darren Tucker
which uses CLOCK_MONOTONIC and works over clock steps. "I like" markus@
2017-11-24Use clock_gettime and getrusage to compute real and user time.Jeremie Courreges-Anglas
Better handling of clock jumps, from Scott Cheloa.
2017-11-23Fix slot leak occuring when the device mode doesn't matchAlexandre Ratchov
the client mode. Found by landry@.
2017-11-23Remove useless variable assignments in .au header parsing code. FromAlexandre Ratchov
Michael W. Bombardieri. Thanks.
2017-11-20Free memory in the error code-path, when we run out of descriptorsAlexandre Ratchov
during initialization. From Michael W. Bombardieri, thanks.
2017-11-17Allow formats in selectp -T, from Thomas Adam.Nicholas Marriott
2017-11-16Add -and-cancel variants for scrolling commands to exit copy mode whenNicholas Marriott
the bottom is reached, from Stephen Hicks.
2017-11-15Add a common function for spreading out cells and use it for the twoNicholas Marriott
even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
2017-11-15Completely rewrite the reflow code to correctly handle double widthNicholas Marriott
characters (previously they were not accounted for).
2017-11-15If there is a double width character at the very end of the line withNicholas Marriott
not enough room to draw it, just leave it out.
2017-11-15downgrade a couple more request parsing errors from process-fatal toDamien Miller
just returning failure, making them consistent with the others that were already like that.
2017-11-15fix regression in 7.6: failure to parse a signature request messageDamien Miller
shouldn't be fatal to the process, just the request. Reported by Ron Frederick
2017-11-14Verify that every section header lies within the mapped file.Martin Pieuchot
Pointed out by Mark Johnston, Markj@FreeBSD
2017-11-14fix problem in configuration parsing when in config dump mode (sshd -T)Damien Miller
without providing a full connection specification (sshd -T -C ...) spotted by bluhm@
2017-11-13When searching in copy mode, do not scroll if the result is already onNicholas Marriott
screen. GitHub issue 1150.
2017-11-11replace sloppy parsing of numeric values with strtonum (incr, decr, divert)Marc Espie
still use integers, so use the natural bounds for these. POSIX says m4 should error when these use non numeric values, and now they do. okay millert@
2017-11-10Be less assertive when warning about a possible typo.Jeremie Courreges-Anglas
ok schwarze@ "good compromise" jmc@
2017-11-10When tracing is compiled in make sure it flushes its content to disk asMartijn van Duren
soon as the TRACE function is called. This helps while debugging crashes. Noticed and annoyed by while debugging the SIGTERM crash I just submitted. OK millert@ and tb@
2017-11-10Fix a use after free when sending SIGHUP or SIGTERM to vi when in editingMartijn van Duren
mode. Found while testing previous commit by millert@ OK millert@ and tb@
2017-11-10Add rcv_openat() function that does the open, makes sure it is aTodd C. Miller
regular file with the expected permissions and locks it. Inspired by changes in NetBSD by Christos. OK martijn@
2017-11-10Avoid using system(3) when running "sendmail -t". We already haveTodd C. Miller
the recover file fd open so just run sendmail with stdin set to the recover file. OK martijn@
2017-11-10streamline termp allocation. this will allow the init function toMarc Espie
do things differently in the ps vs pdf case. okay schwarze@
2017-11-09If we successfully change the directory, set PWD too to give the shell aNicholas Marriott
hint in case of symlinks.
2017-11-07Convert all the fields of {ah,esp,ipcomp}stat to uint64.Visa Hankala
This is a preliminary step for using percpu counters with the data. OK mpi@
2017-11-07prefill with silence the buffer where cmap_copy() stores samplesAlexandre Ratchov
rather than the client buffer. Fixes uninitialized data being treated as recorded samples when resampling or format conversions are involved but no mono->stereo conversion is used.
2017-11-07prefill with silence the buffer where cmap_copy() stores samplesAlexandre Ratchov
rather than the file buffer. Fixes initialized data being treated as recorded samples when resampling or format conversions are involved but mono->stereo conversion is disabled.
2017-11-06Use the symtab's sh_link to get the string table section.Martin Pieuchot
This is technically more correct than looking for ".strtab" and allows us to get rid of unportable ELF_STRTAB. We can also get rid of the hack for some incorrect ELF files since we no longer try to apply relocations for the string table. From Mark Johnston, markj@FreeBSD
2017-11-03Prefill client rec buffer with silence. This is necessary becauseAlexandre Ratchov
certain channels don't get samples, for instance when mono->stereo conversion is disabled.
2017-11-03Clear key properly if on space with nothing in it.Nicholas Marriott
2017-11-03Prefill rec buffer with silence. This is necessary because certainAlexandre Ratchov
channels don't get samples, for instance when mono->stereo conversion is disabled.
2017-11-03Support mouse on preview in tree mode.Nicholas Marriott
2017-11-03Change mouse in modes so that one click moves the cursor and a doubleNicholas Marriott
click chooses the line.