Page MenuHomeFreeBSD
Feed Advanced Search

Mar 2 2023

brooks requested review of D38880: ng_atmllc: remove.
Mar 2 2023, 11:20 PM
brooks requested review of D38879: NgATM: Remove netgraph ATM support.
Mar 2 2023, 11:19 PM
brooks requested review of D38878: ng_atmllc: deprecate.
Mar 2 2023, 11:19 PM
brooks requested review of D38877: NgATM: deprecate.
Mar 2 2023, 11:19 PM
brooks requested review of D38876: netgraph.4: remove obsolete ng_atm.4 reference.
Mar 2 2023, 11:19 PM
brooks requested review of D38875: NgATM: Remove useless NGATM_ATM option.
Mar 2 2023, 11:18 PM
brooks requested review of D38874: NATM: Remove useless NETGRAPH_ATM_ATMPIF option.
Mar 2 2023, 11:18 PM
brooks added a comment to D38844: Disable ATM programs by default.

I've got most of a stack of changes for deletion, I'll add deprecation notices and the like.

Mar 2 2023, 8:46 PM
brooks accepted D38844: Disable ATM programs by default.

Sounds good. We should also delete them all.

Mar 2 2023, 6:55 PM

Feb 24 2023

brooks accepted D38757: tools/build: Hide spurious errors if sys/stat.h does not exist.
Feb 24 2023, 10:48 PM
brooks accepted D38757: tools/build: Hide spurious errors if sys/stat.h does not exist.
Feb 24 2023, 7:27 PM
brooks added a comment to D38757: tools/build: Hide spurious errors if sys/stat.h does not exist.

Seems fine, though given we're willing to pay the cost of an exec, wrapping the thing in .if exists(${HOST_INCLUDE_ROOT}/sys/stat.h) might be tidier.

Feb 24 2023, 7:27 PM

Feb 23 2023

brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

BTW, something that will need testing is to verify that the timerfd_gettime and timerfd_settime pseudo syscalls work in capability mode.

Feb 23 2023, 6:29 PM · linuxkpi, Linux Emulation
brooks committed R11:b090aac6a0e1: devel/llvm16: 16.0.0rc3 (authored by brooks).
devel/llvm16: 16.0.0rc3
Feb 23 2023, 5:47 PM
brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 23 2023, 5:08 PM · linuxkpi, Linux Emulation
brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 23 2023, 12:17 AM · linuxkpi, Linux Emulation

Feb 22 2023

brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

I fear I've found an issue with TFD_GETTIME32. The problem is that I believe struct itimerspec32 and struct itimerspecare the same size (but not the same layout) on non-x86 64-bit systems. As a result we need to use a different approach there. We still need to define TFD_GETTIME32 on amd64 due to the size (and thus command) difference there. I'll sketch the alternative code in the ioctl handler.

Feb 22 2023, 11:58 PM · linuxkpi, Linux Emulation
brooks added a comment to D38736: hwpmc: Don't wrap entire files in #ifdef DEV_ACPI..

*sigh* immediately after submitting I noticed that this was a revert.

Feb 22 2023, 10:16 PM
brooks added inline comments to D38736: hwpmc: Don't wrap entire files in #ifdef DEV_ACPI..
Feb 22 2023, 10:11 PM
brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 22 2023, 9:05 PM · linuxkpi, Linux Emulation
brooks committed R11:513c2583ad36: textproc/mdocml: build and install man.cgi (authored by brooks).
textproc/mdocml: build and install man.cgi
Feb 22 2023, 12:47 AM
brooks committed R11:1e0b7c14fc2b: textproc/mdocml: update to 1.14.6 (authored by brooks).
textproc/mdocml: update to 1.14.6
Feb 22 2023, 12:47 AM
brooks committed R11:39efb1ee9d94: devel/llvm-devel: Update to new snapshot (authored by brooks).
devel/llvm-devel: Update to new snapshot
Feb 22 2023, 12:21 AM

Feb 20 2023

brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 20 2023, 8:19 PM · linuxkpi, Linux Emulation
brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

I'd personally name the functions user_timerfd_settime{,32}, but don't care that much.

Feb 20 2023, 6:46 PM · linuxkpi, Linux Emulation

Feb 18 2023

brooks added a comment to D38460: timerfd: Add libc syscall wrappers.

Is the race between TFD_GETTIME and TFD_SETTIME in timerfd_settime acceptable? I wonder if TFD_SETFLAGS should be _IOWR and always return the previous value.

Will execution continue in userspace before the kernel returns at timerfd.c:56? I'm not completely clear on how synchronicity works in the kernel for situations like this. I assumed the userspace thread would wait for the kernel to return before continuing execution. I don't see a reason for TFD_SETFLAGS to read the current flags considering Linux doesn't support similar functionality. Are you suggesting this to check for TFD_GETTIME completion?

Feb 18 2023, 12:09 AM · linuxkpi, Linux Emulation

Feb 16 2023

brooks added a comment to D38460: timerfd: Add libc syscall wrappers.

Is the race between TFD_GETTIME and TFD_SETTIME in timerfd_settime acceptable? I wonder if TFD_SETFLAGS should be _IOWR and always return the previous value.

Feb 16 2023, 7:19 PM · linuxkpi, Linux Emulation
brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 16 2023, 7:02 PM · linuxkpi, Linux Emulation
brooks accepted D38620: freebsd32.h: Include <sys/mount.h>.

Seems fine.

Feb 16 2023, 6:51 PM

Feb 15 2023

brooks added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Feb 15 2023, 12:33 AM · linuxkpi, Linux Emulation
brooks committed R11:8b210dabf4bb: devel/llvm-morello: update to a new snapshot (authored by brooks).
devel/llvm-morello: update to a new snapshot
Feb 15 2023, 12:15 AM

Feb 13 2023

brooks added a comment to D38561: base/*: Remove the base ports to install an external toolchain in /usr..
In D38561#877328, @jhb wrote:

I know there is also some stuff in ports/Mk for things like CROSS_TOOLCHAIN, etc. That is potentially useful for other cross-building setups though, but I'm not sure if there any other base/ specific bits in other parts of the tree? (Also, if we do want to remove CROSS_TOOLCHAIN and friends from Mk/, I'd rather @bapt or someone else more experienced in Mk/ handle that.)

Feb 13 2023, 8:59 PM
brooks accepted D38563: arm: Remove armv5 supprt.
Feb 13 2023, 8:31 PM
brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

Here's a rough outline of the changes for 32-bit compat. Untested in any way, but hopefully points in the right direction.

Feb 13 2023, 6:02 PM · linuxkpi, Linux Emulation

Feb 10 2023

brooks added inline comments to D38497: specialfd: Extend interface to support many fds.
Feb 10 2023, 8:33 PM
brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.
In D38459#875880, @kib wrote:

I suggest to add ioctl's to perform the ops on the descriptor, instead of filling the syscall table with more one-purpose entries.

Feb 10 2023, 5:16 PM · linuxkpi, Linux Emulation
brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

BTW, just to be clear, I'm really happy to see this work. It's a portability gap that has caused issues for multiple users of Morello and CheriBSD so I'm looking forward to seeing it landed.

Feb 10 2023, 5:04 PM · linuxkpi, Linux Emulation
brooks added a comment to D38459: timerfd: Add native support for Linux's timerfd.

Also, should I move all 3 syscalls (timerfd_create, timerfd_settime, timerfd_gettime) to standard syscalls? Or should I keep timerfd_create inside __specialfd? I'm not exactly clear on the purpose of __specialfd at this point.

Feb 10 2023, 4:54 PM · linuxkpi, Linux Emulation

Feb 9 2023

brooks requested changes to D38459: timerfd: Add native support for Linux's timerfd.

The overall interface has ABI compatibility issues.

Feb 9 2023, 7:05 PM · linuxkpi, Linux Emulation

Feb 8 2023

brooks committed R11:7cd3064df273: devel/llvm16: update to 16.0.0rc2 (authored by brooks).
devel/llvm16: update to 16.0.0rc2
Feb 8 2023, 6:30 PM

Feb 7 2023

brooks accepted D37795: Mechanically convert if_atse(4) to DrvAPI.

Might as well commit this before removal. It's unlikely anyone will ever use this (the IP block is weird), but that would make it slightly easier to restore if someone did.

Feb 7 2023, 4:36 PM

Feb 6 2023

brooks accepted D38382: contributing: Start pointing people at github.

I generally like the text and @imp has included my feedback from prior versions.

Feb 6 2023, 10:20 PM
brooks accepted D38381: Add support for Unicode characters in kbdmap dead key maps.

I'd somewhat like to see the compat bits go under COMPAT_FREEBSD13, probably along with O[GP]IO_KEYMAP, but that can go in another commit and there are arguments against it since people do tend to get bitten by not including COMPAT_* options in their custom kernels.

Feb 6 2023, 10:17 PM

Feb 4 2023

brooks committed R11:bb64a4175e18: devel/llvm-morello: update to a new snapshot (authored by brooks).
devel/llvm-morello: update to a new snapshot
Feb 4 2023, 1:28 AM
brooks committed R11:88f495fa881c: devel/llvm-cheri: update to a new snapshot (authored by brooks).
devel/llvm-cheri: update to a new snapshot
Feb 4 2023, 1:28 AM

Feb 3 2023

brooks committed rG5c274b362256: whitespace: rewrap to match case directly above (authored by brooks).
whitespace: rewrap to match case directly above
Feb 3 2023, 12:39 AM

Feb 2 2023

brooks accepted D38357: kboot: Assert errno is negative.

I'd be tempted to allow 0 so it could be used for standard syscall-like functions, but this is fine.

Feb 2 2023, 8:32 PM
brooks added a comment to D38265: kboot: For hostfs, return better errors from read, where possible..

I did find myself wondering if host_to_stand_errno should assert that e <= 0 since it's a relatively common error to accidentally use positive errors when modifying linux code.

Feb 2 2023, 8:20 PM

Jan 30 2023

brooks committed R11:95dfbfd1a1fa: devel/llvm16: connect to build (authored by brooks).
devel/llvm16: connect to build
Jan 30 2023, 11:44 PM
brooks committed R11:c16e3dc045cf: devel/llvm14: fix packaging with debug python (authored by brooks).
devel/llvm14: fix packaging with debug python
Jan 30 2023, 11:39 PM
brooks committed R11:6629f8d3d65b: devel/llvm15: fix packaging with debug python (authored by brooks).
devel/llvm15: fix packaging with debug python
Jan 30 2023, 11:39 PM
brooks committed R11:08cc10d5b77c: devel/llvm15: disable FLANG option (authored by brooks).
devel/llvm15: disable FLANG option
Jan 30 2023, 11:39 PM
brooks committed R11:73fd0eb88dfb: devel/llvm16: copy unchanged from devel/llvm15 (authored by brooks).
devel/llvm16: copy unchanged from devel/llvm15
Jan 30 2023, 11:39 PM
brooks committed R11:b6755d590ed2: devel/llvm16: Welcome llvm 16.0.0rc1 (authored by brooks).
devel/llvm16: Welcome llvm 16.0.0rc1
Jan 30 2023, 11:39 PM
brooks committed rG31068ff99c43: freebsd32: Make sendmsg match native ABI for unpadded final control message (authored by jrtc27).
freebsd32: Make sendmsg match native ABI for unpadded final control message
Jan 30 2023, 8:08 PM
brooks committed rG435a2e04f06b: freebsd32_sendmsg: fix control message ABI (authored by brooks).
freebsd32_sendmsg: fix control message ABI
Jan 30 2023, 8:07 PM

Jan 27 2023

brooks committed R11:710fef9e8375: devel/llvm-devel: update to new snapshot (authored by brooks).
devel/llvm-devel: update to new snapshot
Jan 27 2023, 11:54 PM
brooks committed R11:aeb2ce7f4b40: devel/llvm-devel: fix packaging with debug python (authored by brooks).
devel/llvm-devel: fix packaging with debug python
Jan 27 2023, 11:54 PM

Jan 26 2023

brooks accepted D33108: Retire WITHOUT_CXX option.

It was mentioned on IRC that one reason to keep this is to reduce FS size. IMO if you're at the point wehre this makes a meaningful difference it's time to switch from a subtractive image creation process to an additive one.

Jan 26 2023, 8:58 PM

Jan 24 2023

brooks committed rGc91bf3cb34f0: epoch: replace hand coded assertion (authored by brooks).
epoch: replace hand coded assertion
Jan 24 2023, 11:27 PM
brooks committed rGa25797c114da: riscv: Fix thread0.td_kstack_pages init (authored by brooks).
riscv: Fix thread0.td_kstack_pages init
Jan 24 2023, 11:27 PM
brooks committed rGe3e6f08472b7: arm64: Fix thread0.td_kstack_pages init (authored by brooks).
arm64: Fix thread0.td_kstack_pages init
Jan 24 2023, 11:27 PM
brooks added inline comments to D38142: zoneinfo: On amd64, include 32-bit data..
Jan 24 2023, 9:46 PM

Jan 20 2023

brooks committed rGfa1d803c0f65: epoch: replace hand coded assertion (authored by brooks).
epoch: replace hand coded assertion
Jan 20 2023, 6:05 PM
brooks closed D38107: epoch: replace handcoded assertion.
Jan 20 2023, 6:05 PM

Jan 18 2023

brooks committed rGad23377e244c: xdr: store chars consistently (authored by brooks).
xdr: store chars consistently
Jan 18 2023, 11:49 PM
brooks committed rG61456545d957: xdr: store chars consistently (authored by brooks).
xdr: store chars consistently
Jan 18 2023, 7:14 PM

Jan 17 2023

brooks requested review of D38107: epoch: replace handcoded assertion.
Jan 17 2023, 7:03 PM
brooks committed rGb75062f23431: riscv: Fix thread0.td_kstack_pages init (authored by brooks).
riscv: Fix thread0.td_kstack_pages init
Jan 17 2023, 4:39 PM
brooks committed rGe1b610f76caa: arm64: Fix thread0.td_kstack_pages init (authored by brooks).
arm64: Fix thread0.td_kstack_pages init
Jan 17 2023, 4:38 PM
brooks closed D38049: riscv: Fix thread0.td_kstack_pages init.
Jan 17 2023, 4:38 PM
brooks closed D38048: arm64: Fix thread0.td_kstack_pages init.
Jan 17 2023, 4:38 PM

Jan 14 2023

brooks requested review of D38049: riscv: Fix thread0.td_kstack_pages init.
Jan 14 2023, 12:02 AM
brooks requested review of D38048: arm64: Fix thread0.td_kstack_pages init.
Jan 14 2023, 12:02 AM

Jan 12 2023

brooks committed R11:7e787f8d2424: devel/llvm-devel: Update to new snapshot (authored by brooks).
devel/llvm-devel: Update to new snapshot
Jan 12 2023, 10:59 PM
brooks committed R11:79aeb739c501: devel/llvm15: update to 15.0.7 (authored by brooks).
devel/llvm15: update to 15.0.7
Jan 12 2023, 10:59 PM
brooks committed rG6e011d15031a: makefs: don't needlessly require directories to exist (authored by brooks).
makefs: don't needlessly require directories to exist
Jan 12 2023, 7:22 PM
brooks added a reverting change for rG794154149f95: makefs: don't needlessly require directories to exist: rG5e5baba880a2: Revert "makefs: don't needlessly require directories to exist".
Jan 12 2023, 6:27 PM
brooks committed rG5e5baba880a2: Revert "makefs: don't needlessly require directories to exist" (authored by brooks).
Revert "makefs: don't needlessly require directories to exist"
Jan 12 2023, 6:27 PM
brooks added a reverting change for D38029: makefs: don't needlessly require directories to exist: rG5e5baba880a2: Revert "makefs: don't needlessly require directories to exist".
Jan 12 2023, 6:27 PM
brooks committed rG794154149f95: makefs: don't needlessly require directories to exist (authored by brooks).
makefs: don't needlessly require directories to exist
Jan 12 2023, 6:21 PM
brooks closed D38029: makefs: don't needlessly require directories to exist.
Jan 12 2023, 6:21 PM
brooks committed rGb78d5b424145: makefs: handle mtree link= for ZFS (authored by brooks).
makefs: handle mtree link= for ZFS
Jan 12 2023, 6:21 PM
brooks closed D38028: makefs: handle mtree link= for ZFS.
Jan 12 2023, 6:21 PM
brooks committed rGaac389a34773: makefs: handle mtree contents= in zfs (authored by brooks).
makefs: handle mtree contents= in zfs
Jan 12 2023, 6:21 PM
brooks closed D38027: makefs: handle mtree contents= in zfs.
Jan 12 2023, 6:20 PM
brooks committed rGa872c3705417: xdr: store chars consistently (authored by brooks).
xdr: store chars consistently
Jan 12 2023, 6:20 PM
brooks closed D37992: xdr: store chars consistently.
Jan 12 2023, 6:20 PM
brooks added a comment to D38029: makefs: don't needlessly require directories to exist.

To trigger the problem, a test case might do something like

./root/.ssh type=dir
./root/.ssh/id_ed25519 type=file contents=/path/to/key

where ./root/.ssh doesn't exist?

Jan 12 2023, 5:50 PM
brooks updated the diff for D38029: makefs: don't needlessly require directories to exist.
  • Simplify fs_open_can_fail
Jan 12 2023, 5:48 PM
brooks updated the diff for D38028: makefs: handle mtree link= for ZFS.
  • Avoid signed vs unsigned comparison issues
Jan 12 2023, 5:47 PM
brooks requested review of D38029: makefs: don't needlessly require directories to exist.
Jan 12 2023, 12:12 AM
brooks requested review of D38028: makefs: handle mtree link= for ZFS.
Jan 12 2023, 12:11 AM
brooks requested review of D38027: makefs: handle mtree contents= in zfs.
Jan 12 2023, 12:11 AM

Jan 9 2023

brooks committed rG3b073d2ee50c: tools/build: Always bootstrap (sys/)bitstring.h (authored by brooks).
tools/build: Always bootstrap (sys/)bitstring.h
Jan 9 2023, 7:18 PM
brooks closed D37951: tools/build: Always bootstrap (sys/)bitstring.h.
Jan 9 2023, 7:18 PM
brooks requested review of D37992: xdr: store chars consistently.
Jan 9 2023, 7:08 PM

Jan 6 2023

brooks committed R11:47c2b0aec1c3: devel/llvm*: Fix CONFLICT on cmark (authored by brooks).
devel/llvm*: Fix CONFLICT on cmark
Jan 6 2023, 12:11 AM

Jan 4 2023

brooks added reviewers for D37951: tools/build: Always bootstrap (sys/)bitstring.h: jrtc27, emaste.
Jan 4 2023, 11:39 PM
brooks requested review of D37951: tools/build: Always bootstrap (sys/)bitstring.h.
Jan 4 2023, 11:38 PM