Page MenuHomeFreeBSD
Feed All Stories

Jun 7 2023

jhb added a comment to D40445: ndp: Prepare for pending tcpdump update.

Nit: s/npd/ndp/ in commit log

Jun 7 2023, 6:56 PM
jhb accepted D40428: opencrypto: Handle end-of-cursor conditions in crypto_cursor_segment().

Humm, I had originally considered this a break of the API contract FWIW that callers shouldn't try to use a cursor after advancing past the end (though perhaps I broke that contract myself). Hmm, reading swcr_encdec, it might indeed be a bit annoying to avoid calling crypto_cursor_segment for this case.

Jun 7 2023, 6:52 PM
jhb added a comment to D40105: bhyve: [snapshot] Simplify restore kernel structs.

Can you provide more description of what this change is doing? From what I can tell it uses err directly to abort quicker if it fails to restore an in-kernel structure, it inlines vm_restore_kern_struct into the loop in vm_restore_kern_structs. It renames vm_snapshot_kern_structs which is somewhat gratuitous IMO as it now no longer matches the other function names like vm_snapshot_user_devs. But I think the big change is not using lookup_struct and instead using meta->dev_name instead of meta->dev_req as the main key for the JSON for a given kernel struct? I think this means you can avoid lookup_struct because now instead of a flat array of all kernel structures they are separate objects with unique names? Can you expand on that more perhaps maybe with some examples of before/after JSON snippets? I would also suggest perhaps only doing the JSON change in this commit and not mixing in the other changes that I think obscure the real change you are making (e.g. the function rename, or inlining the function).

Jun 7 2023, 6:44 PM · bhyve
jhb accepted D40040: bhyve: read OpRegion address and size for GVT-d.
Jun 7 2023, 6:35 PM
jhb added a comment to D40038: bhyve: add empty GVT-d emulation.

It might be nicer to have the logic of which devices pci-gvt_d.c supports be a bit more self-contained, e.g.:

Jun 7 2023, 6:33 PM
ngie updated the diff for D40366: devel/apr1: support building DBM with BDB 1.85.

Respond to comments from @rfyu28uyeg_snkmail.com:

  • fix licensing (lib/libc/db is BSD 3-clause, not 4-clause).
  • remove unnecessary "dual licensing" logic for the BDB1 option.
Jun 7 2023, 6:27 PM
ngie added a comment to D40366: devel/apr1: support building DBM with BDB 1.85.

@rfyu28uyeg_snkmail.com: thank you for the input about the licensing. You're right -- I'm updating the patch now.

Jun 7 2023, 6:26 PM
jhb accepted D40409: makesyscall: Stop generating $FreeBSD$.
Jun 7 2023, 6:15 PM
jrm updated the diff for D40445: ndp: Prepare for pending tcpdump update.

Assert that the value stored in tm->tm_gmtoff will fit in a int32_t.

Jun 7 2023, 6:07 PM
jhb committed rGaee3611fecba: pmcstat: Tweak typo fix. (authored by jhb).
pmcstat: Tweak typo fix.
Jun 7 2023, 6:05 PM
emaste added a comment to D40467: ld(1): Correctly define .init_array and .fini_array for all platforms..

Looks like these are in amd64 via rG:8ba66bb849129

Jun 7 2023, 5:45 PM
zirias committed R11:43d4e8d205e7: devel/poser: Update to 1.1 (authored by zirias).
devel/poser: Update to 1.1
Jun 7 2023, 5:37 PM
yuri committed R11:7927e409c43a: science/polytope: Update 0.7.0 → 0.7.3 (authored by yuri).
science/polytope: Update 0.7.0 → 0.7.3
Jun 7 2023, 5:04 PM
emaste accepted D40445: ndp: Prepare for pending tcpdump update.

This seems OK as a minimal change.

Jun 7 2023, 4:48 PM
madpilot committed R11:8dcb92f39a5b: net/ntopng: Update to latest upstream snapshot (authored by madpilot).
net/ntopng: Update to latest upstream snapshot
Jun 7 2023, 4:40 PM
madpilot committed R11:47bbc085264b: net/ndpi: Update to latest upstream stable snapshot. (authored by madpilot).
net/ndpi: Update to latest upstream stable snapshot.
Jun 7 2023, 4:40 PM
rcm retitled D40442: wpa_supplicant: Enable receiving priority tagged (VID 0) frames from wip: wpa_supplicant: Enable receiving priority tagged (VID 0) frames to wpa_supplicant: Enable receiving priority tagged (VID 0) frames.
Jun 7 2023, 4:38 PM · pfsense
melifaro accepted D40445: ndp: Prepare for pending tcpdump update.
Jun 7 2023, 4:36 PM
rcm updated the diff for D40442: wpa_supplicant: Enable receiving priority tagged (VID 0) frames.

This revision narrows the scope of change to only focus on FreeBSD related L2 packet handling in wpa_supplicant. The previous revision updated all occurrences of the filter program, however failed to account for packet and length offsets when handling encapsulated frames. Someone else can pick up the torch and provide patches for other platforms upstream as-needed.

Jun 7 2023, 4:31 PM · pfsense
andrew added inline comments to D40433: arm64: Malloc the cpu_desc array.
Jun 7 2023, 4:28 PM
lwhsu committed R11:6388df40a1bb: devel/jenkins: Update to 2.409 (authored by lwhsu).
devel/jenkins: Update to 2.409
Jun 7 2023, 4:24 PM
jrm added reviewers for D40445: ndp: Prepare for pending tcpdump update: jhb, melifaro.
Jun 7 2023, 4:22 PM
jrm updated the diff for D40445: ndp: Prepare for pending tcpdump update.

Make utc_offset() argument match gmt2local() and make it a static function.

Jun 7 2023, 4:20 PM
andrew added a comment to D40466: Hardware Trace (HWT) framework.

This looks like a kernel with HWT_HOOKS but not HWT wouldn't link as, for example, hwt_switch_in will be missing. HWPMC handles this by adding a function pointer and protects it with an epoch.

Jun 7 2023, 4:20 PM
arichardson requested changes to D40467: ld(1): Correctly define .init_array and .fini_array for all platforms..

This will sort by name not priority. Ld.lld will sort by priority automatically if you omit init_array from the linker script but for bfd you need SORT_BY_INIT_PRIORITY

Jun 7 2023, 4:18 PM
cy committed R11:99cfa51b52be: shells/ksh-devel: update to the latest ksh93/ksh github commit (authored by cy).
shells/ksh-devel: update to the latest ksh93/ksh github commit
Jun 7 2023, 4:08 PM
fluffy committed R11:384cd105eb90: devel/kio-extras: Add option to hande AFC (Apple File Conduit) KIO worker (+) (authored by fluffy).
devel/kio-extras: Add option to hande AFC (Apple File Conduit) KIO worker (+)
Jun 7 2023, 4:06 PM
cy committed R11:141cb5d09e5f: shells/ksh: Update 1.0.4 --> 1.0.5 (authored by cy).
shells/ksh: Update 1.0.4 --> 1.0.5
Jun 7 2023, 3:55 PM
markj accepted D40285: libtacplus: Allow additional AV pairs to be configured..
Jun 7 2023, 3:49 PM
andrew updated subscribers of D40466: Hardware Trace (HWT) framework.
Jun 7 2023, 3:48 PM
emaste added inline comments to D40466: Hardware Trace (HWT) framework.
Jun 7 2023, 3:46 PM
hselasky added a comment to D40467: ld(1): Correctly define .init_array and .fini_array for all platforms..

@emaste : You added something similar a while back for amd64. Adding you for review.

Jun 7 2023, 3:17 PM
hselasky added a reviewer for D40467: ld(1): Correctly define .init_array and .fini_array for all platforms.: emaste.
Jun 7 2023, 3:17 PM
hselasky added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Oh also linker_file_lookup_set with a section name like that won't work on anything other than amd64, since link_elf relies on the start/stop symbols, not the section name.

Jun 7 2023, 3:16 PM
hselasky requested review of D40467: ld(1): Correctly define .init_array and .fini_array for all platforms..
Jun 7 2023, 3:14 PM
dchagin added inline comments to D40443: linux(4): In preparation for xsave refactor fxsave code on amd64.
Jun 7 2023, 3:14 PM · Linux Emulation
br updated the diff for D40466: Hardware Trace (HWT) framework.

remove debug printfs

Jun 7 2023, 3:08 PM
AMDmi3 committed R11:5948df8b32c3: devel/py-sexpdata: update 1.0.0 → 1.0.1 (authored by AMDmi3).
devel/py-sexpdata: update 1.0.0 → 1.0.1
Jun 7 2023, 3:05 PM
yuri committed R11:da22e4b8a489: science/jmol: Update 14.32.79 → 16.1.11 (authored by yuri).
science/jmol: Update 14.32.79 → 16.1.11
Jun 7 2023, 3:05 PM
yuri committed R11:3d03b90dbeae: science/qbox: Update 1_75_1 → 1_76_0 (authored by yuri).
science/qbox: Update 1_75_1 → 1_76_0
Jun 7 2023, 3:05 PM
yuri committed R11:8c0205d889b7: science/smoldyn: Update 2.69 → 2.71 (authored by yuri).
science/smoldyn: Update 2.69 → 2.71
Jun 7 2023, 3:05 PM
br requested review of D40466: Hardware Trace (HWT) framework.
Jun 7 2023, 3:02 PM
otis committed R11:7a9f4f25e79b: net-mgmt/unifi7: Update to 7.4.156 (authored by otis).
net-mgmt/unifi7: Update to 7.4.156
Jun 7 2023, 2:59 PM
fluffy committed R11:53f1204ea69f: x11/cinnamon: fix packaging (+) (authored by fluffy).
x11/cinnamon: fix packaging (+)
Jun 7 2023, 2:45 PM
ehaupt committed R11:c40a6642500f: sysutils/sake: Add new port (authored by ehaupt).
sysutils/sake: Add new port
Jun 7 2023, 2:33 PM
jrtc27 committed rG296a0987be59: pmcstat: Update manpage date (authored by jrtc27).
pmcstat: Update manpage date
Jun 7 2023, 2:26 PM
jrtc27 committed rG7a706aad8349: hwpmc: Update manpage date (authored by jrtc27).
hwpmc: Update manpage date
Jun 7 2023, 2:26 PM
jrtc27 committed rG21f7397a61f7: libpmc: Handle PMCALLOCATE log with PMC code on PMU event system (authored by jrtc27).
libpmc: Handle PMCALLOCATE log with PMC code on PMU event system
Jun 7 2023, 2:26 PM
jrtc27 closed D39592: libpmc: Handle PMCALLOCATE log with PMC code on PMU event system.
Jun 7 2023, 2:26 PM
franco_opnsense.org abandoned D40465: test for phabircator.
Jun 7 2023, 2:09 PM
madpilot committed R11:1a029bf5bbdc: mail/mailpit: Update to 1.6.17 (authored by madpilot).
mail/mailpit: Update to 1.6.17
Jun 7 2023, 2:08 PM
franco_opnsense.org updated the diff for D40465: test for phabircator.

sorry

Jun 7 2023, 2:07 PM
franco_opnsense.org updated the diff for D40465: test for phabircator.

a small update

Jun 7 2023, 2:07 PM
kib added inline comments to D40443: linux(4): In preparation for xsave refactor fxsave code on amd64.
Jun 7 2023, 2:05 PM · Linux Emulation
franco_opnsense.org requested review of D40465: test for phabircator.
Jun 7 2023, 2:03 PM
emaste accepted D40446: od(1): Fix skip value handling.
Jun 7 2023, 1:53 PM
jrtc27 added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Oh also linker_file_lookup_set with a section name like that won't work on anything other than amd64, since link_elf relies on the start/stop symbols, not the section name.

Jun 7 2023, 1:50 PM
jrm abandoned D39511: graphics/feh: Update to 3.10 (+).
Jun 7 2023, 1:45 PM
cc added a comment to D40436: tcp: Update cubic CC module variable names to align with RFC8312bis.

Is this patch targeted at FreeBSD15 head, after FreeBSD 14 is branched? Is this patch just for early review and is not planned to commit until FreeBSD 15 becomes the head?

Jun 7 2023, 1:42 PM
hselasky updated the diff for D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Change from .ctors to .init_array and .dtors to .fini_array . This is what the default FreeBSD kernel toolchain currently outputs. Also noted by @jrtc27 .

Jun 7 2023, 1:40 PM
rcm retitled D40442: wpa_supplicant: Enable receiving priority tagged (VID 0) frames from wpa_supplicant: Enable receiving priority tagged (VID 0) frames to wip: wpa_supplicant: Enable receiving priority tagged (VID 0) frames.
Jun 7 2023, 1:31 PM · pfsense
jrtc27 added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Yes, I read the code, thank you for asking

Jun 7 2023, 1:27 PM
hselasky added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Finally, I'm highly unconvinced that it makes sense to dynamically register each sysinit individually.

Jun 7 2023, 1:22 PM
hselasky added inline comments to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..
Jun 7 2023, 1:18 PM
hselasky added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

MFC after: 1 week

There is no way this can be MFC'ed, it is a big pile of KBI break.

Jun 7 2023, 1:15 PM
zachary.leaf_arm.com accepted D40392: arm64: Reduce the direct use of cpu_desc.
Jun 7 2023, 1:06 PM
fuz added a reviewer for D39868: [NEW PORT] www/angie: patch also includes new related ports for dynamic modules: wen.
Jun 7 2023, 1:06 PM
hselasky updated the summary of D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..
Jun 7 2023, 1:05 PM
hselasky added a comment to D40464: Use proper pointer type when initialising and uninitialising mutexes..

What do you think about this change?

Jun 7 2023, 1:01 PM
wen committed R11:5313258935e4: www/angie: New port (authored by wen).
www/angie: New port
Jun 7 2023, 1:01 PM
hselasky requested review of D40464: Use proper pointer type when initialising and uninitialising mutexes..
Jun 7 2023, 1:00 PM
jrtc27 added a comment to D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

MFC after: 1 week

Jun 7 2023, 12:50 PM
hselasky updated the diff for D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..

Keep "struct __hack" to force semicolon after SYSINIT() and SYSUNINIT().

Jun 7 2023, 12:48 PM
hselasky abandoned D40193: kernel: Add automation to sort all constructors and destructors at compile time..

This revision is abandoned in favor of D40463 .

Jun 7 2023, 12:38 PM
hselasky added a comment to D39916: mi_startup: sort sysinit array using qsort instead of bubble sort.

FYI: Here is my second take on the issue D40463 . Please have a look if you are interested.

Jun 7 2023, 12:37 PM
hselasky requested review of D40463: kernel: Use the compiler supported constructor and destructor attributes to register sysinits..
Jun 7 2023, 12:36 PM
trasz abandoned D25501: Autochroot prototype.

Implemented as https://reviews.freebsd.org/D38933.

Jun 7 2023, 12:29 PM
wen committed R11:e278b8a02907: graphics/py-mcomix: Update to 2.1.0 (authored by Stefan Ehmann <shoesoft@gmx.net>).
graphics/py-mcomix: Update to 2.1.0
Jun 7 2023, 12:26 PM
wen committed R11:ef61ab98c66f: devel/liblouis: Update to 3.26.0 (authored by wen).
devel/liblouis: Update to 3.26.0
Jun 7 2023, 12:26 PM
hselasky updated the diff for D40450: kernel: Change SYSINITs and SYSUNINITs to pass callback arguments AS-IS.

Removed some VNET related changes (not related to this change).

Jun 7 2023, 12:19 PM
krion committed R11:fe2e9dee1f4a: devel/py-looseversion: add new port (authored by krion).
devel/py-looseversion: add new port
Jun 7 2023, 12:11 PM
corvink updated the diff for D32961: bhyve: enable TPM2 passthrough.
  • split into multiple commits
Jun 7 2023, 12:09 PM · bhyve
corvink requested review of D40462: bhyve: add qemu ppi emulation for tpm devices.
Jun 7 2023, 12:08 PM
corvink requested review of D40461: bhyve: trap crb register of tpm devices.
Jun 7 2023, 12:08 PM
corvink requested review of D40460: bhyve: add execution command for tpm devices.
Jun 7 2023, 12:07 PM
corvink requested review of D40459: bhyve/tpm: add emulation for crb register.
Jun 7 2023, 12:05 PM
corvink requested review of D40458: bhyve/tpm: create crb thread for sending tpm commands.
Jun 7 2023, 12:05 PM
corvink requested review of D40457: bhyve/tpm: build TPM2 table by tpm interface.
Jun 7 2023, 12:05 PM
corvink requested review of D40456: bhyve/tpm: add basic crb interface.
Jun 7 2023, 12:05 PM
corvink requested review of D40455: bhyve: add basic TPM passthrough emulation.
Jun 7 2023, 12:05 PM
corvink requested review of D40454: bhyve: add basic TPM emulation struct.
Jun 7 2023, 12:05 PM
corvink requested review of D40453: bhyve: register TPM device as ACPI device.
Jun 7 2023, 12:04 PM
corvink requested review of D40452: bhyve: add basic TPM device.
Jun 7 2023, 12:04 PM
corvink requested review of D40451: bhyve/basl: allow adding fwcfg items to acpi tables.
Jun 7 2023, 12:04 PM
wen committed R11:6cb7fc4744be: devel/p5-Devel-NYTProf: Update to 6.12 (authored by Sergei Vyshenski <svysh.fbsd@gmail.com>).
devel/p5-Devel-NYTProf: Update to 6.12
Jun 7 2023, 12:04 PM
vishwin committed R11:89c6765d5cab: net-im/fractal: update openssl crates (authored by vishwin).
net-im/fractal: update openssl crates
Jun 7 2023, 11:56 AM
yasu committed R11:25b8ae39d7f2: ftp/wget: Update to 1.21.4 (authored by yasu).
ftp/wget: Update to 1.21.4
Jun 7 2023, 11:50 AM
rfyu28uyeg_snkmail.com added inline comments to D40366: devel/apr1: support building DBM with BDB 1.85.
Jun 7 2023, 11:48 AM
rfyu28uyeg_snkmail.com added inline comments to D40366: devel/apr1: support building DBM with BDB 1.85.
Jun 7 2023, 11:42 AM
rfyu28uyeg_snkmail.com added a comment to D40366: devel/apr1: support building DBM with BDB 1.85.

I'm not sure we need to mark it as dual licensed if using the BSD licensed db 1.85. The BSD license does not make requirements on derivative works like AGPLv3 does, just on distribution of the lib itself (in binary or source form). The base FreeBSD OS already takes care of those requirements since it is the distributor of db 1.85. I suppose clause 3 is a requirement on derived works (to not use the University's or contributors' names for endorsement of derived works). But other parts of libc are BSD licensed, and we typically don't mark every port that uses libc as dual licensed with the BSD license.

Jun 7 2023, 11:38 AM