summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2017-07-27uint32_t is never < 0; pointed out by clang.Florian Obser
While we originally get a short passed from the kernel, it's probably better for debugging purposes to show what we are actually having which is a uin32_t hence the %u format. OK deraadt
2017-07-27kp can be NULL (eg, stale utmp entry), so adjust the comment.Jeremie Courreges-Anglas
Prompted by another diff from Klemens Nanni
2017-07-27Add pane_at_left/right/top/bottom formats, from Amos Bird.Nicholas Marriott
2017-07-26Always reset the alerts timer so it works even if activity and silenceNicholas Marriott
are enabled on the same window.
2017-07-26Make bell, activity and silence alerting more consistent:Nicholas Marriott
- remove the bell-on-alert option; - add activity-action and silence-action options with the same possible values as the existing bell-action; - add "both" value for the visual-bell, visual-activity and visual-silence options to trigger both a bell and a message. This means all three work the same way. Based on changes from Yvain Thonnart.
2017-07-26Teach whois(1) to use the new whois referral field name which has now goneStuart Henderson
live on at least .com/.net servers. Changes to this and other fields mentioned in https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en. ok millert@
2017-07-26Fix a typo that caused a non-constant stringIngo Schwarze
to be passed as a format string; no functional change; reported by Michael <Stapelberg at debian>.
2017-07-26Cast the return value of chdir(2) to void. We already have a commentIngo Schwarze
above explaining to human auditors why no error checking is needed here, so it's only fair to tell the compiler, too. Worried compiler reported by Michael <Stapelberg at debian>.
2017-07-25Make WinSCP patterns for SSH_OLD_DHGEX more specific to exclude WinSCPDarren Tucker
5.10.x and up. bz#2748, from martin at winscp.net, ok djm@
2017-07-24Simplify mail sending.Jeremie Courreges-Anglas
No need for asprintf(3) to concat two string literals. The resulting helper() function is trivial, so inline it. ok schwarze@
2017-07-24turn stupid message into a proper warning.Marc Espie
noticed by Michael W. Bombardieri okay schwarze@
2017-07-24GC old cruft.Marc Espie
noticed and patch Michael W. Bombardieri
2017-07-24g/c unused variable; make a little more portableDamien Miller
2017-07-23Allow IPQoS=none in ssh/sshd to not set an explicit ToS/DSCP valueDamien Miller
and just use the operating system default; ok dtucker@
2017-07-23Recognize '-weak' in our libtool, helps at least xine-lib to build.Vadim Zhukov
okay aja@
2017-07-23Fix SPLICE in LT::UList, allowing more ports to build.Vadim Zhukov
Initial prodding and bulk builds by aja@.
2017-07-22Delete extra whitespacesJeremie Courreges-Anglas
2017-07-22err(1, "whatever") -> err(1, NULL) for malloc(3) failuresJeremie Courreges-Anglas
2017-07-22use automatic variables rather than globals; no functional change;Ingo Schwarze
from ScottCheloha at gmail dot com on tech, tweaked by me
2017-07-22no need to cast signal(3) and fprintf(3) return values to (void)Ingo Schwarze
in standard use cases with constant arguments, and prefer getprogname(3) over __progname; from ScottCheloha at gmail dot com on tech
2017-07-21Use the actual width written rather than the possible width to clear.Nicholas Marriott
2017-07-21Trim trailing spaces from full line when it is clearly OK to do so.Nicholas Marriott
2017-07-21Allow ispunct() as well as isalnum() when parsing initial window names.Nicholas Marriott
2017-07-21fix two nasty out-of-bound accesses that killed (sporadically mk38 and mk38bis.Marc Espie
prodded by bluhm@, okay bluhm@
2017-07-21Add -c for respawn-pane and respawn-window, from J Raynor.Nicholas Marriott
2017-07-21I'm equally upset as Kurt Mosiejczuk, who found irrelevant 22-yearTheo de Raadt
old history in this manual page.
2017-07-20Don't exit on invalid config lines, yet return a proper exit status.Jeremie Courreges-Anglas
newsyslog(8) is mainly used to proces log files, not rotating them because of an invalid field means that /var will end up full. Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@ convinced me otherwise. malloc(3) errors are still fatal. Diff prompted by a report from Harald Dunkel, ok millert@
2017-07-20For -Tlint, put parser messages on stdout instead of stderr.Ingo Schwarze
Originally, naddy@ requested this in 2011 (or maybe even earlier). It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011, and everybody agreed in principle, but it was postponed because kristaps@ wanted to do some cleanup of the message system first. Meanwhile, message infrastructure was improved about a dozen times... This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less" unnecessary and allows simple ones like "man -l -Tlint *.1".
2017-07-20Do not call err(3) from the parser. Call mandoc_vmsg() andIngo Schwarze
return failure such that we can continue with the next file.
2017-07-20Add missing <time.h> header.Okan Demirmen
ok joris@
2017-07-20correctly handle letters in .Nx arguments; improves for exampleIngo Schwarze
getpgid(2), ac(8), ldconfig(8), mount_ffs(8), sa(8), ttyflags(8), ...
2017-07-20Add comments to explain correct code that might look wrong.Alexandre Ratchov
2017-07-20Fix debug printf used to report kernel bugs: print par.bps insteadAlexandre Ratchov
of par.bits. Found by coverity.
2017-07-20Fix integer overflow that would causes >12 hours filesAlexandre Ratchov
to not properly relocate. Found with coverity.
2017-07-20Replace usage of strtol() with strtonum().anton
ok bentley@ deraadt@ millert@ tb@
2017-07-19remove some spacing; ok schwarzeJason McIntyre
2017-07-19Prefer arch-dependent over arch-independent pages if the name priority,Ingo Schwarze
the section number, and all names match. Changes little on installed systems except the ordering of apropos(1) results, because we install base and Xenocara manuals in different trees, but fixes lookup of pages like apm(4) vs. apm(4/amd64) in man.cgi(8). Issue discovered by martian67 on freenode and reported via tj@.
2017-07-19Allow HFSC classes to use flow queuesMike Belopuhov
The FQ-CoDel related configuration (flows, quantum) becomes available for the regular bandwidth queue. Internally the kernel will pick the FQ-CoDel for use as a queue manager for the specified class instead of the FIFO. Discussed with and OK henning@ at d2k17 as a part of a larger diff.
2017-07-19more depends gc / yacc rules overhaulMarc Espie
okay millert@
2017-07-19A few cleanups. This only needs to operate on systems with SIGWINCH,Theo de Raadt
SIGINFO, and Bxxxx values that equal xxxx. ok tom millert
2017-07-19depend is deadMarc Espie
2017-07-19fix support for unknown key types; ok djm@Markus Friedl
2017-07-19switch from select() to poll() for the ssh-agent mainloop; ok markusDamien Miller
2017-07-16The only elements using floats are dt.It-tag, so the only elementsIngo Schwarze
allowed to the right of them are dd.It-tag. Fixes overlapping rendering after long tag lists without bodies, for example in the Xenocara apm(4) manual. Issue reported by tj@.
2017-07-15grammar was ass backwards;Jason McIntyre
2017-07-15In .Bl -tag and -hang, do not print a margin-left style attributeIngo Schwarze
for each individual item if the -width argument matches the default of 6n. Suggested by Steffen Nurpmeso <steffen at sdaoden dot eu> on <groff at GNU dot org> in April 2017.
2017-07-15use the same width increase logic for .Bl -hang as for .Bl -tagIngo Schwarze
2017-07-15Add a "-T tlscompat" option to nc(1), which enables the use of all TLSJoel Sing
protocols and "compat" ciphers. This allows for TLS connections to TLS servers that are using less than ideal cipher suites, without having to resort to "-T tlsall" which enables all known cipher suites. Diff from Kyle J. McKay <mackyle at gmail dot com> ok beck@
2017-07-15If -column, -diag, -inset, -item, or -ohang lists have a -width,Ingo Schwarze
don't just talk about ignoring it, actually do ignore it. No change for terminal output, improves HTML output.
2017-07-15correct left margins for different classes of definition listsIngo Schwarze