summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-29simplifyEric Faurot
ok gilles@
2018-11-29Refactor a tangle in ssl3_send_client_verify() into one function for eachTheo Buehler
type, sigalgs/rsa/ec/gost. Move a few special dances for GOST where they belong now. This prompted a fix for a long-standing bug with GOST client certificate authentication where tls1_transcript_data() fails since the transcript was already freed before. Add a bit of missing error checking and leave some further cleanup for later. idea, guidance & ok jsing
2018-11-29We're manipulating malloc flags ourselves, start with restting them all.Otto Moerbeek
ok bluhm@
2018-11-29Better handle automatic column width assignments in the presence ofIngo Schwarze
horizontal spans, by implementing a moderately difficult iterative algoritm. The benefit is that spans containing long text no longer cause an excessive width of their starting column. The result is likely not optimal, in particular in the presence of many spans overlapping in complicated ways nor when spans interact with equalizing or maximizing colums. But i doubt the practical usefulness of making this more complicated. Issue originally reported in synaptics(4), which now looks better, by tedu@ three years ago, and reminded by Pali Rohar this summer.
2018-11-29allow configuration of ecn processingDavid Gwynne
this is a step toward better rfc6040 support ok claudio@
2018-11-29handle tunnel ecn configuration and reporting.David Gwynne
tested with normal and special ifconfig builds. ok claudio@
2018-11-29restrict setting ecn to rootDavid Gwynne
ok claudio@
2018-11-29allow configuration of ecn propagation on tunnel interfaces.David Gwynne
ok claudio@
2018-11-28syncTheo de Raadt
2018-11-28Allow reverse sort orderkn
Prefixing the field with a dash will sort processes in reverse order. `o -pid' will therefore list PID 1 on top. "looks good" tedu, improvements and OK cheloha
2018-11-28fuse_parse_cmd_line(3) is called fuse_parse_cmdline(3).Martin Pieuchot
Based on a diff from Edgar Pettijohn III.
2018-11-28Correct lock initialisation for libcrypto.Joel Sing
The current crypto_lock_init() function is not called early enough, meaning that locks are already in use before it gets called. Worse, locks could be in use when they are then initialised. Furthermore, since functions like CRYPTO_lock() are public API, these could be called directly bypassing initialisation. Avoid these issues by using static initialisers. ok bcook@
2018-11-28Bugfix: never set termp->enc to the ambiguous value TERMENC_LOCALE,Ingo Schwarze
but instead set it to TERMENC_UTF8 or TERMENC_ASCII. Makes tbl(7) box drawing work under -T locale (that is, by default when LC_CTYPE is defined appropriately).
2018-11-28additional check needed after the previous (box drawing) patchIngo Schwarze
2018-11-28This test does not terminate if malloc conf is preconfigured withAlexander Bluhm
J. Clear that option to allow running full regress with paranoid malloc flags. Also fix whitespace. OK otto@
2018-11-28Handle UTF-8 in word-separators option, GitHub issue 1551.Nicholas Marriott
2018-11-28Adjust bgpctl to handle the community changes done in bgpd.Claudio Jeker
OK job@, phessler@
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
communities into one filter_community struct and allow it that more then one community can be used in filter rules (currently up to 3). Also rework the code handling bgpctl show rib commands. The special IMSG types for the various filters are gone and the code is in general simpler. OK job@, phessler@
2018-11-28Further cleanup of icmp_do_error.Claudio Jeker
- Use m_align() since it handles all cases - Use same rounding logic in the size check as in m_align() so all data will filt always. - consolidate pkthdr initalisation into one place - use m_prepend() instead of direct pointer manipulation (including the panic in case an underflow happens). OK bluhm@
2018-11-28Test for EMSGSIZE return when sending more fds in a message then the receiverClaudio Jeker
can handle and also test the case where the reciever is using read() instead of recvmsg() to test the unp_discard() codepath in the kernel. The latter test is just instrumenting the code but has no way to check if the discarding was successful. OK guenther@ bluhm@
2018-11-28Discovered prefixes should not override explicitly configuredFlorian Obser
prefixes. That way one can have multiple prefixes configured on an interface and set "autonomous address-configuration no" in rad.conf to tell clients to not form addresses from some of these prefixes. Pointed out by Ross L Richardson (openbsd AT rlr.id.au), thanks! OK phessler
2018-11-28don't truncate user or host name in "user@host's password: " prompts.Damien Miller
requested by Marcel Logen; ok dtucker@
2018-11-28In -T utf8 output mode, render tbl(7) borders with the UnicodeIngo Schwarze
box drawing characters, U+2500 to U+257F. Originally suggested by bentley@ four years ago, reminded this summer by Pali Rohar. Binary and decimal arithmetics are boring, so let's use some ternary arithmetics for a change. That said, some other aspects are too complicated for my liking, so this could use some polishing in the future.
2018-11-28Implement support for DT_GNU_HASH, taking all the interesting bitsPhilip Guenther
from Matt Dillon's implementation in DragonFlyBSD commit 7629c631. One difference is that as long as DT_HASH is still present, ld.so will use that to get the total number of symbols rather than walking the GNU hash chains. Note that the GPLv2 binutils we have doesn't support DT_GNU_HASH, so this only helps archs were lld is used. ok kettenis@ mpi@
2018-11-27Refactor "find the right pool" code into a function. ok djm@ tb@Otto Moerbeek
2018-11-27EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.cheloha
tvtohz(9) adds an extra tick to account for the present tick, but this tick needs to be removed when the timeout is reloaded thereafter. We already do this for periodic setitimer(2) timeouts. Prompted by Paul Herman's writeup on clock aliasing for DragonflyBSD: https://frenchfries.net/paul/dfly/nanosleep.html Also fixed in FreeBSD r238424. Style tweaks from visa. ok visa@, guenther@
2018-11-27Free sizes for the subdevs array.Martin Pieuchot
ok anton@, visa@
2018-11-27Attach the driver only if the stack managed to set the configuration.Martin Pieuchot
Tested by stsp@
2018-11-27Sync with ldap(1)Martijn van Duren
2018-11-27Sync aldap and ber with ldap(1).Martijn van Duren
OK claudio@
2018-11-27LDAP returns values as OCTET STRINGs, which can be LDAPStrings, but isn'tMartijn van Duren
always the case. This caused some malformed output when querying databases returning data containing NUL-bytes. Fix this by also returning the actual size. With this diff we should produce basically identical output to openldap's ldapsearch. Lots of back and forths with claudio@ OK claudio@
2018-11-27handle -s and -i in a uniform fashion, do not try to change the node typeMarc Espie
but use the Targ_* functions correctly. This fixes an oddity in end node handling noticed by kn@ review and okay kn@
2018-06-13Import ldap(1), a simple ldap search client.Reyk Floeter
We have an ldapd(8) server and ypldap in base, so it makes sense to have a simple LDAP client without depending on the OpenLDAP package. This tool can be used in an ssh(1) AuthorizedKeysCommand script. With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@ OK deraadt@
2018-11-26Implement tbl(7) lines in -T html output,Ingo Schwarze
as far as they are on the edges of table cells rather than going through the middle of cells: * the box, doublebox, and allbox options; * the | and || layout modifiers; * and the _ and = data lines; - but not yet _ and = in individual layout and data cells. Missing feature reported by Pali dot Rohar at gmail dot com.
2018-11-26When a conditional block is closed by putting "\}" on a text lineIngo Schwarze
by itself (which is somewhat unusual but not invalid; most authors use the empty macro line ".\}" instead), agree more closely with groff and do not produce a double space in the output. Quirk reported by millert@. While here, tweak the rest of the function body of roff_cond_text() to more closely match roff_cond_sub(). The subtly different handling could make people (including myself) wonder whether there is any point in being different. Testing shows there is not.
2018-11-26Place mandoc.css into the public domain.Ingo Schwarze
The reason for doing this rather than using the ISC license is that i guess that in some contexts, a requirement to preserve a Copyright and license header might be inconvenient, and i really don't care at all how people use it. What matters is that they do use it, or something similar - attempts to use mandoc without any CSS are a constant source of grief and bogus bug reports because HTML without CSS doesn't look very good: the more structural and semantic and the less presentational and old-fashioned the HTML, the more so. Thanks to Mark Harris <mark dot hsj at gmail dot com> for pointing out that the permissions on this particular file were unclear.
2018-11-26Move the {qcow2,raw} create functions from vmctl into vmd/vio{qcow2,raw}.cReyk Floeter
This way they are in the appropriate place and code can be shared with vmd. Ok ori@ mlarkin@ ccardenas@
2018-11-26Keep a list of known vms, and reuse the VM IDs.ori
This means that when using '-L', the IP addresses of the VMs are stable. ok reyk@
2018-11-26Simplify writing of tbl(7) cells by using the new feature of passingIngo Schwarze
a NULL pointer for the value of a style attribute, in which case the attribute is omitted from the HTML element. Minus 12 lines of ugly and repetitive code, no functional change.
2018-11-26Support more than one style attribute one the same HTML element.Ingo Schwarze
In fact, this is already required when a table uses non-default horizontal and vertical alignment in the same cell.
2018-11-25Let cells containing nothing but \^ extend the cell above.Ingo Schwarze
Missing feature reported by Pali dot Rohar at gmail dot com.
2018-11-25spelling; from miodJason McIntyre
2018-11-25spelling; from miodJason McIntyre
2018-11-25In tbl(7) -T html output,Ingo Schwarze
span cells horizontally and vertically as requested by the layout. Does not handle spans requested in the data section yet. To be able to do this, record the number of rows spanned in the first data cell (struct tbl_dat) of a vertical span. Missing feature reported by Pali dot Rohar at gmail dot com.
2018-11-25regenDaniel Dickman
2018-11-25Add core4g thermal id; ok mlarkin.Daniel Dickman
2018-11-25Don't allow the bootstrap to overlap the start of the OpenBSD area ofKenneth R Westerback
the disk. Even if the OpenBSD area starts with FS_UNUSED or FS_BOOT partitions. ok deraadt@ as part of larger diff
2018-11-25fix mail.mda so it handles system() exit value correctlyGilles Chehade
issue reported and diff tested by florian@
2018-11-25Remove (unused) FS_BOOT training wheels. If you are allowed to newfs aKenneth R Westerback
partition, you obviously know what you are doing. Even (especially?) if the new file system will be ffs or ext2fs. ok deraadt@ as part of larger diff
2018-11-25FS_BOOT partitions are just partitions. Not free(ish) space.Kenneth R Westerback
ok deraadt@ as part of larger diff