summaryrefslogtreecommitdiff
path: root/external
AgeCommit message (Collapse)Author
2021-12-17In vattr_init_mask() check for va_flags and if set add to the mask ofsimonb
to the things that setattr is interested in. Fixes chflags(2) on ZFS. Thanks riastradh@ for fix.
2021-12-15Grr: need NOLINT=yes for the Makefiles that include Makefile.xf86-driverchristos
early, and MKLINT:=no for the ones that include it late. Should fix that.
2021-12-15Lint2 is broken, so disable lint for now.christos
2021-12-15Add -D__GNUC__ for all drivers.christos
2021-12-15Add -D__GNUC__ for lintchristos
2021-12-15fix lintchristos
2021-12-15no lint (c++)christos
2021-12-14Disable lint, some of the code is c++ and some we can't handle __extension__christos
in struct in libctf ctf-error.c
2021-12-14Don't install a symlink for when there's already a file.maya
Caused some cryptic issues in the builds far further along. Pointed out by paulg, thanks.
2021-12-14deal with alloca for lint.christos
2021-12-14avoid __extension__ redefinitionchristos
2021-12-14Another instance of transparent struct/unionchristos
2021-12-14Disable lint and explain why.christos
2021-12-14-Wno-comment for everyone (including lint)christos
2021-12-14Import nvidia firmware from linux-firmware repository at commit:maya
commit 2984e265cac6ef19a0de4fb21396fb87f45273d9 Merge: 6f5aada 359ab77 Author: Josh Boyer <jwboyer%kernel.org@localhost> Date: Fri Sep 3 11:11:05 2021 -0400 Merge tag 'iwlwifi-fw-2021-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware into main Revert accidentally released untested binaries Signed-off-by: Josh Boyer <jwboyer%kernel.org@localhost> Only LICENCE.nvidia file, which I've omitted by accident.
2021-12-13Add newer nouveau firmware build goomaya
Symlinks inferred from linux-firmware/WHENCE and compared to a linux distro's firmware. Note: said linux distro appears to have some mistakes compared to the linux-firmware repo in linking ucode_unload.bin to unload_bl.bin and vice versa in some places. I didn't replicate this aspect, and lack the hardware to test it.
2021-12-13Disable lint and explain why.christos
2021-12-12Add amdgpu firmware build goo (disabled)maya
2021-12-12Import nvidia firmware from linux-firmware repository at commit:maya
commit 2984e265cac6ef19a0de4fb21396fb87f45273d9 Merge: 6f5aada 359ab77 Author: Josh Boyer <jwboyer@kernel.org> Date: Fri Sep 3 11:11:05 2021 -0400 Merge tag 'iwlwifi-fw-2021-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware into main Revert accidentally released untested binaries Signed-off-by: Josh Boyer <jwboyer@kernel.org> Done by removing tegra related directories in linux-firmware.
2021-12-12Import AMDGPU firmware from linux-firmware repository at commit:maya
commit 2984e265cac6ef19a0de4fb21396fb87f45273d9 Merge: 6f5aada 359ab77 Author: Josh Boyer <jwboyer@kernel.org> Date: Fri Sep 3 11:11:05 2021 -0400 Merge tag 'iwlwifi-fw-2021-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware into main Revert accidentally released untested binaries Signed-off-by: Josh Boyer <jwboyer@kernel.org> Cherry picking files using the following method: grep -R MODULE_FIRMWARE bsd/drm2/dist/drm/amd Replace macros as needed. Exclues navi10_mes.bin which doesn't exist on linux-firmware for some reason.
2021-12-11remove clause 3 from all my licenses that aren't conflicting withmrg
another copyright claim line. again. (i did this in 2008 and then did not update all of my personal templates.)
2021-12-09PR misc/56541 ctwm complains about TitleFocus line in system.ctwmrcnia
TitleFocus is the default so it's likely safe to remove, it being kept here was only left over from us previously having NoTitleFocus.
2021-12-07libgmp: remove trailing whitespacerillig
2021-12-07libgmp: suppress lint warnings about int/size_t mismatchrillig
The cases where numbers have 4 GB of precision are probably rare.
2021-12-07libgmp: clean up LINTFLAGSrillig
Now that gmp-impl.h includes <stdlib.h>, defining alloca is no longer necessary.
2021-12-07fix alloca for NetBSD lintchristos
2021-12-06libgmp: fix unwarranted ignored error on 'make clean'rillig
rmdir: dummy: No such file or directory *** Error code 1 (ignored)
2021-12-06libgmp: suppress a few lint warningsrillig
Instead of erroring out due to the unknown function alloca, lint now warns about a pointer/integer mismatch since it wrongly assumes that all __builtin functions return int. The warning is still better than a failing build though.
2021-12-06Add Xwsfb X server to pmax buildabs
With the previous tweak to TURBOchannel framebuffers in sys/dev/tc this should allows pmax to once again run X11. TODO: Investigate pullup to -9
2021-12-06mknative-binutils for all targets.mrg
fixes 'const' vs 'iconv', yytext pointer, and initfini.
2021-12-05xorg-server: Enable wscons-based autoconfiguration.nia
This gets us features like automatic configuration of touchscreens, and X's default keyboard layout matching the console's.
2021-12-05s/vlaue/value/msaitoh
2021-12-01flex(1): fix option name in man page.wiz
From Anon.
2021-11-30In zfs_statvfs(), set f_bresvd and f_fresvd to 0. Fixes random kernelsimonb
accounting suspend/resumes with erroneous values leaking out. Note: no userland leakage as statvfs(2) handler memset 0's the buffer. XXX: Should be fixed with a memset in VFS_STATVFS().
2021-11-29gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618mrg
changeset 18135:561a9c25298e mpz/inp_raw.c: Avoid bit size overflows author Marco Bodrato <bodrato@mail.dm.unipi.it> XXX: pullup-8, pullup-9
2021-11-22cgdconfig(8): Add an argon2id password-based key generation methodnia
This provides an extra level of side-channel and cracking resistance compared to the pre-existing pkcs5_pbkdf2/sha1 method used for password-based disk encryption. Several new keygen parameters are supported: memory (integer, in kilobytes) parallelism (integer, usually the number of CPU cores) version (integer, usually 19...) We do our best to calibrate these automatically when the paramsfile is initially generated. lgtm riastradh@
2021-11-16xorg: sprinkle a little bit of USE_FORT aroundnia
2021-11-15Remove extra _, thanks RVPchristos
2021-11-13fix the remaining vestiges of __sigaction14; now the tsan signal tests work.christos
2021-11-07Libtsan intercepts the pthread exported functions withhannken
dlsym(RTLD_NEXT, func_name). This fails for pthread_join() as it is present both as a stub in libc and as real operation in libpthread and the search order is "libtsan.so libc.so libpthread.so". Force the order "libtsan.so libpthread.so libc.so" so symbols get intercepted from libpthread first. Ok: Matthew Green <mrg@netbsd.org>
2021-11-01mk: Add support for conditional compilation of parts of the tree withnia
partial RELRO when MKRELRO=full is set. Currently the X server needs to be compiled with only partial RELRO due to the way certain (but not all - it seems wsfb works with full RELRO) graphics driver modules are loaded.
2021-11-01Remove theagc
COPTS.*+= -Wno-error=.* lines for building argon2 sources, by fixing the problems at source. Addresses Rin Okuyama's concerns on tech-userlevel/tech-crypto in Message-ID: <f1eab199-3607-bb05-15cc-033e38721ba4@gmail.com>
2021-10-28more underscorechristos
2021-10-28fix sparc: use mcontext to fetch pc and spchristos
2021-10-27Hacks to get zdb working on NetBSD:simonb
- Force accessing raw device but we're passed the block device. - Deal with wedges not returning their size on a stat(2) and use the DIOCGMEDIASIZE ioctl instead. Ok chs@.
2021-10-22Update to tzdata2021e (with much of 2020b still omitted)kre
This includes 2021c (no changes) 2021d (Fiji change) 2021e (Palestine) Fiji has cancelled summer time changes for 2021/2 summer. Currently assume it will be back in 2022/3. Palestine ends summer time October 29 01:00 (rather than Oct 30). Pacific/Enderbury is renamed to Pacific/Kanton and updated for historic data (Pacific/Enderbury retained as a link for compat). Historic timestamp fixes for Niue, Rarotonga, Tongatapu
2021-10-22Remove build for stuff dhcpcd's import-src target now does.roy
2021-10-22Sync updateroy
2021-10-22Update to dhcpcd-9.4.1 with the following changes:roy
* BSD: Find the correct interface for tunnelled routes * OpenBSD: Fix uniqueness of routes for matching priorities * Linux: Support more platforms for seccomp (thanks to Fabrice Fontaine) * eloop: Process all waiting fd's as they come in * control: Unlink sockets when not in privsep * privsep: Renamed Master to Manager * privsep: Renamed Privilged Actioneer to Privileged Proxy * privsep: Fix getting interface VLANID on BSD * privsep: Enforce proper alignment of serialized struct cmsghdr * IPv4LL: Don't remove statically assigned addresses * routes: Fix route comparision for network prefixes with different masks * DHCP6: Only send FQDN for SOLICIT, REQUEST, RENEW, or REBIND messages * DHCP6: Don't spam the log when a RA repeatedly triggers an INFORM * DHCP: Fix infinite INFORM messages
2021-10-20Overhaul of the EVFILT_VNODE kevent(2) filter:thorpej
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual file system to deal with it (except VOP_RENAME(), because VOP_RENAME() is a mess and we currently have 2 different ways of handling it; at least it's reasonably well-centralized in the "new" way). - Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ, compatible with the same events in FreeBSD. - Track which kevent notifications clients are interested in receiving to avoid doing work for events no one cares about (avoiding, e.g. taking locks and traversing the klist to send a NOTE_WRITE when someone is merely watching for a file to be deleted, for example). In support of the above: - Add support in vnode_if.sh for specifying PRE- and POST-op handlers, to be invoked before and after vop_pre() and vop_post(), respectively. Basic idea from FreeBSD, but implemented differently. - Add support in vnode_if.sh for specifying CONTEXT fields in the vop_*_args structures. These context fields are used to convey information between the file system VOP function and the VOP wrapper, but do not occupy an argument slot in the VOP_*() call itself. These context fields are initialized and subsequently interpreted by PRE- and POST-op handlers. - Version VOP_REMOVE(), uses the a context field for the file system to report back the resulting link count of the target vnode. Return this in tmpfs, udf, nfs, chfs, ext2fs, lfs, and ufs. NetBSD 9.99.92.