Page MenuHomeFreeBSD
Feed Advanced Search

Jul 23 2020

brooks accepted D25791: Pass the right size to memcpy() when copying the array of FP registers..
Jul 23 2020, 9:03 PM
brooks committed rD54368: Don't recommend the -r flag to mountd..
Don't recommend the -r flag to mountd.
Jul 23 2020, 4:42 PM
brooks closed D25760: Don't recommend the -r flag to mountd..
Jul 23 2020, 4:42 PM

Jul 22 2020

brooks committed rS363439: Correct a type-mismatch between xdr_long and the variable "bad"..
Correct a type-mismatch between xdr_long and the variable "bad".
Jul 22 2020, 11:40 PM
brooks closed D25779: Correct a type-mismatch between xdr_long and the variable "bad"..
Jul 22 2020, 11:40 PM
brooks committed rS363438: Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions..
Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions.
Jul 22 2020, 11:35 PM
brooks closed D25758: Use SI_ORDER_(FOURTH|FIFTH)..
Jul 22 2020, 11:35 PM
brooks requested review of D25779: Correct a type-mismatch between xdr_long and the variable "bad"..
Jul 22 2020, 10:05 PM
brooks committed rS363435: Avoid reading one byte before the path buffer..
Avoid reading one byte before the path buffer.
Jul 22 2020, 9:45 PM
brooks closed D25759: Avoid reading one byte before the path buffer..
Jul 22 2020, 9:45 PM
brooks committed rS363434: MFC r363228:.
MFC r363228:
Jul 22 2020, 9:30 PM
brooks committed rS363432: MFC r363228:.
MFC r363228:
Jul 22 2020, 9:06 PM
brooks added a comment to D25759: Avoid reading one byte before the path buffer..

With CHERI (cheri-cpu.org) this causes a crash as pointers have hardware enforced bounds. This is pretty typical of the sort of long standing bug we're finding. I found a similar one in tcsh a few years ago where hitting <tab> on an empty command line read a byte before the beginning of a string.

Jul 22 2020, 2:31 PM

Jul 21 2020

brooks requested review of D25760: Don't recommend the -r flag to mountd..
Jul 21 2020, 11:53 PM
brooks added a comment to D25759: Avoid reading one byte before the path buffer..

I tracked this one back to https://github.com/csrg/original-bsd/commit/45cf24f20d90597daa44422eb7497313e70e244a#diff-29db5f32c6d874dca3dcac24c9c68955R565

Jul 21 2020, 11:28 PM
brooks requested review of D25759: Avoid reading one byte before the path buffer..
Jul 21 2020, 11:17 PM
brooks requested review of D25758: Use SI_ORDER_(FOURTH|FIFTH)..
Jul 21 2020, 11:09 PM

Jul 20 2020

brooks accepted D25725: riscv: Include syscon_power device driver in GENERIC kernel config.
Jul 20 2020, 8:59 PM
brooks accepted D25717: Add Goldfish RTC device driver for RISC-V.
Jul 20 2020, 8:58 PM
brooks accepted D25724: Add syscon power and reset control device driver.
Jul 20 2020, 8:57 PM
brooks accepted D25718: loader: Avoid -Wpointer-to-int cast warnings for Arm and RISC-V.
Jul 20 2020, 8:30 PM

Jul 15 2020

brooks committed rS363228: Don't imply that all action values can be OR'd..
Don't imply that all action values can be OR'd.
Jul 15 2020, 5:05 PM
brooks closed D25659: Don't imply that all action values can be OR'd..
Jul 15 2020, 5:05 PM

Jul 14 2020

brooks accepted D25229: Allow bootstrapping localdef on non-FreeBSD systems.

One small typo, but otherwise looks good.

Jul 14 2020, 5:38 PM

Jul 13 2020

brooks added a reviewer for D25659: Don't imply that all action values can be OR'd.: manpages.
Jul 13 2020, 11:53 PM
brooks requested review of D25659: Don't imply that all action values can be OR'd..
Jul 13 2020, 11:32 PM

Jul 12 2020

brooks committed rP542092: Fix plist without OPENMP..
Fix plist without OPENMP.
Jul 12 2020, 7:21 PM

Jul 9 2020

brooks committed rS363050: MFC r362979:.
MFC r362979:
Jul 9 2020, 5:12 PM
brooks committed rS363048: MFC r362979:.
MFC r362979:
Jul 9 2020, 4:59 PM

Jul 8 2020

brooks added a comment to D25593: Add syscall to set more than 2 times.

Some general comments in no particular order:

  • pathseg strikes me as over engineering. While trivial to implement the value is always the same.
  • I'm a bit skeptical of the overall interface in particular the cnt argument. It does match setutimes but that interface is odd (and there doesn't appear to be any in-tree consumer of the numtimes > 2).
  • A manpage would be required for commit.
  • Please either don't include generated files or update to a version of FreeBSD that adds @generated to them so they don't show up in the diff.
Jul 8 2020, 6:59 PM

Jul 6 2020

brooks committed rP541373: Update to a fresh snapshot..
Update to a fresh snapshot.
Jul 6 2020, 10:53 PM
brooks committed rS362979: Fix a Wvoid-pointer-to-enum-cast warning missed in r359978..
Fix a Wvoid-pointer-to-enum-cast warning missed in r359978.
Jul 6 2020, 10:40 PM
brooks accepted D25571: Rebuild sysent when capabilities.conf is updated..
Jul 6 2020, 6:48 PM
brooks accepted D25571: Rebuild sysent when capabilities.conf is updated..
Jul 6 2020, 5:20 PM
brooks added inline comments to D25571: Rebuild sysent when capabilities.conf is updated..
Jul 6 2020, 4:34 PM

Jun 30 2020

brooks accepted D25529: Cleanup a few things in emulators/qemu-cheri. No functional change..
Jun 30 2020, 11:16 PM

Jun 23 2020

brooks updated the diff for D24246: Add a timeline for completion of mentorship..
  • Use "may" to indicate that transition to project member is at core's discretion.
Jun 23 2020, 3:22 AM
brooks closed D24658: Set LG_VADDR to 48 on RISC-V..
Jun 23 2020, 3:16 AM
brooks requested review of D24658: Set LG_VADDR to 48 on RISC-V..
Jun 23 2020, 3:16 AM
brooks closed D22099: Merge from vendor: fix potential infinite loop in when executing -c command.
Jun 23 2020, 1:22 AM

Jun 21 2020

brooks accepted D25381: Adapt linuxulator syscalls.master files to the new layout.
Jun 21 2020, 3:43 AM

Jun 20 2020

brooks accepted D25381: Adapt linuxulator syscalls.master files to the new layout.

One minor nit (but I'd suggest grepping for "* " to see if I missed any more).

Jun 20 2020, 11:09 PM

Jun 19 2020

brooks added inline comments to D25339: Update tests(7) as it was imported to base in r359260.
Jun 19 2020, 10:42 PM

Jun 18 2020

brooks added inline comments to D25272: Add linux_madvise(2)..
Jun 18 2020, 9:18 AM

Jun 16 2020

brooks retitled D24246: Add a timeline for completion of mentorship. from Add a timeline for unmentoring. to Add a timeline for completion of mentorship..
Jun 16 2020, 6:29 PM

Jun 15 2020

brooks added inline comments to D25272: Add linux_madvise(2)..
Jun 15 2020, 10:48 PM

Jun 10 2020

brooks added a comment to D25222: Hard-code the ice_ddp firmware version..

FWIW, it already needs to be updated by hand in sys/conf/files.(amd64,i386).

Jun 10 2020, 11:56 PM

Jun 9 2020

brooks accepted D25200: New Code of Conduct (LLVM-derived).
Jun 9 2020, 8:04 PM
brooks added inline comments to D25200: New Code of Conduct (LLVM-derived).
Jun 9 2020, 7:56 PM

Jun 5 2020

brooks accepted D25132: virtio: Support non-legacy network device and queue.
Jun 5 2020, 4:53 PM
brooks accepted D25131: virtio_mmio: Negotiate the upper half of the feature bits too.

This seems reasonable.

Jun 5 2020, 4:48 PM

Jun 3 2020

brooks committed rP537629: Update to a more recent snapshot..
Update to a more recent snapshot.
Jun 3 2020, 5:58 PM

May 28 2020

brooks added reviewers for D25040: [mips] fix up the assembly generation of unaligned exception loads: jhb, arichardson.
May 28 2020, 8:57 PM
brooks accepted D24949: add syscall for the nfs-over-tls daemons to use.
May 28 2020, 6:16 PM

May 27 2020

brooks added a comment to D24949: add syscall for the nfs-over-tls daemons to use.

Oops, forgot to "make sysent" before testing the last one.
Since the entry on compat/freebsd32/syscalls.master is NOSTD,
I needed to prepend "freebsd_" to the prototype name to
avoid a conflict.

May 27 2020, 11:48 PM

May 22 2020

brooks added a comment to D24949: add syscall for the nfs-over-tls daemons to use.

The key things I watch for in syscalls.master changes look fine.

May 22 2020, 5:57 PM
brooks closed D24932: Support METALOG when calling certctl in installworld.
May 22 2020, 5:45 PM
brooks committed rS361397: Add an unprivileged mode where calls to install are passed appropriate.
Add an unprivileged mode where calls to install are passed appropriate
May 22 2020, 5:45 PM

May 21 2020

brooks added a comment to D24932: Support METALOG when calling certctl in installworld.

I've added documentation. While the backlist command does support the new flags I've not documented it because I'm not convinced it makes sense and unblacklist doesn't support them.

May 21 2020, 11:38 PM
brooks updated the diff for D24932: Support METALOG when calling certctl in installworld.
  • certctl: handle METALOG like install(1) does
  • Support NO_ROOT when calling certctl.
May 21 2020, 11:37 PM
brooks added a comment to D24932: Support METALOG when calling certctl in installworld.

Given rS361149, I'll convert this review to one of the certctl changes and add docs.

May 21 2020, 3:33 PM

May 20 2020

brooks accepted D24936: Print CPU informtion later in boot..
May 20 2020, 8:57 PM
brooks accepted D24928: Remove copyinfrom() and copyinstrfrom()..
May 20 2020, 8:51 PM
brooks retitled D24932: Support METALOG when calling certctl in installworld from Support METALOG when calling certctl in installworld This is a pair of commits for conceptual review and is missing documentation and usage() updates to certctl. ---- certctl: handle METALOG like install(1) does to Support METALOG when calling certctl in installworld.
May 20 2020, 8:41 PM
brooks accepted D24931: Simplify hot-patching cpu_switch() for lack of UserLocal register..
May 20 2020, 6:34 PM
brooks accepted D24930: Merge freebsd32_exec_setregs() into exec_setregs() on MIPS..
May 20 2020, 6:31 PM
brooks requested review of D24932: Support METALOG when calling certctl in installworld.
May 20 2020, 6:19 PM

May 13 2020

brooks updated the test plan for D24827: riscv: Fix pmap_protect for superpages.
May 13 2020, 4:51 PM

May 12 2020

brooks accepted D24785: Avoid using non-portable dd status=none flag.
May 12 2020, 5:58 PM

May 6 2020

brooks committed rS360695: MFC r359974:.
MFC r359974:
May 6 2020, 5:42 PM
brooks committed rS360693: MFC r359974:.
MFC r359974:
May 6 2020, 5:12 PM
brooks accepted D24730: virtio: Support MMIO bus for all devices.
May 6 2020, 5:08 PM
brooks accepted D24681: virtio_mmio: Support non-transitional version 2 devices.
May 6 2020, 5:07 PM

May 4 2020

brooks added reviewers for D24681: virtio_mmio: Support non-transitional version 2 devices: andrew, kp.

Looks good at a glance. Adding a couple more potential reviewers.

May 4 2020, 8:31 PM
brooks committed rS360635: Set LG_VADDR to 48 on RISC-V..
Set LG_VADDR to 48 on RISC-V.
May 4 2020, 5:16 PM

May 1 2020

brooks added a comment to D24658: Set LG_VADDR to 48 on RISC-V..

There should likely be a corresponding change to the configure script upstream (probably duplicating the arm64 case).

May 1 2020, 10:12 PM
brooks added a reviewer for D24658: Set LG_VADDR to 48 on RISC-V.: mhorne.
May 1 2020, 10:11 PM

Apr 28 2020

brooks committed rS360451: MFC r359937:.
MFC r359937:
Apr 28 2020, 8:15 PM
brooks committed rS360446: MFC r359937:.
MFC r359937:
Apr 28 2020, 6:00 PM

Apr 27 2020

brooks committed rS360415: MFC r359978:.
MFC r359978:
Apr 27 2020, 11:49 PM
brooks committed rS360414: MFC r359978:.
MFC r359978:
Apr 27 2020, 11:48 PM
brooks accepted D24567: Don't run strcmp() against strings stored in user memory..
Apr 27 2020, 5:18 PM

Apr 24 2020

brooks accepted D24562: Don't indirect user pointers directly in two 802.11s ioctls..

sigh

Apr 24 2020, 8:41 PM

Apr 23 2020

brooks committed rS360225: MFC r359938:.
MFC r359938:
Apr 23 2020, 5:46 PM

Apr 22 2020

brooks committed rP532493: Create and use a tests group for the tests user..
Create and use a tests group for the tests user.
Apr 22 2020, 6:01 PM
brooks committed rS360200: MFC r359938:.
MFC r359938:
Apr 22 2020, 5:14 PM

Apr 21 2020

brooks added a comment to D24018: fix debug.kdb.enter=1 with dtrace-enabled kernel.

Any reason not to land this?

Apr 21 2020, 5:13 PM

Apr 20 2020

brooks accepted D24489: Don't pass a user buffer pointer as the data pointer in a CCB..

Modulo accepting or rejecting @imp's suggestion this looks good.

Apr 20 2020, 5:08 PM

Apr 16 2020

brooks accepted D24457: Use the right type for 64-bit coprocessor registers..
Apr 16 2020, 11:39 PM
brooks committed rS360024: Convert canary, execpathp, and pagesizes to pointers..
Convert canary, execpathp, and pagesizes to pointers.
Apr 16 2020, 9:53 PM
brooks closed D24446: Convert canary, execpathp, and pagesizes to pointers..
Apr 16 2020, 9:53 PM
brooks added a comment to D24446: Convert canary, execpathp, and pagesizes to pointers..

Successful CI run https://cirrus-ci.com/task/4829231964225536

Apr 16 2020, 9:49 PM
brooks created D24446: Convert canary, execpathp, and pagesizes to pointers..
Apr 16 2020, 6:07 PM
brooks committed rS360015: style(9): end continued line with operator..
style(9): end continued line with operator.
Apr 16 2020, 5:24 PM
brooks added a comment to D24407: Export argc, argv, envc, envv, and ps_strings in auxargs..

How does this relate to D16111?

Apr 16 2020, 3:58 PM

Apr 15 2020

brooks committed rS359991: Attempt to use AT_PS_STRINGS to get the ps_strings pointer..
Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
Apr 15 2020, 8:28 PM
brooks committed rS359990: Support AT_PS_STRINGS in _elf_aux_info()..
Support AT_PS_STRINGS in _elf_aux_info().
Apr 15 2020, 8:26 PM
brooks committed rS359989: Add procstat support for AT_ flags added in r359988..
Add procstat support for AT_ flags added in r359988.
Apr 15 2020, 8:25 PM
brooks committed rS359988: Export argc, argv, envc, envv, and ps_strings in auxargs..
Export argc, argv, envc, envv, and ps_strings in auxargs.
Apr 15 2020, 8:24 PM
brooks closed D24407: Export argc, argv, envc, envv, and ps_strings in auxargs..
Apr 15 2020, 8:24 PM