Page MenuHomeFreeBSD

emaste (Ed Maste)
UserAdministrator

Projects (19)

User Details

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

Recent Activity

Fri, Mar 13

emaste accepted D55846: tests/fusefs: fix sign-compare warning on armv7.
Fri, Mar 13, 11:26 PM
emaste added a reverting change for rG858f53dd43ec: Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools: rG4a8055914d6a: Revert "Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools".
Fri, Mar 13, 8:48 PM
emaste committed rG4a8055914d6a: Revert "Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools" (authored by emaste).
Revert "Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools"
Fri, Mar 13, 8:48 PM
emaste added a reverting change for D55650: Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools: rG4a8055914d6a: Revert "Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools".
Fri, Mar 13, 8:48 PM
emaste accepted D55835: tarfs: swap deprecated ZSTD_resetDStream() with ZSTD_DCtx_reset().
Fri, Mar 13, 2:10 PM
emaste added a comment to D55846: tests/fusefs: fix sign-compare warning on armv7.

This seems fine to me (and the generally correct way to handle size_t and ssize_t comparisons) but I'd like to see what @asomers thinks.

Fri, Mar 13, 2:04 PM
emaste committed rG9a9f93bcf1aa: compat/linux: Avoid waitid() kernel stack disclosure (authored by emaste).
compat/linux: Avoid waitid() kernel stack disclosure
Fri, Mar 13, 12:32 AM
emaste committed rG097cb4e9f043: compat32: Zero struct to avoid stack disclosure (authored by emaste).
compat32: Zero struct to avoid stack disclosure
Fri, Mar 13, 12:31 AM

Thu, Mar 12

emaste accepted D55822: packages: Remove stale libsdp-all.ucl.
Thu, Mar 12, 5:35 PM
emaste accepted D55820: packages: Remove stale ftpd-all.ucl.
Thu, Mar 12, 5:34 PM
emaste changed the visibility for D55806: shm: Zero struct kinfo_file in sysctl handler.
Thu, Mar 12, 3:18 PM
emaste committed rG25cc459286a0: shm: Zero struct kinfo_file in sysctl handler (authored by emaste).
shm: Zero struct kinfo_file in sysctl handler
Thu, Mar 12, 3:18 PM
emaste closed D55806: shm: Zero struct kinfo_file in sysctl handler.
Thu, Mar 12, 3:17 PM
emaste added a comment to D55823: krb5: Use GNU strerror_r() when building on Linux.

I find it quite surprising that this would just be broken in the upstream build; is it possible this is an artifact of our bespoke build process? Presumably the Implement the POSIX strerror_r API in terms of the GNU strerror_r section has to be used on GNU systems?

Thu, Mar 12, 1:52 PM
emaste committed rGb1d4b8379f92: camcontrol: Print 'transport revision' (authored by dmitryluhtionov_gmail.com).
camcontrol: Print 'transport revision'
Thu, Mar 12, 1:45 PM
emaste committed rGd74dfe03ba98: camcontrol: Add SPDX-License-Identifier tag (authored by tuukka.pasanen_ilmi.fi).
camcontrol: Add SPDX-License-Identifier tag
Thu, Mar 12, 1:45 PM

Wed, Mar 11

emaste committed rG945099520368: share/dict/web2: Sort (authored by emaste).
share/dict/web2: Sort
Wed, Mar 11, 4:47 PM
emaste added inline comments to D55815: DEFINE_IFUNC.9: Drop obsolete NOTES.
Wed, Mar 11, 4:33 PM
emaste updated subscribers of D55806: shm: Zero struct kinfo_file in sysctl handler.

admbugs 1021

Wed, Mar 11, 2:07 PM
emaste committed rGe71bfbe2f58f: llvm-*: Use SYMLINKS for unprefixed LLVM binutils (authored by emaste).
llvm-*: Use SYMLINKS for unprefixed LLVM binutils
Wed, Mar 11, 1:39 PM
emaste closed D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.
Wed, Mar 11, 1:38 PM
emaste accepted D55750: sigreturn.2: refresh the man page.
Wed, Mar 11, 1:11 PM
emaste requested review of D55806: shm: Zero struct kinfo_file in sysctl handler.
Wed, Mar 11, 2:36 AM
emaste committed rG96294c22f7e5: build: Stop testing LINKER_FEATURES for ifunc and build-id (authored by emaste).
build: Stop testing LINKER_FEATURES for ifunc and build-id
Wed, Mar 11, 12:01 AM
emaste closed D55676: build: Stop testing LINKER_FEATURES for ifunc and build-.
Wed, Mar 11, 12:01 AM

Tue, Mar 10

emaste added inline comments to D55803: bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression.
Tue, Mar 10, 7:22 PM
emaste committed rG17ecafb37c65: Vendor import of OpenSSH 10.2p1 (authored by emaste).
Vendor import of OpenSSH 10.2p1
Tue, Mar 10, 6:11 PM
emaste committed rG1fd1b699bda2: vt: Fix handling of backtab (authored by Nathaniel Braun <nathaniel.braun@gmail.com>).
vt: Fix handling of backtab
Tue, Mar 10, 2:59 PM

Mon, Mar 9

emaste added a comment to D55765: dtrace: Improve dmesg kernel message prefix.

Is assfail actually used? I see a dtrace_assfail in dtrace code. (Didn't check the others.)

Mon, Mar 9, 7:43 PM
emaste committed rG72f0bc868bf0: share/dict/web2: Sort (authored by emaste).
share/dict/web2: Sort
Mon, Mar 9, 7:41 PM
emaste committed rG6ccfa67ac422: Fix typos in manual pages (authored by chris.longros_gmail.com).
Fix typos in manual pages
Mon, Mar 9, 6:35 PM
emaste closed D55746: Fix typos in manual pages.
Mon, Mar 9, 6:35 PM
emaste accepted D55746: Fix typos in manual pages.
Mon, Mar 9, 6:34 PM
emaste added a comment to D19253: Add a tool to convert kernel minidump to elf coredump.

Bora was a co-op student at the time of this submission, and I don't believe is using FreeBSD any longer.

Mon, Mar 9, 6:16 PM
emaste committed rG7fd8a2028034: Merge commit 81b20e110b3f from llvm git (by Roland McGrath): (authored by jhb).
Merge commit 81b20e110b3f from llvm git (by Roland McGrath):
Mon, Mar 9, 1:28 PM
emaste committed rG969c436a6c91: bhyve: Fix truncate_iov() (authored by markj).
bhyve: Fix truncate_iov()
Mon, Mar 9, 1:28 PM
emaste committed rG897711b7bd4b: Merge commit 81b20e110b3f from llvm git (by Roland McGrath): (authored by jhb).
Merge commit 81b20e110b3f from llvm git (by Roland McGrath):
Mon, Mar 9, 1:25 PM
emaste added inline comments to D55750: sigreturn.2: refresh the man page.
Mon, Mar 9, 1:20 PM
emaste accepted D55739: linuxkpi: Define `MIN_T()` and `MAX_T()`.
Mon, Mar 9, 1:13 AM
emaste accepted D55732: linuxkpi: Add mising functions in <linux/kmsg_dump.h>.
Mon, Mar 9, 1:11 AM
emaste accepted D55176: linuxkpi: Handle bin attributes in sysfs attribute groups.
Mon, Mar 9, 1:09 AM
emaste added a comment to D55750: sigreturn.2: refresh the man page.

A couple of grammar edits which I hope are correct and clarify things

Mon, Mar 9, 1:09 AM

Sun, Mar 8

emaste added inline comments to D55729: linuxkpi: Add `strtomem()` and `strtomem_pad()`.
Sun, Mar 8, 3:50 PM
emaste added inline comments to D55732: linuxkpi: Add mising functions in <linux/kmsg_dump.h>.
Sun, Mar 8, 3:47 PM
emaste added inline comments to D55730: linuxkpi: Move `_RET_IP_` to <linux/instruction_pointer.h>.
Sun, Mar 8, 3:40 PM
emaste accepted D55734: linuxkpi: Define `PMD_SHIFT`.

I don't really like this being done for x86 only, but I'd rather have it at least here for now and we can follow up with other architectures

Sun, Mar 8, 3:38 PM
emaste added inline comments to D55733: linuxkpi: Define `CONFIG_PGTABLE_LEVELS`.
Sun, Mar 8, 3:34 PM
emaste added a comment to D55739: linuxkpi: Define `MIN_T()` and `MAX_T()`.

I think we want ()s
Considering uses like MIN_T(int, a - b, a + b)

Sun, Mar 8, 3:31 PM
emaste accepted D55731: linuxkpi: Define `_THIS_IP_`.

See also https://github.com/llvm/llvm-project/issues/138272

Sun, Mar 8, 3:29 PM
emaste accepted D55740: linuxkpi: Define missing `SZ_*` below 1 kib.

These seem a bit silly (shrug)

Sun, Mar 8, 3:24 PM
emaste accepted D55738: linuxkpi: Document why <linux/pci.h> can't include <linux/ioport.h>.
Sun, Mar 8, 3:22 PM
emaste accepted D55736: linuxkpi: Add <linux/mfd/core.h>.
Sun, Mar 8, 3:22 PM
emaste accepted D55735: linuxkpi: Add <linux/linux_logo.h>.
Sun, Mar 8, 3:20 PM
emaste accepted D55730: linuxkpi: Move `_RET_IP_` to <linux/instruction_pointer.h>.
Sun, Mar 8, 3:19 PM
emaste added a comment to D55176: linuxkpi: Handle bin attributes in sysfs attribute groups.

A couple of lines maybe need wrapping though

Sun, Mar 8, 3:10 PM
emaste accepted D55176: linuxkpi: Handle bin attributes in sysfs attribute groups.
Sun, Mar 8, 3:07 PM
emaste committed rGcf37f9ed8271: options: describe WITH_IPFILTER_IPFS (authored by brooks).
options: describe WITH_IPFILTER_IPFS
Sun, Mar 8, 1:07 PM
emaste committed rGb971d4a17a95: src.conf.5: regen documenting WITH_IPFILTER_IPFS (authored by brooks).
src.conf.5: regen documenting WITH_IPFILTER_IPFS
Sun, Mar 8, 1:07 PM
emaste committed rG9712b5e4b58b: elf_common.h: Add AArch64 Memtag ABI constants (authored by emaste).
elf_common.h: Add AArch64 Memtag ABI constants
Sun, Mar 8, 12:58 PM

Fri, Mar 6

emaste updated the diff for D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

Make a new usr.bin/clang/toolchain/Makefile to put the LLVM binutils symlinks in the toolchain package when LLVM_BINUTILS is set.

Fri, Mar 6, 7:47 PM
emaste updated the diff for D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.

Use relative not absolute symlinks

Fri, Mar 6, 7:37 PM
emaste added a comment to D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.

Oh we should probably drop the ${BINDIR} from the link targets

Fri, Mar 6, 6:40 PM
emaste planned changes to D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

As discussed w/ @ivy, I think the better path is to:

  1. Move the unprefixed links to SYMLINKS
  2. Move the unprefixed symlinks into their own Makefile with PACKAGE=toolchain (prefixed tools will move back to the clang package).
  3. Add a conditional dependency to the toolchain package on clang
Fri, Mar 6, 6:10 PM
emaste added a comment to D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.
In D55693#1274557, @dim wrote:

I'm fine with this, but what is the motivation? Easier packaging?

Fri, Mar 6, 6:06 PM
emaste updated subscribers of D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.
Fri, Mar 6, 6:05 PM
emaste added a comment to D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

what do you think?

Fri, Mar 6, 6:04 PM
emaste updated the diff for D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.

SYMLINK to the correct llvm-prefixed tool

Fri, Mar 6, 6:02 PM
emaste requested review of D55693: llvm-*: Use SYMLINKS for unprefixed LLVM tools, not hard links.
Fri, Mar 6, 5:58 PM
emaste added a comment to D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

Right now c++filt, objcopy, readelf, addr2line are either in the clang or toolchain package, depending on LLVM_BINUTILS.

Fri, Mar 6, 4:07 PM
emaste committed rG88dedd16ba65: llvm-cxxfilt: Install as c++filt only with LLVM_BINUTILS (authored by emaste).
llvm-cxxfilt: Install as c++filt only with LLVM_BINUTILS
Fri, Mar 6, 3:53 PM
emaste added a comment to D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

one way i think this could cause problems is once we add pkgbase depends support to ports. say there's a port that specifically requires "llvm-objcopy", which package should it depend on to get that?

Fri, Mar 6, 3:44 PM
emaste added a comment to D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

i'm not sure if i like this; it seems odd that the same binary can move between packages like that. is the rationale here to avoid bringing in LLVM libraries as a dependency of toolchain when LLVM_BINUTILS is disabled?

Fri, Mar 6, 3:39 PM
emaste added reviewers for D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package: ivy, brooks.
Fri, Mar 6, 3:27 PM
emaste updated the diff for D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.

Fix up llvm-cxxfilt

Fri, Mar 6, 3:26 PM
emaste requested review of D55692: llvm-*: Move LLVM_BINUTILS toosl to toolchain package.
Fri, Mar 6, 3:23 PM
emaste committed rG42e4df8b8531: usr.bin: Exclude ELF Tool Chain cxxfilt build (authored by emaste).
usr.bin: Exclude ELF Tool Chain cxxfilt build
Fri, Mar 6, 2:52 PM
emaste updated subscribers of D55678: krb5, kerberos5: Remove no-undefined linker option.

Oh I see @delphij fixed the build in 8dd28e13e41b6200e58d6e99981ff8323cff3711

Fri, Mar 6, 1:43 PM
emaste added a comment to D55678: krb5, kerberos5: Remove no-undefined linker option.

I observed the same failure with 9cea0f0be79d reverted and am trying to figure out where this came from.

Fri, Mar 6, 1:36 PM

Thu, Mar 5

emaste committed rGb302ca6801dd: lesspipe: Allow zstd to operate on a symlink (authored by emaste).
lesspipe: Allow zstd to operate on a symlink
Thu, Mar 5, 11:58 PM
emaste committed rG68125692efac: lesspipe: Allow zstd to operate on a symlink (authored by emaste).
lesspipe: Allow zstd to operate on a symlink
Thu, Mar 5, 11:56 PM
emaste added a comment to D55676: build: Stop testing LINKER_FEATURES for ifunc and build-.

Would it make sense to test this somewhere on top level, and refuse to start the buildworld and buildkernel?

Thu, Mar 5, 11:25 PM
emaste added a comment to D55678: krb5, kerberos5: Remove no-undefined linker option.

krb5 build failures have been occurring for a while afaik, e.g. PR293258? 9cea0f0be79d should be a no-op since the now-removed (portions of) if conditions were always true .if ${${X_}LINKER_TYPE} != "bfd" || ${${X_}LINKER_VERSION} > 21750 and the part of .if ${${X_}LINKER_TYPE} == "bfd" && ${${X_}LINKER_VERSION} > 21750 after &&

Thu, Mar 5, 11:07 PM
emaste added a comment to D55176: linuxkpi: Handle bin attributes in sysfs attribute groups.

I've reverted d99f16276e06736ceff9ea3ae5a1ac09135bcfdc for now. Let's get this change fixed up and in to src and we can then reapply it.

Thu, Mar 5, 8:11 PM
emaste closed D55674: bsd.linker.mk: Retire support for binutils 2.17.50.
Thu, Mar 5, 8:02 PM
emaste committed rG9cea0f0be79d: bsd.linker.mk: Retire support for binutils 2.17.50 (authored by emaste).
bsd.linker.mk: Retire support for binutils 2.17.50
Thu, Mar 5, 8:02 PM
emaste closed D54942: netinet6: Remove support for connecting to IN6ADDR_ANY.
Thu, Mar 5, 7:58 PM
emaste committed rGa1789fa30c0b: netinet6: Remove support for connecting to IN6ADDR_ANY (authored by emaste).
netinet6: Remove support for connecting to IN6ADDR_ANY
Thu, Mar 5, 7:58 PM
emaste requested review of D55677: bsd.linker.mk: Drop build-id and ifunc LINKER_FEATURES.
Thu, Mar 5, 7:20 PM
emaste requested review of D55676: build: Stop testing LINKER_FEATURES for ifunc and build-.
Thu, Mar 5, 7:11 PM
emaste added inline comments to D55674: bsd.linker.mk: Retire support for binutils 2.17.50.
Thu, Mar 5, 7:05 PM
emaste requested review of D55674: bsd.linker.mk: Retire support for binutils 2.17.50.
Thu, Mar 5, 7:04 PM
emaste accepted D55423: Retire GNU diff.
Thu, Mar 5, 2:45 PM
emaste committed rG5d757312ad59: build: Retire LLVM_CXXFILT option (authored by emaste).
build: Retire LLVM_CXXFILT option
Thu, Mar 5, 2:44 PM
emaste closed D55654: build: Retire LLVM_CXXFILT option.
Thu, Mar 5, 2:44 PM

Wed, Mar 4

emaste added a comment to D55655: bsd.linker.mk: Document ifunc, ifunc-noplt, riscv-relaxations features.

I guess that means build-id and ifunc no longer need a feature check and we can count on them being available.

Wed, Mar 4, 8:57 PM
emaste added a comment to D55655: bsd.linker.mk: Document ifunc, ifunc-noplt, riscv-relaxations features.

As an aside, a next step could be to remove .if ${${X_}LINKER_TYPE} != "bfd" || ${${X_}LINKER_VERSION} > 21750 as I think we aren't concerned with BFD ld 2.17.50 any longer.

Wed, Mar 4, 8:55 PM
emaste accepted D55655: bsd.linker.mk: Document ifunc, ifunc-noplt, riscv-relaxations features.
Wed, Mar 4, 8:54 PM
emaste accepted D55656: bsd.linker.mk: Sort list of linker features.
Wed, Mar 4, 8:53 PM
emaste added a comment to D55654: build: Retire LLVM_CXXFILT option.

src.conf.5 will be regenerated upon commit

Wed, Mar 4, 7:20 PM
emaste requested review of D55654: build: Retire LLVM_CXXFILT option.
Wed, Mar 4, 7:19 PM