summaryrefslogtreecommitdiff
path: root/external/bsd
AgeCommit message (Collapse)Author
2023-07-05Revert "jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc."riastradh
Apparently this restriction was lifted in C17, and this was even documented in a part of the man page I didn't notice because I got stuck at the incomplete sentence `The aligned_alloc function conforms to.'. Sorry for the noise, folks.
2023-07-05Install a copy of dhcpcd.conf under /usr/share/examplesgutteridge
Addresses PR bin/57487 from Taylor R Campbell.
2023-07-04jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc.riastradh
C11, Sec. 7.22.3.1 The aligned_alloc function, paragraph 2, p. 348: The value of alignment shall be a valid alignment supported by the implementation and the value of size shall be an integral multiple of alignment. posix_memalign does not appear to have any corresponding constraint. XXX pullup-10
2023-07-01jemalloc: enable lint again, it is no longer brokenrillig
Since today, lint handles unnamed struct/union correctly.
2023-06-30merge openpam ximeniachristos
2023-06-30Import ximenia (last was tabebuia)christos
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with expect scripts. - BUGFIX: In openpam_set_option(3), when removing an option, properly decrement the option count. - BUGFIX: In openpam_subst(3), avoid incrementing past the end of the template.
2023-06-29Avoid comparing signed and unsigned values (using signed here seemskre
safer than the usual unsigned when this happens). Might fix build.
2023-06-28tmux: also set HAVE_REALLOCARRAYwiz
2023-06-28update build system for tmux 3.3awiz
2023-06-28merge tmux 3.3awiz
2023-06-28Import original sources for tmux 3.3a.wiz
2023-06-27Sync with openresolv-3.13.2roy
2023-06-27openresolv: Update to 3.13.2 with the following changes:roy
* Do not return error from -i when no interfaces are configured * unbound can now add generic options to forward zones
2023-06-26jemalloc: reduce CONSTCOND diff to upstreamrillig
Since 2021-01-31, lint no longer needs these comments.
2023-06-26jemalloc: remove redundant CONSTCOND commentsrillig
Since 2021-01-31, lint no longer needs them.
2023-06-24Fix typo in comment.msaitoh
2023-06-19Cherry-pick upstream fix for LibreSSL. NFC for us at the moment.rin
https://github.com/libevent/libevent/commit/883630f76cbf512003b81de25cd96cb75c6cf0f9 Don't define BIO_get_init() for LibreSSL 3.5+ BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type will become opaque, so the existing macro will break the build.
2023-06-10libarchive: fail if name_max is 0lukem
Add error handling to the USE_READDIR_R code paths that set name_max from struct statfs or statvfs; if the determined name_max == 0 then return an error. Avoids a crash in tree_dir_next_posix() when the calculation of dirent_size from name_max is too small for the memory allocated for struct dirent. Submitted to upstream in pull request https://github.com/libarchive/libarchive/pull/1903 Should fix PR bin/56080
2023-06-03adapt to ${CC_WNO_STRINGOP_OVERFLOW}lukem
Use ${CC_WNO_STRINGOP_OVERFLOW} instead of the older style more complex expressions. Remove workarounds if they were only for gcc < 10.
2023-06-03adapt to ${CC_WNO_MAYBE_UNINITIALIZED}lukem
Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of the older style more complex expressions. Remove workarounds if they were for a specific version of gcc < 10.
2023-06-03adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}lukem
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of the older style more complex expressions.
2023-06-03ipmon: remove duplicate warning suppressionlukem
2023-06-03adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}lukem
Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} which works for both clang and gcc, and remove compiler-specific equivalents.
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-28deprecate remnants of MKCRYPTOlukem
MKCRYPTO was removed by riastradh@ on 2017-05-22, so remove references to it in comments.
2023-05-23Set PID path back to "/var/run/unbound.pid" so rc scripts work again.hannken
Ok: Christos Zoulas PR bin/57242 unbound rc.d script does not work with chrooted unbound
2023-05-13libfido2: Needs -Wno-error=pointer-sign on arm.riastradh
2023-05-12Handle OpenSSL-3.xchristos
2023-05-11Handle OpenSSL-3.xchristos
2023-05-10atf-check.1 & atf-sh.1: remove references to -h optiongutteridge
These had their -h option removed in the ATF 0.19 release, but these references in the man pages weren't (mostly) removed upstream until a later commit (that hasn't been released).
2023-05-09Handle OpenSSL-3.xchristos
2023-05-09Handle OpenSSL-3.xchristos
2023-05-09Handle OpenSSL-3.xchristos
2023-05-09Handle OpenSSL-3.xchristos
2023-05-09Handle OpenSSL-3.xchristos
2023-05-09accommodate OpenSSL-3.xchristos
2023-05-08Handle OpenSSL-3.xchristos
2023-05-08Elide OpenSSL-3 deprecation warningchristos
2023-04-27dhcpcd: Fix non INET6 builds.roy
Thanks to J. Hannken-Illjes for the fix.
2023-04-21Merge changesroy
2023-04-21Update to dhcpcd-10.0.1 with the following changes:roy
* privsep: keep resources open rather than open/close * dhcp6: OPTION_NTP_SERVER is now preferred over OPTION_SNTP_SERVER * Misc bug fixes mainly around privsep for many platforms. * Fix for reading the some BSD routing table entries. * Fix reading authtokens from config. Big new release, mainly around better privsep process management which allows us to detect when they exit unexpectedly.
2023-04-03atf-run_test.sh: fix spelling of "through"gutteridge
Reported by Jim Spath in PR misc/57318.
2023-03-14atf-c-api.3: correct ATF_TP_ADD_TC() examples to use "tp"gutteridge
2023-02-13search.c: correctly handle escaped backslashesgutteridge
Addresses PR bin/57106 from Bosco G. G., who supplied the patch. (This was also committed in the nvi2 sources: https://github.com/lichray/nvi2/commit/e7054267a371d5caa81edb218f5c8388e11b5197)
2023-02-03remove trash (pointed out by des @ freebsd)christos
2023-01-24Shut down SSL when closing connection.mlelstv
2023-01-24Use SNI.mlelstv
2022-12-21Remove unneeded -D_OPENBSD_SOURCEwiz
2022-12-13importdate is no morechristos