Pull up the following revisions(s) (requested by msaitoh in ticket #369):
usr.sbin/syslogd/tls.c: revision 1.22-1.25
syslogd: Fix memory leak in match_certfile().
Use X509_free() to deallocate certfile data in init_global_TLS_CTX().
Fix mem-leak of match_hostname(). ASN1_OCTET_STRING must be deallocated.
Fix memory-leak during tls_send().
Found and fixed by Masakazu OOHASHI at IIJ.
Pull up the following revisions(s) (requested by msaitoh in ticket #368):
usr.sbin/syslogd/syslogd.c: revision 1.149-1.150
syslogd: Fix a bug that tls_ca mistakenly matches tls_cadir.
syslogd: Fix incorrect comparison in buf_queue_obj_size()
Parse the information for integrated RAID events. We now print (e.g.):
mpt2: Integrated RAID Event: volume 0 status: optimal, enabled
mpt2: Integrated RAID Event: volume 2 status: missing, enabled, inactive
instead of the cryptic:
mpt2: Unknown async event: 0xb000000
Also byte swap the Unknown async event output to make it less cryptic on
big-endian hosts.
Pull up the following revisions(s) (requested by riastradh in ticket #2035):
lib/libc/citrus/modules/citrus_viqr.c: revision 1.10
lib/libc/citrus/modules/citrus_iconv_std.c: revision 1.18
iconv(3): Fix use-after-free in VIQR encoding, and incorrect
mbstate_t allocation alignment in various encodings (triggerable
if the source is VIQR).
Fixes:
- PR lib/59019: various iconv issues
- PR lib/60413: iconv_samples test crashes on sparc*
Pull up the following revisions(s) (requested by riastradh in ticket #1308):
lib/libc/citrus/modules/citrus_viqr.c: revision 1.10
lib/libc/citrus/modules/citrus_iconv_std.c: revision 1.18
iconv(3): Fix use-after-free in VIQR encoding, and incorrect
mbstate_t allocation alignment in various encodings (triggerable
if the source is VIQR).
Fixes:
- PR lib/59019: various iconv issues
- PR lib/60413: iconv_samples test crashes on sparc*
octgpio: OCTEON GPIO controller driver
Port of OpenBSD octgpio(4) (Visa Hankala) onto the NetBSD fdtbus
gpio controller API.
Deviations from the OpenBSD original, per the SDK CSR definitions:
CN63XX/CN68XX and CN38/52/56/58XX have 16 pins and no XBIT_CFG
registers. The OUTPUT_SEL output mux is cleared only on CN70XX and
newer, where it exists.
Attach at pass 3 so consumers (octmmc cd-gpios) find the controller
registered. Primary motivation is SD card-detect on boards with a
real MMC slot but could drive LEDs and other features later.
Reviewed by skrll@
: ----------------------------------------------------------------------
Pull up the following revisions(s) (requested by msaitoh in ticket #2036):
usr.sbin/syslogd/extern.h: revision 1.5
usr.sbin/syslogd/sign.c: revision 1.10
usr.sbin/syslogd/sign.h: revision 1.4
usr.sbin/syslogd/syslogd.c: revision 1.132,1.137,1.139,1.141,1.145,1.148,1.151-1.155 via patch
usr.sbin/syslogd/syslogd.h: revision 1.10-1.11 via patch
usr.sbin/syslogd/tls.c: revision 1.18,1.20,1.26-1.27
usr.sbin/syslogd/tls.h: revision 1.4
Some improvements for syslogd(8):
- Retry sendto() if it raises EBUSY, too.
- Add missing SLIST_INIT() in main(). This is not a real bug because
the tls_opt is in BSS and SLIST_INIT() assign NULL.
- Cleanups (KNF, fix typos and G.C.).
Pull up the following revisions(s) (requested by msaitoh in ticket #1307):
usr.sbin/syslogd/tls.c: revision 1.22-1.25
syslogd: Fix memory leak in match_certfile().
Use X509_free() to deallocate certfile data in init_global_TLS_CTX().
Fix mem-leak of match_hostname(). ASN1_OCTET_STRING must be deallocated.
Fix memory-leak during tls_send().
Found and fixed by Masakazu OOHASHI at IIJ.
Pull up the following revisions(s) (requested by msaitoh in ticket #1306):
usr.sbin/syslogd/syslogd.c: revision 1.149-1.150
Fix a bug that tls_ca mistakenly matches tls_cadir.
Fix incorrect comparison in buf_queue_obj_size().
Found and fixed by Masakazu OOHASHI at IIJ.