Make msg_copyout() to check the remaining space within userland buffer.
Otherwise, if the userland buffer size is smaller than the message size,
we write data beyond its end.
Use `xfer' for chunk size like msg_copyin() does.
ok cludwig
crl_cb(): fix EXFLAG_CRITICAL mishandling
The EXFLAG_CRITICAL should be set on encountering a critical CRL
extension unsupported by the library. The current loop does the
opposite: it stops looking as soon as it finds the first critical
extension the library supports...
ok kenjiro
libcrypto/x509 regress: x509_crl regress from Boring via OpenSSL #1775
Currently expected to fail due to mishandling of unknown critical
extensions in x_crl.c, to be fixed shortly.
drop @pkgpath markers from lang/gcc/16, these should not be added
until we switch to 16 by default. should fix update issue reported
by Bryan Vyhmeister.
don't increment scatterlist length twice
this occurs as sg_dma_len() returns the length member of struct scatterlist
where as on x86 linux it returns a dma_length member of the struct
Problem reported by Ryan Fahy in FreeBSD drm-kmod PR 468.
Avoids a 'Data modified on freelist' panic on boot when using discrete
Intel cards (DG2). DG2 has other issues, so remains disabled for now.
revert scatterlist dma_length changes
deraadt reports this caused 'flip_done timed out', 'commit wait timed out'
and a black screen when starting X on meteor lake
cpp: no longer default to -traditional
calendar(1) and xrdb(1) that use cpp as a generic macro processor
already call "/usr/libexec/cpp -traditional".
ok jsg@ deraadt@