Add new ports committer (mzar)
Complete steps 1-4 of the Committer's Guide (Section 7.1).
Reviewed by: philip
Approved by: philip (mentor)
Differential Revision: https://reviews.freebsd.org/D61982
linux(4): compare xattr namespace names with strcmp()
xattr_to_extattr() compared each namespace over the length of the
caller's prefix and would read past the end of any shorter name
the values are already null-terminated so we can just use strcmp()
here
Reviewed by: rmoeller
Differential Revision: https://reviews.freebsd.org/D60954
EC2: Set hw.dmar.enable="1"
Large EC2 "bare metal" instances route interrupts to APIC IDs > 255,
and unlike the "virtualized" instances, don't support extended APIC
destination IDs (since that's a hypervisor feature, and bare metal
instances have no hypervisor).
Enable the IOMMU for interrupt remapping; this unbreaks booting on
m8i.metal-96xl and variants thereof (e.g. c8in).
MFC after: 1 day
Sponsored by: Amazon
Tested on: c5n.9xlarge, c6a.24xlarge, c8in.96xlarge, c5.metal,
c6in.metal, c6a.metal, c7a.metal-48xl, c7i.metal-24xl,
c7i.metal-48xl, c8a.metal-24xl, c8a.metal-48xl,
c8i.metal-48xl, c8i.metal-96xl, c8in.metal-48xl,
c8in.metal-96xl, m5.metal, m8azn.metal-24xl
problem-reports: Ask for `git format-patch` patches
Although we prefer to receive patches by methods other than bugzilla
attachments, if a patch is going to be attached we'd like it to be a
`git format-patch` patch.
Reviewed by: jrtc27, linimon, adrian
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D62030
evdev: Map the HP mic mute and programmable keys on HP only
AT scan codes 0xE0 0x01 and 0x68 are vendor keys: systemd's hwdb gives
them other meanings on Dell, Alienware, Lenovo, Samsung and others,
some of which send no release code. The shared AT table made Insert
toggle mic mute on an IdeaPad 5 and left KEY_PROG1 held after the Dell
G-Mode key.
Map them only where SMBIOS names an HP business laptop, as hwdb does:
0xE0 0x01 to KEY_MICMUTE on ZBook, EliteBook, ProBook, Elite Dragonfly
and EliteBoard, 0x68 to KEY_PROG1 on the Elite Dragonfly G2 and the
ZBook Ultra G1a.
Reported by: llm-postcr
Reviewed by: imp, wulf
Approved by: wulf
Fixes: d34baf1b5ca0 ("evdev: Map the HP mic mute and programmable keys")
MFC after: 1 week
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/130
sysutils/samdruckerclientshell: Update to 0.3.2
The client is one script again. samdrucker.repo-to-json.stdin, which
converted the pkg repos output to JSON, has been folded into
samdrucker.sh, which now runs that Lua itself with flua -e. The helper
is no longer installed.
What the client sends, and how it reports a failed check-in, are
unchanged. It still needs /usr/libexec/flua from the base system (the
FreeBSD-flua package on pkgbase hosts).
0.3.1 was tagged upstream before these changes were committed, so it
was the same code as 0.3.0.
Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.2
www/samdruckerweb: Update to 0.3.2
On a package page, the Versions table now says what each link lists.
The host count beside a version links to the hosts on exactly that
version (new ?version= filter, kept by the downloads), and the
older-than link shows how many hosts it will list, for example
"73 hosts older than 0.3.0_1", or "none" on the oldest version.
Before, the link beside the oldest version read "hosts older than this"
and listed no hosts, which looked like a bug.
0.3.1 was tagged upstream before this change was committed, so it was
the same code as 0.3.0. No database changes.
Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.2
netinet6: check the length of the destination address
in6_validate_ifra() requires ifra_addr to be a struct sockaddr_in6,
but it accepts an AF_INET6 ifra_dstaddr with any sin6_len, and
in6_notify_ifa() stores that address in ia_dstaddr as given.
Reject an AF_INET6 destination address whose sin6_len is not
sizeof(struct sockaddr_in6) with EINVAL, as in_aifaddr() does for
IPv4. ifconfig(8), the netlink address handler and the kernel's own
callers already pass the right length.
Add tests/sys/netinet6/in6_control, whose cases run in a VNET jail:
- aifaddr_dstaddr: SIOCAIFADDR_IN6 stores a valid destination
address, and getifaddrs(3) reports it;
- aifaddr_dstaddr_badlen: SIOCAIFADDR_IN6 rejects a destination
address with sin6_len 255.
aifaddr_dstaddr_badlen fails without the fix.
Reviewed by: glebius, markj
[3 lines not shown]
nfscommon: Fix a couple of slot handling cases
If a server shrinks the slot table for a NFSv4.1/4.2 session
(the FreeBSD server does not do this), it might have failed
to reset the slot's sequence# to 0, do to not handling the
case where the slot# equals the foreslot limit.
Also, a typo would fail when the slot# is greater than 31,
due to the type of the 1 being shifted.
This patch fixes both of these.
Reported by: Chuck Lever <cel at kernel.org>
MFC after: 2 weeks
sysutils/truenas-mcp: Update 1.0.0 to 1.0.1
Use GO_LDFLAGS instead of GO_BUILDFLAGS and add a pkg-message that
warns about the early access status of the software.
Reported by: diizzy
Reviewed by: diizzy
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D62021
www/samdruckerweb: Update to 0.3.1
On a package page, the Versions table now says what each link lists.
The host count beside a version links to the hosts on exactly that
version (new ?version= filter, kept by the downloads), and the
older-than link shows how many hosts it will list, for example
"73 hosts older than 0.3.0_1", or "none" on the oldest version.
Before, the link beside the oldest version read "hosts older than this"
and listed no hosts, which looked like a bug.
No database changes.
Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.1
sysutils/samdruckerclientshell: Update to 0.3.1
The client is one script again. samdrucker.repo-to-json.stdin, which
converted the pkg repos output to JSON, has been folded into
samdrucker.sh, which now runs that Lua itself with flua -e. The helper
is no longer installed.
What the client sends, and how it reports a failed check-in, are
unchanged. It still needs /usr/libexec/flua from the base system (the
FreeBSD-flua package on pkgbase hosts).
Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.1