Page MenuHomeFreeBSD

markj (Mark Johnston)
User

Projects (10)

User Details

User Since
Mar 12 2014, 1:00 AM (604 w, 5 d)

Recent Activity

Today

markj added inline comments to D53062: imgact: Mark brandinfo and note structures as const.
Mon, Oct 13, 4:32 PM
markj added inline comments to D53062: imgact: Mark brandinfo and note structures as const.
Mon, Oct 13, 4:14 PM
markj added a reviewer for D52526: cross-build: fix bootstrap with clang 19 on glibc systems: krb5.
Mon, Oct 13, 3:18 PM
markj added inline comments to D53062: imgact: Mark brandinfo and note structures as const.
Mon, Oct 13, 3:17 PM
markj added inline comments to D52045: Copy kqueues into the child on fork.
Mon, Oct 13, 2:21 PM
markj requested review of D53069: libnv: Fix a length check in nvpair_unpack_string_array().
Mon, Oct 13, 1:44 PM
markj added a comment to D53062: imgact: Mark brandinfo and note structures as const.

Do they get placed in rodata with the change?

Mon, Oct 13, 1:32 PM
markj requested review of D53068: ipfw: Check for errors from sooptcopyin() and sooptcopyout().
Mon, Oct 13, 1:25 PM
markj added a comment to D53062: imgact: Mark brandinfo and note structures as const.

Also I think the commit message ought to reference any changes in ELF sections containing these.

Mon, Oct 13, 1:21 PM
markj requested review of D53066: netmap: Fix error handling in nm_os_extmem_create().
Mon, Oct 13, 1:02 PM
markj requested review of D53065: exec: Check for errors when mapping the shared object.
Mon, Oct 13, 12:54 PM
markj requested review of D53063: imgact_elf: Check note body sizes.
Mon, Oct 13, 12:41 PM
markj requested review of D53062: imgact: Mark brandinfo and note structures as const.
Mon, Oct 13, 12:41 PM

Sat, Oct 11

markj committed rG146b7bb2a111: netstat: Fix -ia missing multicast addresses on some interfaces (authored by Nick Reilly <nreilly@qnx.com>).
netstat: Fix -ia missing multicast addresses on some interfaces
Sat, Oct 11, 3:23 PM
markj committed rG54a72bbaee2e: netstat: Fix -ia missing multicast addresses on some interfaces (authored by Nick Reilly <nreilly@qnx.com>).
netstat: Fix -ia missing multicast addresses on some interfaces
Sat, Oct 11, 3:23 PM

Fri, Oct 10

markj accepted D53026: realpath: Avoid doing unnecessary work.
In D53026#1211680, @des wrote:

The only case in which the userland implementation would return a different error than the system call is if we are racing against someone modifying the hierarchy we are traversing

How do you know this? It seems possible that there are some corner cases which __realpathat() simply doesn't handle.

Such as?

Fri, Oct 10, 11:58 PM
markj accepted D53027: realpath: Belatedly document POSIX conformance.
Fri, Oct 10, 7:20 PM
markj added a comment to D53026: realpath: Avoid doing unnecessary work.

The only case in which the userland implementation would return a different error than the system call is if we are racing against someone modifying the hierarchy we are traversing

Fri, Oct 10, 7:20 PM
markj accepted D53024: realpath: Additional test cases.
Fri, Oct 10, 7:18 PM
markj accepted D53025: realpath: Report correct path on failure.
Fri, Oct 10, 7:14 PM
markj added inline comments to D53026: realpath: Avoid doing unnecessary work.
Fri, Oct 10, 7:03 PM
markj committed rGf66bb825f589: vmstat: Print the number of wired pages in each object (authored by markj).
vmstat: Print the number of wired pages in each object
Fri, Oct 10, 1:30 PM
markj committed rGffca0c44ffe8: vm_object: Export the number of wired pages in vm_object_list_handler() (authored by markj).
vm_object: Export the number of wired pages in vm_object_list_handler()
Fri, Oct 10, 1:30 PM
markj committed rG13d866b314f8: vm_object: Reset kvo_path on each iteration in vm_object_list_handler() (authored by markj).
vm_object: Reset kvo_path on each iteration in vm_object_list_handler()
Fri, Oct 10, 1:30 PM
markj closed D53008: vm_object: Export the number of wired pages in vm_object_list_handler().
Fri, Oct 10, 1:29 PM
markj closed D52997: vm_object: Reset kvo_path on each iteration in vm_object_list_handler().
Fri, Oct 10, 1:29 PM
markj closed D53013: vmm: Remove some unused macros.
Fri, Oct 10, 1:26 PM
markj committed rG642c763a9ad1: vmm: Remove some unused macros (authored by markj).
vmm: Remove some unused macros
Fri, Oct 10, 1:25 PM
markj committed rG059b0b704663: vmm: Move the guest vmspace into the generic vm_mem structure (authored by markj).
vmm: Move the guest vmspace into the generic vm_mem structure
Fri, Oct 10, 1:25 PM
markj committed rGe9182981f7fe: vmm: Make vmmops declarations more consistent (authored by markj).
vmm: Make vmmops declarations more consistent
Fri, Oct 10, 1:25 PM
markj closed D53012: vmm: Move the guest vmspace into the generic vm_mem structure.
Fri, Oct 10, 1:25 PM
markj committed rG756fa1c09673: vmm: Unify implementations of vcpu_cleanup() (authored by markj).
vmm: Unify implementations of vcpu_cleanup()
Fri, Oct 10, 1:25 PM
markj closed D53011: vmm: Make vmmops declarations more consistent.
Fri, Oct 10, 1:25 PM
markj closed D53010: vmm: Unify implementations of vcpu_cleanup().
Fri, Oct 10, 1:25 PM
markj accepted D53019: virtual_oss: Clean up rcorder.
Fri, Oct 10, 1:06 PM

Thu, Oct 9

markj requested review of D53013: vmm: Remove some unused macros.
Thu, Oct 9, 11:12 PM
markj requested review of D53012: vmm: Move the guest vmspace into the generic vm_mem structure.
Thu, Oct 9, 11:12 PM
markj requested review of D53011: vmm: Make vmmops declarations more consistent.
Thu, Oct 9, 11:12 PM
markj requested review of D53010: vmm: Unify implementations of vcpu_cleanup().
Thu, Oct 9, 11:11 PM
markj accepted D52983: nullfs: add nounixbypass mount option.
Thu, Oct 9, 10:43 PM
markj added inline comments to D52983: nullfs: add nounixbypass mount option.
Thu, Oct 9, 10:10 PM
markj requested review of D53008: vm_object: Export the number of wired pages in vm_object_list_handler().
Thu, Oct 9, 10:02 PM
markj added a comment to D52983: nullfs: add nounixbypass mount option.
In D52983#1210842, @kib wrote:

This should be documented in mount_nullfs.8. The implementation looks ok to me.

I will after the patch is finalized.

The name sounds a bit strange to me. The mount_nullfs terminology explains what "bypass" means, but it's still a bit unclear IMO. What do you think about unix_private, nounix_private?

For me, 'private' is worse. What exactly is the scope where the socket becomes private? People would think about jails or whatever namespace restriction they intend, but not the pass from upper to lower.
I can rename user-visible option to unixbypass e.g.

Thu, Oct 9, 8:37 PM
markj updated the diff for D52997: vm_object: Reset kvo_path on each iteration in vm_object_list_handler().

Just clear the whole struct

Thu, Oct 9, 8:36 PM
markj requested review of D53001: certctl.8: Update documentation of BUNDLE.
Thu, Oct 9, 7:03 PM
markj updated the diff for D52997: vm_object: Reset kvo_path on each iteration in vm_object_list_handler().

Clear a couple of other fields.

Thu, Oct 9, 4:01 PM
markj requested review of D52997: vm_object: Reset kvo_path on each iteration in vm_object_list_handler().
Thu, Oct 9, 4:00 PM
markj committed R11:60334f077945: sysutils/amazon-ssm-agent: Use pw(8)'s new metalog feature (authored by markj).
sysutils/amazon-ssm-agent: Use pw(8)'s new metalog feature
Thu, Oct 9, 1:48 PM
markj accepted D52733: vm_domainset: Ensure round-robin works properly.
Thu, Oct 9, 1:31 PM
markj added a comment to D52983: nullfs: add nounixbypass mount option.

This should be documented in mount_nullfs.8. The implementation looks ok to me.

Thu, Oct 9, 1:15 PM
markj accepted D52985: compat: linux: use appropriate variables for copying out old timers.
Thu, Oct 9, 12:57 PM

Wed, Oct 8

markj added inline comments to D52946: x86: Allow MCA messages to be rate-limited.
Wed, Oct 8, 4:01 PM
markj accepted D52946: x86: Allow MCA messages to be rate-limited.

Seems ok to me.

Wed, Oct 8, 3:40 PM
markj added a comment to D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.

That would probably work too, assuming that all the versions of clang we care about have __has_builtin as well. At a glance that seems to be the case.

Certainly. I don't think we care about things before 15, probably closer to 17. I wasn't able to determine when __has_builtin was added, but there was an issue with non-function-like builtins fixed in 10 and these are function-like so were fine even then.

What's wrong with simply redefining __GNUC_PREREQ__ here though?

It's a GNUism and pretty meaningless on with clang (which pretends to be GCC 4.2.1).

I'm also a little confused as to where __GNUC_PREREQ__ came from when all the references I can find online are to __GNUC_PREREQ (no trailing __).

Wed, Oct 8, 3:36 PM
markj committed rGe63bf6aa523e: cryptocheck: Be friendlier when testing software crypto backends (authored by markj).
cryptocheck: Be friendlier when testing software crypto backends
Wed, Oct 8, 3:25 PM
markj closed D52490: cryptocheck: Be friendlier when testing software crypto backends.
Wed, Oct 8, 3:25 PM
markj added inline comments to D52946: x86: Allow MCA messages to be rate-limited.
Wed, Oct 8, 3:21 PM
markj committed rG79042fd7ed41: tests/mac_ipacl: restore sysctls after modification (authored by guest-svmhdvn).
tests/mac_ipacl: restore sysctls after modification
Wed, Oct 8, 3:08 PM
markj committed rG170aac934794: tests/mac_portacl: restore sysctls after modification (authored by guest-svmhdvn).
tests/mac_portacl: restore sysctls after modification
Wed, Oct 8, 3:08 PM
markj accepted D12278: x86: support sending non-fatal MCA messages to syslog.
Wed, Oct 8, 2:58 PM
markj added inline comments to D52946: x86: Allow MCA messages to be rate-limited.
Wed, Oct 8, 2:56 PM
markj added a comment to D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.

Could we not just swap the order of the checks in stdckdint.h so clang never evaluates __GNUC_PREREQ__? We're already requiring at least an always-false __has_builtin in the next section in cdefs.h.

That being said I don't think we care about except in the most abstract sense about gcc 9 support for a C23 header.

Wed, Oct 8, 2:24 PM
markj added a comment to D52441: uma_core: Rely on domainset iterator to wait on M_WAITOK.

I'm ok with this change landing.

Wed, Oct 8, 2:14 PM
markj added a comment to D52733: vm_domainset: Ensure round-robin works properly.

Actually, it's vm_thread_stack_create() that I had in mind. I fail to see any locking here.

Wed, Oct 8, 2:08 PM
markj requested review of D52982: kstack: Fix iterator usage in vm_thread_stack_create().
Wed, Oct 8, 2:04 PM
markj committed rGae6db60ff56d: rc: Update dependencies for zpool scripts (authored by markj).
rc: Update dependencies for zpool scripts
Wed, Oct 8, 1:02 PM
markj committed rG04d47c7cde54: rc tests: Add a test to check for warnings from rcorder (authored by markj).
rc tests: Add a test to check for warnings from rcorder
Wed, Oct 8, 1:02 PM
markj closed D52954: rc tests: Add a test to check for warnings from rcorder.
Wed, Oct 8, 1:02 PM
markj closed D52953: rc: Update dependencies for zpool scripts.
Wed, Oct 8, 1:02 PM
markj committed rG53ab85a55408: cross-build: Define __GNUC_PREREQ__ in cdefs.h (authored by markj).
cross-build: Define __GNUC_PREREQ__ in cdefs.h
Wed, Oct 8, 1:02 PM
markj closed D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.
Wed, Oct 8, 1:02 PM
markj closed D52932: tools/build: Bring in stdckdint.h if needed.
Wed, Oct 8, 1:02 PM
markj committed rG687cb66411c7: tools/build: Bring in stdckdint.h if needed (authored by markj).
tools/build: Bring in stdckdint.h if needed
Wed, Oct 8, 1:02 PM
markj committed rGb464c7a75e30: pw: pw_mkdb(3) does not set errno (authored by markj).
pw: pw_mkdb(3) does not set errno
Wed, Oct 8, 1:02 PM

Tue, Oct 7

markj added inline comments to D12278: x86: support sending non-fatal MCA messages to syslog.
Tue, Oct 7, 8:26 PM
markj accepted D52744: atomic.9: provide fine details about CAS memory model MD semantic.
Tue, Oct 7, 8:18 PM
markj added inline comments to D52781: sys/amd64/vmm: fix Windows 11 deadlock.
Tue, Oct 7, 8:14 PM
markj requested review of D52968: vmm: My attempt at fixing the rendezvous deadlock.
Tue, Oct 7, 8:13 PM
markj accepted D52909: sys: move sys/kern/md[45].c to sys/crypto.
Tue, Oct 7, 7:12 PM
markj updated the diff for D52954: rc tests: Add a test to check for warnings from rcorder.

Don't test /usr/local/etc/rc.d/*

Tue, Oct 7, 4:15 PM
markj updated the diff for D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.

Apply Warner's suggestion.

Tue, Oct 7, 2:55 PM
markj added a comment to D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.

Seems OK, although I wonder if __has_builtin(__builtin_add_overflow) will be true on GCC versions that are still relevant (and we could remove the __GNUC_PREREQ__ from stdckdint.h

Tue, Oct 7, 1:59 PM
markj accepted D52925: fts: Further improve the manual page.
Tue, Oct 7, 1:52 PM
markj added a comment to D52943: x86: print MCAs to the console before MCA initialization.

Note that I am not 100% sure this can actually happen, since I am not 100% sure we will ever enable interrupts before we run mca_setup().

Tue, Oct 7, 1:51 PM
markj accepted D52938: x86: Reduce amount of time the MCA lock is held while emitting records.
Tue, Oct 7, 1:45 PM
markj accepted D52820: arch.7: deprecate __ILP32__ and __LP64__ macros.
Tue, Oct 7, 1:39 PM
markj requested review of D52954: rc tests: Add a test to check for warnings from rcorder.
Tue, Oct 7, 1:22 PM
markj requested review of D52953: rc: Update dependencies for zpool scripts.
Tue, Oct 7, 1:22 PM
markj committed rGf459a2ef73b7: release: Set INSTALL_AS_USER=yes when running pkg clean in NO_ROOT mode (authored by markj).
release: Set INSTALL_AS_USER=yes when running pkg clean in NO_ROOT mode
Tue, Oct 7, 12:57 AM
markj committed rG9bb0282097ef: release: Complete NO_ROOTification of Vagrant builds (authored by markj).
release: Complete NO_ROOTification of Vagrant builds
Tue, Oct 7, 12:57 AM

Mon, Oct 6

markj closed D52429: libc: Reimplement the *rand48 family of functions.
Mon, Oct 6, 7:22 PM
markj committed rG2ba20004ef76: libc: Reimplement the *rand48 family of functions (authored by markj).
libc: Reimplement the *rand48 family of functions
Mon, Oct 6, 7:22 PM
markj requested review of D52933: cross-build: Define __GNUC_PREREQ__ in cdefs.h.
Mon, Oct 6, 2:09 PM
markj requested review of D52932: tools/build: Bring in stdckdint.h if needed.
Mon, Oct 6, 2:09 PM
markj added inline comments to D52781: sys/amd64/vmm: fix Windows 11 deadlock.
Mon, Oct 6, 1:03 PM
markj accepted D52926: cp: Simplify sameness checks.
Mon, Oct 6, 12:53 PM
markj added inline comments to D52925: fts: Further improve the manual page.
Mon, Oct 6, 12:16 PM
markj accepted D52928: tarfs: Simplify sameness checks.
Mon, Oct 6, 12:02 PM
markj accepted D52927: ln: Simplify sameness checks.
Mon, Oct 6, 12:02 PM
markj added inline comments to D52926: cp: Simplify sameness checks.
Mon, Oct 6, 12:01 PM