Page MenuHomeFreeBSD
Feed All Stories

Dec 3 2024

adrian accepted D47891: net80211 / LinuxKPI 802.11: use enum ieee80211_sta_rx_bw for ni_chw.

nice!

Dec 3 2024, 10:32 PM
bz requested review of D47891: net80211 / LinuxKPI 802.11: use enum ieee80211_sta_rx_bw for ni_chw.
Dec 3 2024, 10:22 PM
adrian committed rGe1eff81ea99c: rtwn: use ieee80211_ht_check_tx_shortgi_20() and… (authored by adrian).
rtwn: use ieee80211_ht_check_tx_shortgi_20() and…
Dec 3 2024, 10:12 PM
adrian closed D47751: rtwn: use ieee80211_ht_check_tx_shortgi_20() and ieee80211_ht_check_tx_shortgi_40().
Dec 3 2024, 10:11 PM · wireless
diizzy committed R11:933dd550c5f1: audio/fluidsynth: Update to 2.4.1 (authored by diizzy).
audio/fluidsynth: Update to 2.4.1
Dec 3 2024, 10:00 PM
emaste added reviewers for D47888: website: Remove subversionRepository translations: grahamperrin, 0mp.
Dec 3 2024, 9:59 PM
rmacklem added a comment to D47879: cd9660: Make sure that struct ifid fits in generic filehandle structure.
In D47879#1091920, @kib wrote:

I think more relevant question there are compilers generate proper code to access unaligned ifid_ino and ifid_start on sensitive arches.

They have to, else the packed attribute would just be useless. Bugs should be filed against those that don't.

Yes, that would be a major compiler bug, I hope..

It might be that the better fix is to re-order members without introducing __packed. There is no ABI involved.

That doesn't seem possible as len and pad must stay first.

As far as I can see, this isn't true - the layout is up to the filesystem. The filesystem just needs to guarantee that fh1 == fh2 implies that the two FIDs refer to the same file.

I can't see any NFS code which peeks into the fid structure. Perhaps @rmacklem can confirm?

As far as I know, the NFS server code does not look inside the fid structure.

Dec 3 2024, 9:49 PM
markj committed rG931d6a8f7bd6: amd64/vmm: Add svm_modsuspend to the vmm_ops_amd table (authored by markj).
amd64/vmm: Add svm_modsuspend to the vmm_ops_amd table
Dec 3 2024, 9:40 PM
emaste accepted D47860: rtwn: remove the conditional compilation around the sc_ht40 option..

Yeah it seems #if 1 serves no useful documentary purpose

Dec 3 2024, 9:28 PM · wireless
brooks added inline comments to D47618: New setcred() system call and associated MAC hooks.
Dec 3 2024, 9:22 PM
jhb added inline comments to D47884: rtld: Support multiple PT_GNU_RELRO program headers.
Dec 3 2024, 9:16 PM
ehem_freebsd_m5p.com updated the diff for D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().

Updating, point to possible solution for what I need @mav to review (remove ->pic_enable_intr() call from clock.c/875b8844bec hack).

Dec 3 2024, 9:04 PM
adridg committed R11:a79844a1e13d: multimedia/libnymphcast: repair build (authored by adridg).
multimedia/libnymphcast: repair build
Dec 3 2024, 8:53 PM
ronald_klop.ws committed R11:1a437a6a8c8e: databases/mongosh: broken on aarch64 and i386 (authored by ronald_klop.ws).
databases/mongosh: broken on aarch64 and i386
Dec 3 2024, 8:52 PM
joerg requested review of D47890: devel/msp430-debug-stack: fix broken udev config script.
Dec 3 2024, 8:46 PM
ronald_klop.ws committed R11:b1d9b67df2ec: databases/mongosh: fix run_depends on krb5 (authored by ronald_klop.ws).
databases/mongosh: fix run_depends on krb5
Dec 3 2024, 8:39 PM
br updated the diff for D47831: sifive ccache driver.

I managed to convert the driver to newbus but noticed slower performance of NVME when flushing cache using bus_write_8().

  • direct access to pointer: 97.5MB/s
  • using bus_write_8(): 93.3MB/s

So I provided another mapping for a faster access. WDYT?
another idea is to extract the mapping from sc->res and access it directly?

Dec 3 2024, 8:38 PM
imp accepted D47889: git-arc: fix diff2reviewers() with multiple reviewers.
Dec 3 2024, 8:33 PM
emaste accepted D47889: git-arc: fix diff2reviewers() with multiple reviewers.
Dec 3 2024, 8:31 PM
jlduran accepted D47889: git-arc: fix diff2reviewers() with multiple reviewers.

Thank you!

Dec 3 2024, 8:31 PM
glebius accepted D47590: inpcb: Factor out parts of in6_pcbbind() and in_pcbbind_setup().
Dec 3 2024, 8:26 PM
glebius added a comment to D47870: inpcb: Further restrict binding to a port owned by a different UID.

Do you have any idea on the inp->inp_socket->so_type != SOCK_STREAM check?

Dec 3 2024, 8:21 PM
glebius accepted D47832: inpcb: Remove bogus SO_REUSEPORT(_LB) checks in in_pcbbind().
Dec 3 2024, 8:19 PM
glebius requested review of D47889: git-arc: fix diff2reviewers() with multiple reviewers.
Dec 3 2024, 8:15 PM
markj updated subscribers of D47879: cd9660: Make sure that struct ifid fits in generic filehandle structure.
In D47879#1091920, @kib wrote:

I think more relevant question there are compilers generate proper code to access unaligned ifid_ino and ifid_start on sensitive arches.

They have to, else the packed attribute would just be useless. Bugs should be filed against those that don't.

Dec 3 2024, 8:13 PM
kib added inline comments to D47884: rtld: Support multiple PT_GNU_RELRO program headers.
Dec 3 2024, 8:09 PM
glebius closed D47557: netlink: use nitems() and roundup(2) from param.h.
Dec 3 2024, 8:06 PM
glebius committed rG29f6150256c2: netlink: use nitems() and roundup(2) from param.h (authored by glebius).
netlink: use nitems() and roundup(2) from param.h
Dec 3 2024, 8:06 PM
glebius committed rGfe048349c63c: netlink: use proper argument types in genl_register_family() (authored by glebius).
netlink: use proper argument types in genl_register_family()
Dec 3 2024, 8:06 PM
glebius closed D47553: netlink: use proper argument types in genl_register_family().
Dec 3 2024, 8:06 PM
glebius committed rG6380058fe5b5: netlink: use correct uint16_t type for attribute type & length (authored by glebius).
netlink: use correct uint16_t type for attribute type & length
Dec 3 2024, 8:06 PM
glebius committed rGf1c6edba885f: netlink: use size_t through the allocation KPI (authored by glebius).
netlink: use size_t through the allocation KPI
Dec 3 2024, 8:06 PM
glebius closed D47552: netlink: use correct uint16_t type for attribute type & length.
Dec 3 2024, 8:06 PM
glebius closed D47551: netlink: use size_t through the allocation KPI.
Dec 3 2024, 8:06 PM
glebius closed D47550: netlink: check buffer length fits into u_int.
Dec 3 2024, 8:06 PM
glebius committed rG0601c0f989f2: netlink: check buffer length fits into u_int (authored by glebius).
netlink: check buffer length fits into u_int
Dec 3 2024, 8:06 PM
glebius committed rGa034c0aeccd8: netlink: refactor writer initialization KPI (authored by glebius).
netlink: refactor writer initialization KPI
Dec 3 2024, 8:06 PM
glebius closed D47549: netlink: refactor writer initialization KPI.
Dec 3 2024, 8:05 PM
glebius closed D47548: netlink: use bitset(9).
Dec 3 2024, 8:05 PM
glebius closed D47547: netlink: consistently use uint16_t for family id.
Dec 3 2024, 8:05 PM
glebius committed rGedf5608bfef3: netlink: use bitset(9) (authored by glebius).
netlink: use bitset(9)
Dec 3 2024, 8:05 PM
glebius committed rGac84ce05c121: netlink: consistently use uint16_t for family id (authored by glebius).
netlink: consistently use uint16_t for family id
Dec 3 2024, 8:05 PM
imp added a comment to D47881: syscallsubr.h: Header inclusions: Explicit <sys/types.h>, sort.

So if sys/_types.h won't suffice, I'd call out why in the commit message (this file makes no pretense of being namespace clean I think would be the reason.)

Dec 3 2024, 7:54 PM
kib added inline comments to D47782: procctl.2: Editing pass.
Dec 3 2024, 7:53 PM
emaste accepted D47879: cd9660: Make sure that struct ifid fits in generic filehandle structure.

I think more relevant question there are compilers generate proper code to access unaligned ifid_ino and ifid_start on sensitive arches.

Dec 3 2024, 7:49 PM
imp accepted D47885: Remove support for SOC FPGA drivers.

maybe tag as release notes since it's a removal?

Dec 3 2024, 7:48 PM
olce added a comment to D47879: cd9660: Make sure that struct ifid fits in generic filehandle structure.
In D47879#1091920, @kib wrote:

I think more relevant question there are compilers generate proper code to access unaligned ifid_ino and ifid_start on sensitive arches.

Dec 3 2024, 7:48 PM
imp added a comment to D47618: New setcred() system call and associated MAC hooks.

Sorry for bad comments... ignore them, and replace them with this:

Dec 3 2024, 7:45 PM
kib accepted D47880: cd9660: Remove some unneeded definitions.
Dec 3 2024, 7:44 PM
emaste accepted D47887: style(9): deprecate blank lines without local vars.

I thought we'd already went this far

Dec 3 2024, 7:44 PM
kib accepted D47879: cd9660: Make sure that struct ifid fits in generic filehandle structure.

I've checked that nobody takes the address of the unaligned members.

Dec 3 2024, 7:43 PM
emaste requested review of D47888: website: Remove subversionRepository translations.
Dec 3 2024, 7:38 PM
krion committed R11:c4c41f4a66c0: sysutils/cbsd: Update to 14.2.0 (authored by krion).
sysutils/cbsd: Update to 14.2.0
Dec 3 2024, 7:30 PM
kp committed rGc22c98798456: pf: fix potential NULL dereference in SCTP multihome handling (authored by kp).
pf: fix potential NULL dereference in SCTP multihome handling
Dec 3 2024, 7:29 PM
imp accepted D47887: style(9): deprecate blank lines without local vars.

I thought we'd already went this far

Dec 3 2024, 7:24 PM
imp added a comment to D47618: New setcred() system call and associated MAC hooks.

But nested structures are a royal pain to emulate...

Dec 3 2024, 7:24 PM
imp added a comment to D47618: New setcred() system call and associated MAC hooks.

New system calls often retain the old name,

Dec 3 2024, 7:23 PM
brooks requested review of D47887: style(9): deprecate blank lines without local vars.
Dec 3 2024, 7:22 PM
ronald_klop.ws committed R11:07e4611caf3c: devel/jenkins-lts: Update the Java version requirement to 17+ (authored by lwhsu).
devel/jenkins-lts: Update the Java version requirement to 17+
Dec 3 2024, 7:21 PM
sunpoet committed R11:503b9fc220c0: devel/rubygem-google-apis-cloudresourcemanager_v1: Update to 0.41.0 (authored by sunpoet).
devel/rubygem-google-apis-cloudresourcemanager_v1: Update to 0.41.0
Dec 3 2024, 7:17 PM
uzsolt committed R11:5c5a14901959: sysutils/nerdctl: Update to 2.0.1 (authored by Laurent Chardon <laurent.chardon@gmail.com>).
sysutils/nerdctl: Update to 2.0.1
Dec 3 2024, 7:05 PM
emaste requested review of D47886: cups: reference service(8) rather than rc.d scripts directly.
Dec 3 2024, 7:02 PM
brooks added a comment to D47618: New setcred() system call and associated MAC hooks.

Oops, it looks like our last comments raced.

Dec 3 2024, 7:02 PM
jhb requested review of D47885: Remove support for SOC FPGA drivers.
Dec 3 2024, 6:57 PM
jhb added inline comments to D47884: rtld: Support multiple PT_GNU_RELRO program headers.
Dec 3 2024, 6:56 PM
jhb requested review of D47884: rtld: Support multiple PT_GNU_RELRO program headers.
Dec 3 2024, 6:53 PM
uzsolt committed R11:9c8e7bad8d0a: security/openbao: Update to 2.1.0 (authored by jake <jake@metalrip.com>).
security/openbao: Update to 2.1.0
Dec 3 2024, 6:45 PM
manu added inline comments to D47883: eswin sdhci driver.
Dec 3 2024, 6:37 PM
glebius added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.
In D46301#1091722, @ae wrote:

I just tested these commands from PR:

ifconfig tun0 create
ifconfig tun0 10.10.10.10 20.20.20.20
route -n delete -host 20.20.20.20 -interface tun0

with this patch:

--- a/sys/netlink/route/rt.c
+++ b/sys/netlink/route/rt.c
@@ -1010,8 +1010,9 @@ rtnl_handle_delroute(struct nlmsghdr *hdr, struct nlpcb *nlp,
                return (EINVAL);
        }

+       int op_flags = (attrs.rta_rtflags & RTF_PINNED) ? RTM_F_FORCE : 0;
        error = rib_del_route_px(attrs.rta_table, attrs.rta_dst,
-           attrs.rtm_dst_len, path_match_func, &attrs, 0, &rc);
+           attrs.rtm_dst_len, path_match_func, &attrs, op_flags, &rc);
        if (error == 0)
                report_operation(attrs.rta_table, &rc, nlp, hdr);
        return (error);

It seems works as expected.

Dec 3 2024, 6:35 PM
mhorne added inline comments to D47867: eswin pcie attachment driver.
Dec 3 2024, 6:28 PM
manu added a comment to D47883: eswin sdhci driver.

I have never written or studied an sdhci driver in depth. Maybe @manu would like to look.

TODO: MMCCAM (?)

Dec 3 2024, 6:27 PM
mhorne accepted D47867: eswin pcie attachment driver.

Same notes here: this looks fine as a glue driver, but I am not in the best position to evaluate PCIe. I hope you will monitor the upstreaming of linux/u-boot to eventually improve the magic initialization code.

Dec 3 2024, 6:26 PM
mhorne added a comment to D47871: eswin ahci attachment driver.

Seems pretty straightforward.

Dec 3 2024, 6:20 PM
mhorne added inline comments to D47883: eswin sdhci driver.
Dec 3 2024, 6:10 PM
rodrigo committed R11:3bb5b1508208: audio/spotifyd: Fix build with DNS-SD (authored by rodrigo).
audio/spotifyd: Fix build with DNS-SD
Dec 3 2024, 6:08 PM
bz accepted D47751: rtwn: use ieee80211_ht_check_tx_shortgi_20() and ieee80211_ht_check_tx_shortgi_40().

Of course. Sorry. Got you. We have nested if()s now and not && like in the original code for the checks.

Dec 3 2024, 6:08 PM · wireless
brooks requested changes to D47618: New setcred() system call and associated MAC hooks.
Dec 3 2024, 6:05 PM
mhorne updated subscribers of D47883: eswin sdhci driver.

I have never written or studied an sdhci driver in depth. Maybe @manu would like to look.

Dec 3 2024, 6:04 PM
brooks added inline comments to D47878: MAC: syscalls: mac_label_copyin(): 32-bit compatibility.
Dec 3 2024, 5:56 PM
dutra committed R11:a93f6a4229c2: devel/rust-analyzer: Update to 2024.11.25 (authored by dutra).
devel/rust-analyzer: Update to 2024.11.25
Dec 3 2024, 5:45 PM
adrian added inline comments to D47751: rtwn: use ieee80211_ht_check_tx_shortgi_20() and ieee80211_ht_check_tx_shortgi_40().
Dec 3 2024, 5:44 PM · wireless
olce added inline comments to D47618: New setcred() system call and associated MAC hooks.
Dec 3 2024, 5:42 PM
sunpoet committed R11:ef17b830d649: www/yarn-node*: Reorganize yarn-node* as node22 is the new default (authored by sunpoet).
www/yarn-node*: Reorganize yarn-node* as node22 is the new default
Dec 3 2024, 5:42 PM
sunpoet committed R11:e7287e317e59: www/npm-node*: Reorganize npm-node* as node22 is the new default (authored by sunpoet).
www/npm-node*: Reorganize npm-node* as node22 is the new default
Dec 3 2024, 5:42 PM
sunpoet committed R11:8bb58b5ee1f4: nodejs: Bump PORTREVISION for dependency change (authored by sunpoet).
nodejs: Bump PORTREVISION for dependency change
Dec 3 2024, 5:41 PM
sunpoet committed R11:625260412b32: Mk/Uses/nodejs.mk: Update lts (authored by sunpoet).
Mk/Uses/nodejs.mk: Update lts
Dec 3 2024, 5:41 PM
sunpoet committed R11:001205c64661: Mk/bsd.default-versions.mk: Update nodejs comment (authored by sunpoet).
Mk/bsd.default-versions.mk: Update nodejs comment
Dec 3 2024, 5:41 PM
sunpoet committed R11:b6e76f89ec90: */Makefile: Sort SUBDIRs (authored by sunpoet).
*/Makefile: Sort SUBDIRs
Dec 3 2024, 5:41 PM
olce added a comment to D47618: New setcred() system call and associated MAC hooks.

I like the overall idea.

Dec 3 2024, 5:40 PM
br requested review of D47883: eswin sdhci driver.
Dec 3 2024, 5:35 PM
olce updated the diff for D47618: New setcred() system call and associated MAC hooks.

Add missing 32-bit compatibility code.

Dec 3 2024, 5:34 PM
bz added inline comments to D47751: rtwn: use ieee80211_ht_check_tx_shortgi_20() and ieee80211_ht_check_tx_shortgi_40().
Dec 3 2024, 5:16 PM · wireless
jhb added a comment to D47882: arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE.

This corresponds to the ZPEN field in the VHE case and for me at least would have been clearer when trying to understand the VHE changes while merging them into CheriBSD.

Dec 3 2024, 5:11 PM
jhb requested review of D47882: arm64: Add a constant to document the TZ bit in CPTR_EL2 without VHE.
Dec 3 2024, 5:11 PM
olce requested review of D47881: syscallsubr.h: Header inclusions: Explicit <sys/types.h>, sort.
Dec 3 2024, 4:57 PM
vvd committed R11:bf7a57946eb0: net-mgmt/prometheus2: Update 2.49.1 → 2.55.1 (authored by dor).
net-mgmt/prometheus2: Update 2.49.1 → 2.55.1
Dec 3 2024, 4:53 PM
adrian added inline comments to D47751: rtwn: use ieee80211_ht_check_tx_shortgi_20() and ieee80211_ht_check_tx_shortgi_40().
Dec 3 2024, 4:53 PM · wireless
jhb added inline comments to D47782: procctl.2: Editing pass.
Dec 3 2024, 4:51 PM
grembo committed R11:43ebf1602eb4: sysutils/minipot: Update to 0.2.4 (authored by grembo).
sysutils/minipot: Update to 0.2.4
Dec 3 2024, 4:50 PM
grembo committed R11:7ce3b964728f: sysutils/minipot: Update to 0.2.4 (authored by grembo).
sysutils/minipot: Update to 0.2.4
Dec 3 2024, 4:44 PM