summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-04one regress test per line to reduce future churnanton
2019-03-04When closing the slave end of a pty, generate an EOF event to any kqueueanton
consumer of the master end. This behavior is equivalent to how pipes already behave with kqueue. Also, FreeBSD and NetBSD behaves the same way. ok deraadt@ millert@
2019-03-04allow IPv6 to flow through pppx(4)denis
OK phessler@ deraadt@
2019-03-04For TIOCGWINSZ, #include <termios.h> rather than <sys/termios.h>Ingo Schwarze
like almost all other userland programs. This also improves portability: for example, it looks like <sys/termios.h> does not work on FreeBSD, or at least bapt@ did the same change over there.
2019-03-04Don't index a void pointer, fixes compilation with visual studio.Todd C. Miller
Gcc/clang will treat void * as char * but this is non-standard. OK deraadt@ jsing@ inoguchi@
2017-10-11Add regression tests for vmd(8) config parsing.Alexander Bluhm
from Carlos Cardenas; OK mlarkin@
2019-03-04BUGS goes last;Jason McIntyre
2019-03-04known fact, check-lib-depends does not understand subdirectoriesMarc Espie
of LOCALBASE (yet) reminded by cwen@'s question
2019-03-04When the -S option is given to man(1) and the requested manual pageIngo Schwarze
name is not found and the requested architecture is unknown, complain about the architecture rather than about the manual page name: $ man -S vax cpu man: Unknown architecture "vax". $ man -S sparc64 foobar man: No entry for foobar in the manual. Friendlier error message suggested by jmc@, who also OK'ed the patch.
2019-03-04Fix the last straggler where the struct roff_node "line" memberIngo Schwarze
was abused to detect an input line break; instead, use the NODE_LINE flag to improve robustness.
2019-03-04According to RFC 7230 Section 3.2 header field names areFlorian Obser
case-insensitive. Pointed out by "Wolf" ( wolf at wolfsden.cz ), thanks! OK benno
2019-03-04Fix sense of aggressive-resize flag.Nicholas Marriott
2019-03-04Don't set client offset if client is not a terminalNicholas Marriott
2019-03-04According to RFC 7230 Section 3.2 header field names areFlorian Obser
case-insensitive. Pointed out by "Wolf" ( wolf at wolfsden.cz ) for acme-client, thanks!
2019-03-04Add padding to struct sadb_x_counter to make it comply withStefan Sperling
alignment constraints documented in RFC 2367 section 2.2. Fixes 'ipsecctl -ss' segfault observed on i386. with and ok deraadt@ visa@ mikeb@
2019-03-04link pthread_rwlock2 testSebastien Marie
2019-03-04add a new pthread_rwlock test based on concurrent rw/rd access on a buffer.Sebastien Marie
discussed with visa@
2019-03-04Yet another (unsigned) cast who's only purpose is to incorrectly truncateTheo de Raadt
a size_t. Multiply-overflow is checked beforehands. If this could (it can't) validly be more than 4GB, the (unsigned) is a truncation and causes copyin of insufficient data, without indicating error... ok claudio
2019-03-04Make sure we clear all valid bytes in clrbuf.David Hill
ok deraadt@
2019-03-04add the STANDARDS sectionDavid Gwynne
this lists the current RFCs, the obsoleted or updated RFCs are left commented out.
2019-03-03Wake all waiters when unlocking an rwlock. This fixes a hangVisa Hankala
that could happen if there was more than one writer waiting for a read-locked rwlock. Problem found by semarie@. OK semarie@ tedu@
2019-03-03uppercase Internet, to match the other instance in this page;Jason McIntyre
2019-03-03talk about IPv4 and IPv6 in a more symmetrical wayIngo Schwarze
and avoid an anachronistic wording found by deraadt@; joint work with deraadt@
2019-03-03tweak the previous two commits:Ingo Schwarze
a Internet address -> an Internet address and sort SEE ALSO
2019-03-03Just called the Internet nowTheo de Raadt
2019-03-03We call it just Internet nowTheo de Raadt
2019-03-03in vdprintf(), no need to use the file locking mecanism when usingSebastien Marie
fflush() as the variable is stack based (no possible concurrent access). call directly __sflush() ok visa@ deraadt@
2019-03-03Found some historical code. Don't cast the pointer for bzero to a different ↵Theo de Raadt
type, and definately don't do this to the length: (unsigned)(cplim2 - cp2) ok claudio
2019-03-03on malloc(3) failure, gracefully abort processing of the current fileIngo Schwarze
rather than crashing with a NULL pointer access; patch from Benjamin Baier <programmer at netzbasis dot de>; OK otto@ deraadt@
2019-03-03portmap arrived decades after after DARPA addresses became known asTheo de Raadt
Internet protocol addresses, change the text to reflect that.
2019-03-03This has nothing to do with DARPA.Theo de Raadt
2019-03-03Reset HTML formatter state, in particular the id_unique hash,Ingo Schwarze
after processing each manual page, such that the next page starts from a clean state and doesn't continue suffix numbering. Issue found while looking at https://github.com/Debian/debiman/issues/48 which was brought up by Orestis Ioannou <oorestisime at github>.
2019-03-03Adjust caller of sa2addr() so this compiles again.Claudio Jeker
Found by mbuhl at mbuhl dot me
2019-03-02Do not open a subsection for each and every macro.Ingo Schwarze
Instead, use a tagged list and the canonical .Ic macro as it is natural for such purposes. While here, also delete heaps of needless escaping.
2019-03-02On upgrade, only clean up the library relinking kits when we knowTheo Buehler
that a new one will be installed (i.e., base*.tgz was selected). 'makes sense' deraadt
2019-03-02Fix OID for sm3WithRSAEncryption which was apparently mixed upTheo Buehler
with the OID for SM2 signing with SM3. From Daniel Wyatt
2019-03-02Represent multiple subsequent .IP blocks having a consistentIngo Schwarze
head argument of *, \-, or \(bu as <ul> rather than as <dl>, using a bit of heuristics. Basic idea suggested by Dagfinn Ilmari Mannsaker <ilmari at github> in https://github.com/Debian/debiman/issues/67 and independently by <Pali dot Rohar at gmail dot com> on <discuss at mandoc dot bsd dot lv>.
2019-03-02Unfortunately we cannot use unveil in the main process since thisFlorian Obser
breaks config reload. We cannot simply unveil the config file since it might appear after startup and the config file syntax allows to include other files. This is a problem with all the other parse.y based privsep'ed daemons as well. pledge("rpath") has to be enough for now.
2019-03-02Bump VMM_MAX_NAME_LEN to 64 to allow for longer vm names.Antoine Jacoutot
ok mlarkin@
2019-03-02Limited the number of allowed stacked wsmux devices. A sufficiently long chainanton
of such devices can exhaust the kernel stack due to wsmux_do_open() being recursive. While here, serialize the operation of stacking a wsmux device. Joint effort with and ok visa@
2019-03-02Introduce the IMSG_DATA_SIZE() macro to replace recurring math onpamela
imsg.hdr.len to shorten and simplify code. correction and OK florian@
2019-03-02Introduce the IMSG_DATA_SIZE() macro to replace recurring math on ↵pamela
imsg.hdr.len to shorten and simplify code. OK florian@
2019-03-01Since ring->index points to the next free slot, once we reach index zeroPatrick Wildt
we know that the last non-link TRB has been written and we can look at the flags to set the chain bit in the link TRB. Since we will now toggle the cycle bit on the first TRB of a ring, set it on the ring reset. Tested by jcs@, jsg@ and visa@ "commit it" jcs@
2019-03-01usage if there's extra arguments. ok knTed Unangst
2019-03-01Fix a crash: don't assume that all input files are ELF objectsJeremie Courreges-Anglas
ld(1) would try to free uninitialized memory when used with -r -b binary <fontfile> by ports/textproc/mupdf. Perform the same bfd type check as bfd_elf_match_symbols_in_sections(). Fix found the hard way, cheese and wine sponsor: miod. Almost identical fix already present upstream. Also set the freed pointer to NULL, just in case. ok tb@ sthen@
2019-03-01de-obfuscate by expanding three useless macros; no functional change;Ingo Schwarze
tweak and OK millert@
2019-03-01trailing whitespaceFlorian Obser
2019-03-01Start UTF-8 cleanup of store_char(), in particular getting rid ofIngo Schwarze
a call to the flawed function step_char(-1), using the standard function mbtowc(3) instead. Merge in in_ansi_esc_seq(), simplifying the code, and make the related functions is_ansi_end() and is_ascii_char() static because they are used in line.c only. OK nicm@, and no opposition when shown on tech@
2019-03-01Fix previous extra arguments commitkn
I blatantly missed the argc/argv adjustments after getopt(3), resulting in valid commands like `vmctl create a -s 1G' to fail. Noticed by ajacoutot the hard way. OK ajacoutot jca
2019-03-01Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elementsIngo Schwarze
as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.