Page MenuHomeFreeBSD

emaste (Ed Maste)
UserAdministrator

Projects (16)

User Details

User Since
Nov 24 2013, 3:15 AM (582 w, 5 h)
Roles
Administrator

Recent Activity

Today

emaste added a comment to D48509: rtld: apply clang-format.

Do you see such cases in the posted patch?

Sun, Jan 19, 12:54 AM

Yesterday

emaste added a comment to D48509: rtld: apply clang-format.

Overall I think this is a fine idea. I am curious about the manual fixups you applied (or put another way, how significant a subsequent clang-format would be). I tried running it again over rtld.c and see a bunch of things like

        for (ph = obj->phdr;
-           (const char *)ph < (const char *)obj->phdr + obj->phsize; ph++) {
+            (const char *)ph < (const char *)obj->phdr + obj->phsize; ph++) {

i.e., mine added an extra space to line up under the first char inside for's (). This feels like a clang-format bug to me.

Sat, Jan 18, 1:08 PM

Fri, Jan 17

emaste committed rG4d15b58365ea: certctl: Set METALOG ownership to root:wheel (authored by guest-patmaddox).
certctl: Set METALOG ownership to root:wheel
Fri, Jan 17, 9:43 PM
emaste closed D48506: certctl: Set METALOG ownership to root:wheel.
Fri, Jan 17, 9:42 PM
emaste added a reviewer for D48506: certctl: Set METALOG ownership to root:wheel: jrtc27.
Fri, Jan 17, 9:26 PM
emaste added a comment to D48506: certctl: Set METALOG ownership to root:wheel.

This omits -N ${DESTDIR}${DISTBASE}/etc from the original commit. install does not validate the arguments passed to -o or -g (see PR283355) so there's no need to have the passwd db available.

Fri, Jan 17, 9:23 PM
emaste requested review of D48506: certctl: Set METALOG ownership to root:wheel.
Fri, Jan 17, 9:22 PM
emaste added a comment to D48504: install: Fix METALOG ouptut for numeric -o and -g args.

Based on discussion in PR283340, do we need to have a separate option to specify whether we want uname/gname vs uid/gid in METALOG, or is it reasonable to use uname= if a name is specified and uid= if a uid is specified? I think this change is a valuable first step even if we want to add that later on.

Fri, Jan 17, 9:17 PM
emaste added inline comments to D48504: install: Fix METALOG ouptut for numeric -o and -g args.
Fri, Jan 17, 7:44 PM
emaste requested review of D48504: install: Fix METALOG ouptut for numeric -o and -g args.
Fri, Jan 17, 7:40 PM
emaste added a comment to D14626: add -e flag to install(1).
Fri, Jan 17, 6:49 PM
emaste committed rG473681a1a506: libc: Fix getentropy POSIX 2024 conformance issues (authored by emaste).
libc: Fix getentropy POSIX 2024 conformance issues
Fri, Jan 17, 6:24 PM
emaste closed D47689: libc: Fix getentropy POSIX 2024 conformance issues.
Fri, Jan 17, 6:23 PM
emaste added a reviewer for D48016: freebsd-update: Error for -b basedir without UNAME_r set: cperciva.
Fri, Jan 17, 6:16 PM
emaste added a comment to D48016: freebsd-update: Error for -b basedir without UNAME_r set.

It doesn't look like that would work -- we'd have to execute $BASEDIR/freebsd-version as USERLAND_VERSION is baked into the script. I'll take a look at that, but as a subsequent commit.

Fri, Jan 17, 6:16 PM
emaste added a reverting change for rG10fa3f2518d4: certctl: Set METALOG ownership to root:wheel: rG98bebc20cef7: Revert "certctl: Set METALOG ownership to root:wheel".
Fri, Jan 17, 5:57 PM
emaste committed rG98bebc20cef7: Revert "certctl: Set METALOG ownership to root:wheel" (authored by emaste).
Revert "certctl: Set METALOG ownership to root:wheel"
Fri, Jan 17, 5:57 PM
emaste committed rG72f092ee0194: libc: Add include path for aarch64 memchr.S (authored by emaste).
libc: Add include path for aarch64 memchr.S
Fri, Jan 17, 4:24 PM
emaste committed rGb8cdbe1852ef: iwmbtfw: Check firmware exists before trying to upload it (authored by gavin).
iwmbtfw: Check firmware exists before trying to upload it
Fri, Jan 17, 4:14 PM
emaste added a comment to D48502: depend-cleanup: bea89d038ac5 also moved memchr.

Uh, why do we need that wrapper instead of just calling memchr itself?

Fri, Jan 17, 3:24 PM
emaste committed rGd355c28a0954: depend-cleanup: bea89d038ac5 also moved memchr (authored by emaste).
depend-cleanup: bea89d038ac5 also moved memchr
Fri, Jan 17, 3:19 PM
emaste closed D48502: depend-cleanup: bea89d038ac5 also moved memchr.
Fri, Jan 17, 3:19 PM
emaste added inline comments to D48502: depend-cleanup: bea89d038ac5 also moved memchr.
Fri, Jan 17, 3:12 PM
emaste added reviewers for D48502: depend-cleanup: bea89d038ac5 also moved memchr: fuz, getz.
Fri, Jan 17, 3:11 PM
emaste requested review of D48502: depend-cleanup: bea89d038ac5 also moved memchr.
Fri, Jan 17, 3:11 PM
emaste requested review of D48500: Remove now-unused contrib/cortex-strings.
Fri, Jan 17, 2:53 PM
emaste accepted D48499: ktrace: Fix uninitialized memory disclosure.
Fri, Jan 17, 2:41 PM

Thu, Jan 16

emaste added inline comments to D48481: munmap.2: Add STANDARDS and note about portability.
Thu, Jan 16, 6:32 PM
emaste committed rG724e383bd4c4: munmap.2: Add STANDARDS and note about portability (authored by emaste).
munmap.2: Add STANDARDS and note about portability
Thu, Jan 16, 5:54 PM
emaste closed D48481: munmap.2: Add STANDARDS and note about portability.
Thu, Jan 16, 5:53 PM
emaste added a comment to D48481: munmap.2: Add STANDARDS and note about portability.

2004 has:

The munmap() function shall fail if:
Thu, Jan 16, 5:50 PM
emaste accepted D48483: bintrans: disable argument permutation for qp and base64.

If there are at least some other implementations in common use that don't support GNU-style my preference is for your change to go in.

Thu, Jan 16, 5:23 PM
emaste added a comment to D48483: bintrans: disable argument permutation for qp and base64.

This looks reasonable to me but could it be that whatever base64 exists on typical Linux distros allows "incorrect" argument order?

Thu, Jan 16, 3:05 PM
emaste requested review of D48481: munmap.2: Add STANDARDS and note about portability.
Thu, Jan 16, 1:13 PM
emaste committed rGf538407b1ac2: hda: Add patch for Framework Laptop Intel 13th gen (authored by git_danielschaefer.me).
hda: Add patch for Framework Laptop Intel 13th gen
Thu, Jan 16, 1:12 PM

Wed, Jan 15

emaste committed rGfab411c4fd52: munmap.2: Remove EINVAL for negative len (authored by emaste).
munmap.2: Remove EINVAL for negative len
Wed, Jan 15, 9:50 PM
emaste committed rGc0661bbbd0d9: depend-cleanup: Fix match expression for AArch64 asm files (authored by emaste).
depend-cleanup: Fix match expression for AArch64 asm files
Wed, Jan 15, 7:29 PM
emaste closed D48459: depend-cleanup: Fix match for asm files.
Wed, Jan 15, 7:28 PM
emaste closed D48465: munmap.2: Unaligned addresses do not return error.
Wed, Jan 15, 6:11 PM
emaste committed rG9e36aaf0c24c: munmap.2: Unaligned addresses do not return error (authored by emaste).
munmap.2: Unaligned addresses do not return error
Wed, Jan 15, 6:11 PM
emaste added a comment to D48465: munmap.2: Unaligned addresses do not return error.

Turn reference into a link: rGdabee6fecc67

Wed, Jan 15, 4:57 PM
emaste requested review of D48465: munmap.2: Unaligned addresses do not return error.
Wed, Jan 15, 4:55 PM
emaste added a reviewer for D48459: depend-cleanup: Fix match for asm files: andrew.
Wed, Jan 15, 3:59 PM
emaste updated the diff for D48459: depend-cleanup: Fix match for asm files.

also remove generated files

Wed, Jan 15, 3:58 PM
emaste added a comment to D48463: sysutils/procs: Unbreak on CURRENT.

This LGTM

Wed, Jan 15, 3:08 PM
emaste closed D48462: handbook: Note that portupgrade is deprecated.
Wed, Jan 15, 1:54 PM
emaste committed R9:277365f0c339: handbook: Note that portupgrade is deprecated (authored by emaste).
handbook: Note that portupgrade is deprecated
Wed, Jan 15, 1:54 PM
emaste requested review of D48462: handbook: Note that portupgrade is deprecated.
Wed, Jan 15, 1:35 PM
emaste committed rG316aa4de2c4f: mfc-candidates: Retire shell wrapper (authored by emaste).
mfc-candidates: Retire shell wrapper
Wed, Jan 15, 2:55 AM
emaste committed rGf81286d19230: makefs: Exit with error if writing cd image fails (authored by emaste).
makefs: Exit with error if writing cd image fails
Wed, Jan 15, 2:36 AM
emaste committed rG79778b7aafc8: makefs: Fix cd9660 duplicate directory names (authored by emaste).
makefs: Fix cd9660 duplicate directory names
Wed, Jan 15, 2:34 AM
emaste committed rG94652c10c07a: makefs: Remove impossible if condition (authored by emaste).
makefs: Remove impossible if condition
Wed, Jan 15, 2:34 AM
emaste committed rGf6a64ab6a2c9: makefs: Fix cd9660 filename buffer maximum length (authored by emaste).
makefs: Fix cd9660 filename buffer maximum length
Wed, Jan 15, 2:34 AM
emaste committed rG954de313b261: makefs: Crudely fix a sprintf warning (authored by emaste).
makefs: Crudely fix a sprintf warning
Wed, Jan 15, 2:34 AM

Tue, Jan 14

emaste accepted D47947: Kill ignore regshft flag.
Tue, Jan 14, 9:53 PM
emaste accepted D47946: uart: Ingore pl011 historic mistakes.
Tue, Jan 14, 9:53 PM
emaste requested review of D48459: depend-cleanup: Fix match for asm files.
Tue, Jan 14, 9:41 PM
emaste committed rG40b11c1c16d8: makefs: Fix cd9660 duplicate directory names (authored by emaste).
makefs: Fix cd9660 duplicate directory names
Tue, Jan 14, 9:08 PM
emaste committed rG302be497fc03: makefs: Remove impossible if condition (authored by emaste).
makefs: Remove impossible if condition
Tue, Jan 14, 9:08 PM
emaste committed rG999c7a888f4f: makefs: Fix cd9660 filename buffer maximum length (authored by emaste).
makefs: Fix cd9660 filename buffer maximum length
Tue, Jan 14, 9:08 PM
emaste committed rGfb0239e69f17: makefs: Crudely fix a sprintf warning (authored by emaste).
makefs: Crudely fix a sprintf warning
Tue, Jan 14, 9:08 PM
emaste added a comment to D48457: status: Add 2024q4 FreeBSD Foundation report entry.

Looks good with one nit noted

Tue, Jan 14, 7:10 PM
emaste added inline comments to D48382: release: add cloudware oracle targets to package and upload .oci files.
Tue, Jan 14, 3:15 PM
emaste accepted D48447: Status/2024Q4/foundation-security-audit.adoc: Add report.
Tue, Jan 14, 2:27 PM
emaste committed rG0cd9513a5ba5: pkg: retire backwards compatibility bootstrap support (authored by emaste).
pkg: retire backwards compatibility bootstrap support
Tue, Jan 14, 1:43 PM
emaste closed D46990: pkg: retire backwards compatibility bootstrap support.
Tue, Jan 14, 1:43 PM
emaste added inline comments to D48447: Status/2024Q4/foundation-security-audit.adoc: Add report.
Tue, Jan 14, 1:26 PM
emaste updated the diff for D46990: pkg: retire backwards compatibility bootstrap support.

rebase

Tue, Jan 14, 1:11 PM

Mon, Jan 13

emaste accepted D48424: snd_uaudio: Remove undefined functions.
Mon, Jan 13, 4:13 PM
emaste accepted D48443: depend-cleanup.sh: clean up after AArch64 libc SIMD merge.
Mon, Jan 13, 3:56 PM

Sun, Jan 12

emaste committed rG748e7bc1521c: bsnmpwalk: Fix crash on invalid data (authored by syrinx).
bsnmpwalk: Fix crash on invalid data
Sun, Jan 12, 7:33 PM
emaste committed rG7fbbab2d326b: bsnmpwalk: Fix crash on invalid data (authored by syrinx).
bsnmpwalk: Fix crash on invalid data
Sun, Jan 12, 7:32 PM

Sat, Jan 11

emaste added inline comments to D48427: Add option to clear caller-used registers on function return.
Sat, Jan 11, 6:20 PM
emaste added a comment to D48427: Add option to clear caller-used registers on function return.

Please add a reference in mitigations.7

Sat, Jan 11, 6:08 PM
emaste committed rG6eae413a2545: build: Check NO_ROOT and METALOG for more targets (authored by emaste).
build: Check NO_ROOT and METALOG for more targets
Sat, Jan 11, 1:46 PM
emaste closed D48339: build: Check NO_ROOT and METALOG for more targets.
Sat, Jan 11, 1:46 PM

Fri, Jan 10

emaste added a comment to D48423: devd: Avoid setting devctl_queue when stopping devd.

How should we keep track of the need for a proper kernel fix?

Fri, Jan 10, 9:05 PM
emaste accepted D48423: devd: Avoid setting devctl_queue when stopping devd.

Eww, OK.

Fri, Jan 10, 9:04 PM
emaste committed rGf021e3573519: bsnmpwalk: Fix crash on invalid data (authored by syrinx).
bsnmpwalk: Fix crash on invalid data
Fri, Jan 10, 8:48 PM
emaste closed D48422: bsnmpwalk: Fix crash on invalid data.
Fri, Jan 10, 8:48 PM
emaste added a reviewer for D48422: bsnmpwalk: Fix crash on invalid data: markj.
SNMP: ignoring trailing junk in message
bsnmpwalk: Error - No Such Name
bsnmpwalk: Snmp dialog: Operation timed out
Fri, Jan 10, 8:38 PM
emaste requested review of D48422: bsnmpwalk: Fix crash on invalid data.
Fri, Jan 10, 8:36 PM
emaste accepted D48411: stand/usb: Quiet warnings so this builds again.

No objection here

Fri, Jan 10, 8:04 PM
emaste accepted D48402: mlx.4: Remove stale diagnostic message.
Fri, Jan 10, 6:42 PM
emaste accepted D48418: universe: Permit requesting a specific version of GCC.

Ah, nice.

Fri, Jan 10, 6:07 PM
emaste accepted D48420: clock: Simplify subr_ticks and rename.
Fri, Jan 10, 5:45 PM
emaste accepted D48412: stand/kshim: Replace devclass_equal with calls to strcmp.

We lose the tiny a == b optimization but I can't imagine that matters.

Fri, Jan 10, 3:46 AM

Thu, Jan 9

emaste accepted D48405: HW Relnotes: Remove twe(4).
Thu, Jan 9, 10:21 PM
emaste accepted D48405: HW Relnotes: Remove twe(4).
Thu, Jan 9, 9:41 PM
emaste added inline comments to D48382: release: add cloudware oracle targets to package and upload .oci files.
Thu, Jan 9, 7:17 PM
emaste accepted D48383: clock: Add a long ticks variable.
Thu, Jan 9, 6:51 PM
emaste added inline comments to D48383: clock: Add a long ticks variable.
Thu, Jan 9, 6:09 PM
emaste committed R9:ef31bfe8efed: security: Bump advisory templates to 2025 (authored by emaste).
security: Bump advisory templates to 2025
Thu, Jan 9, 4:01 PM

Wed, Jan 8

emaste added a comment to D48329: ls -h: humanize the total as well.

It seems reasonable to me to switch to (rather than add) the humanized form for -h which is what's already done for the files in the list. "xMB in y blocks" also gives me the impression that we're presenting two different quantities (e.g. that 1M could be in some arbitrary number of blocks) - it would probably make more sense to show it as "total %s (%lu blocks)" if keeping both.

Wed, Jan 8, 8:10 PM
emaste added inline comments to D48103: rtwn: announce VHT support for RTL8812AU/RTL8821AU..
Wed, Jan 8, 7:37 PM · wireless
emaste added inline comments to D48102: rtwn: add VHT20/VHT40/VHT80 bandwidth configuration for transmit..
Wed, Jan 8, 7:36 PM · wireless
emaste added inline comments to D48101: net80211: add helper functions for VHT transmit.
Wed, Jan 8, 7:32 PM · wireless
emaste added a comment to D48329: ls -h: humanize the total as well.

I agree with @phk that this was probably an oversight. I'm not sure I'd include blocks under -h -- why not just total 268503 without -h and total 131M with -h?

Wed, Jan 8, 4:47 PM
emaste accepted D48379: LinnuxKPI: drm2: retire timespec_to_jiffies().
Wed, Jan 8, 1:15 PM

Tue, Jan 7

emaste added a comment to D46657: LinuxKPI: switch mallocarray to an lpi implementation using __kmalloc().

Probably fine to go in

Tue, Jan 7, 7:55 PM