1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

196102 Commits

Author SHA1 Message Date
nicm
38c9d6a44f Ignore invalid styles rather than throwing away the whole format, this
matches what we used to do.
2019-03-20 07:24:03 +00:00
nicm
180e3f4c9d Bit more logging to show drawing errors. 2019-03-20 07:13:02 +00:00
schwarze
e6a3234d6f remove bogus escaping of < and > 2019-03-20 04:52:28 +00:00
schwarze
7ce2854c5d remove incorrect escaping of '+', correctly escape '-', and garbage collect .Tn 2019-03-20 04:38:10 +00:00
schwarze
f6f7bd83dc fix serious markup error: \B -> \fB to select bold font 2019-03-20 04:20:36 +00:00
schwarze
94534f406f escape backslashes;
patch from Peter Piwowarski <peterjpiwowarski at gmail dot com>
2019-03-20 04:02:06 +00:00
jsg
6821a20d79 regen 2019-03-20 03:32:46 +00:00
jsg
30610ce568 add radeondrm pci ids missing from pcidevs but present in drm_pciids.h 2019-03-20 03:31:55 +00:00
krw
8617a7aeab Parsing error messages display only the first 80 characters of the
offending line. It is fruitless to try to position the "^" at a
character more than 80 characters from the start of the line.
2019-03-19 23:57:30 +00:00
tedu
c255d9b662 delay dropping privs a bit when root so that setrtable works.
traceroute bits from benno.
ok benno claudio
2019-03-19 23:27:49 +00:00
matthieu
d8a1f9f926 Remove old X proto documentation directories. 2019-03-19 21:40:16 +00:00
nicm
ca3753ceff Include window-status-style and window-status-current style in the format. 2019-03-19 21:09:51 +00:00
anton
1827c4f937 correct LOCATION_REPORTED mask 2019-03-19 20:13:54 +00:00
schwarze
6a543b343b Document the flag EVP_CIPHER_CTX_FLAG_WRAP_ALLOW needed for the EVP
AES wrap modes, the function EVP_CIPHER_CTX_set_flags(3) needed to
set it, and the companion functions EVP_CIPHER_CTX_clear_flags(3)
and EVP_CIPHER_CTX_test_flags(3).
With help and an OK from tb@.
2019-03-19 19:50:03 +00:00
nicm
cafd4ec8ef Add a cursor_character format. 2019-03-19 19:01:50 +00:00
jsing
c51576eed0 Avoid an internal 2 byte overread in ssl_sigalgs().
Found by oss-fuzz, fixes issue #13797.

ok beck@ tb@
2019-03-19 16:56:04 +00:00
jsing
b585d7de8f Revert TLS1_get{,_client}_version simplification because DTLS. 2019-03-19 16:53:03 +00:00
schwarze
18b6272148 When the last line of the input is empty and the previous line reduced
the line input buffer to a length of one byte, do not write one byte
past the end of the line input buffer.  Minimal code to show the bug:
printf ".ds X\n.X\n\n" | MALLOC_OPTIONS=C mandoc
Bug found by bentley@ in the sysutils/rancid par(1) manual page.
2019-03-19 16:25:38 +00:00
nicm
9beccd0fdb Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS. 2019-03-19 13:35:42 +00:00
millert
4218f86768 When running sendmail, set argv[0] to "sendmail" not "send-mail".
This was a historical oddity that dates back to back to the days
of delivermail.
2019-03-19 13:26:27 +00:00
claudio
514dea1b29 In uaudio_pdata_intr() don't error out early if the status is USBD_IOERROR.
At least my uaudio(4) over ohci is encountering a fair amount of USBD_IOERROR
when the system is busy (most probably because the deadline is missed because
of the big lock being hold).  With this in, playing music while running a
make build no longer stops after a few seconds.
OK ratchov@
2019-03-19 09:19:16 +00:00
deraadt
55b49f8815 sync 2019-03-19 03:19:16 +00:00
jsg
a5f4ee4e3f update libelf from elftoolchain r3714 to r3717
check for overflow correctly after computing a file offset
2019-03-19 02:37:46 +00:00
jsg
e219834f80 update libelf from elftoolchain r3669 to r3714
includes changes to address problems sunil@ found with fuzzing
original diff from and ok sunil@
2019-03-19 02:31:35 +00:00
krw
8ab09ba799 Nuke a couple of XXX comments. 2019-03-19 00:50:11 +00:00
krw
1abdd88fb9 Use same idiom for pretty_print_domain_search() and
pretty_print_classless_routes(), making both of them local to
options.c.

Avoids a double pretty print of DHO_DOMAIN_SEARCH, eliminates an
unneeded 1024 byte static array.

Shrinks size of upcoming diff to implement parsing of domain search
option in leases and dhclient.conf.
2019-03-18 22:26:56 +00:00
claudio
2872fb2fb3 Disable wscons regress test for now. This test is touching /dev entries
and the result is a rather annoying keyboard repeat issue.
Finding this was a bit of a saga.  OK by many
2019-03-18 22:12:40 +00:00
nicm
d680d99b21 Free temporary screens when writing format. 2019-03-18 21:55:04 +00:00
nicm
b63b896a53 The individual -fg, -bg and -attr options have been deprecated (in
favour of -style), undocumented and hidden from show-options since
2014. Remove them, except for status-fg and status-bg.
2019-03-18 21:46:01 +00:00
nicm
65239c33e5 Add some bits to the STATUS LINE section about the new option. 2019-03-18 21:01:04 +00:00
kn
2621216682 Consistently use imperative present tense throughout the manual
Feedback and OK jmc
2019-03-18 21:00:09 +00:00
nicm
4ffcb1c8b1 Extend the #[] style syntax and use that together with previous format
changes to allow the status line to be entirely configured with a single
option.

Now that it is possible to configure their content, enable the existing
code that lets the status line be multiple lines in height. The status
option can now take a value of 2, 3, 4 or 5 (as well as the previous on
or off) to configure more than one line. The new status-format array
option configures the format of each line, the default just references
the existing status-* options, although some of the more obscure status
options may be eliminated in time.

Additions to the #[] syntax are: "align" to specify alignment (left,
centre, right), "list" for the window list and "range" to configure
ranges of text for the mouse bindings.

The "align" keyword can also be used to specify alignment of entries in
tree mode and the pane status lines.
2019-03-18 20:53:33 +00:00
kn
e6d0a5bd63 An existing VM may be started by referencing its ID
Document `vmctl start id ...' again but be clear about the difference
between starting new and existing VMs by name and ID respectively.  This
completes what I started with vmctl.8 revision 1.61.

Feedback and OK jmc
2019-03-18 20:27:12 +00:00
jmc
415472f1ac spelling; 2019-03-18 18:46:13 +00:00
schwarze
df6f350d85 * note that the handshake must be completed first
* correct the description of "unknown"
(the previous are both from OpenSSL 1.1.1, still under a free license)
* add a comment saying that TLS1_get_version() and TLS1_get_client_version()
are intentionally undocumented (reasons provided by jsing@)
2019-03-18 18:31:15 +00:00
jmc
c99dd5cd55 add a temporary addition to NAME for openrsync; ok deraadt 2019-03-18 18:11:07 +00:00
anton
606510483a sync 2019-03-18 17:32:18 +00:00
anton
286735181e Add kubsan(4), a undefined behavior sanitizer for the kernel. It's
capable of detecting undefined behavior at runtime and all findings are
printed to the system console, including the offending line in the
source code.

kubsan is limited to architectures using Clang as their default compiler
and is not enabled by default.

Derived from the NetBSD implementation.

ok kettenis@ visa@
2019-03-18 17:30:07 +00:00
krw
5ddbaee525 Add a couple of checks to ensure option data fits into the proposal
field being memcpy()'d into.

Tweak DHO_ROUTERS handling to be similar to the other cases populating
proposal->rtstatic, including a warning when things go wrong.
2019-03-18 16:47:18 +00:00
fcambus
6db384e5ca Modify rasops_list_font_cb() to not filter out fonts with different
sizes than the currently used one. This allows getting a list of all
loaded fonts when using the WSDISPLAYIO_LSFONT ioctl.

On top of allowing to see all fonts which are currently loaded when
invoking the -l option of wsfontload(8), it also removes the confusion
as to why we might reach the WSDISPLAY_MAXFONTCOUNT limit faster than
expected when loading more fonts.

OK sthen@
2019-03-18 16:10:39 +00:00
deraadt
08a7862d66 repair a few more yoda compares 2019-03-18 15:33:21 +00:00
nicm
610f37cff0 Mode init needs to be fired with the mode on the list or it will not be
resized correctly.
2019-03-18 15:25:36 +00:00
nicm
71431f24a7 Add format variables for the default formats for the various modes
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
2019-03-18 14:10:25 +00:00
schwarze
9476a40def Insert a missing input line break after a .Vt macro;
from Jan Stary <hans at stare dot cz>.
Where here, correct one .Vt NULL -> .Dv NULL.
2019-03-18 12:58:00 +00:00
nicm
39052edfed Make array options a sparse tree instead of an array of char * and
remove the size limit.
2019-03-18 11:58:40 +00:00
schwarze
16c14997b2 Split EVP_aes_128_cbc(3) out of EVP_EncryptInit(3):
both resulting pages are still long.

Mention a number of missing functions.
Add some text from the OpenSSL 1.1.1 EVP_aes.pod manual page,
which is still under a free license.
Add missing HISTORY information.

Triggered by tb@ providing EVP_aes_{128,192,256}_wrap(3)
in evp.h rev. 1.74.
2019-03-18 11:38:16 +00:00
nicm
483c5500f7 With force, kill previous job before starting new. Fixes problem
reported by Scott Mcdermott in GitHub issue 1627.
2019-03-18 09:46:42 +00:00
jmc
59175122cf flesh out SYNOPSIS and usage() somewhat;
ok deraadt benno
2019-03-18 08:11:11 +00:00
schwarze
5f6e323293 fix a NULL pointer access on empty tbl(7) data cells
that bentley@ found in syncthing-bep(7)
2019-03-18 08:00:26 +00:00
jmc
8694df764d tweak previous; 2019-03-18 06:41:52 +00:00