Page MenuHomeFreeBSD

kevans (Kyle Evans)
User

Projects (9)

User Details

User Since
Oct 2 2015, 1:17 PM (449 w, 4 h)

Recent Activity

Yesterday

kevans added inline comments to D32308: Add a build knob for _FORTIFY_SOURCE.
Thu, May 9, 3:15 AM

Wed, May 8

kevans added inline comments to D45134: Allow -DNO_STRICT_ERE to restore historic regex behavior.
Wed, May 8, 10:30 PM
kevans accepted D45127: bsdinstall: Stop loading cryptodev for ZFS installations.
Wed, May 8, 3:17 PM

Sat, May 4

kevans accepted D45083: arm64: Flush the spintable release address.
Sat, May 4, 5:31 AM
kevans accepted D45082: arm64: Support a shared release for spin-table.
Sat, May 4, 5:30 AM
kevans accepted D45081: am64: Allow cpu.h to be included from assembly.

We have some LOCORE exclusions elsewhere in arm64/include (and even sys/sys) that I think were intended to serve the same purpose, I wonder if those should be made consistent (__ASSEMBLER__ seems more accurate).

Sat, May 4, 5:30 AM

Thu, May 2

kevans added inline comments to D32308: Add a build knob for _FORTIFY_SOURCE.
Thu, May 2, 9:34 PM
kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

Mention what happens to the kernel when SSP is enabled
Enumerate the functions with bounds checking in a fancy table

Thu, May 2, 9:33 PM
kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

Stop making stuff up

Thu, May 2, 6:56 PM
kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

Document stack protections in security(7), xref from the build knobs

Thu, May 2, 6:34 PM
kevans requested review of D45067: caroot: note the source license we extracted from.
Thu, May 2, 5:48 PM
kevans added a comment to D32308: Add a build knob for _FORTIFY_SOURCE.

Ping

Thu, May 2, 4:48 PM
kevans added inline comments to D32306: Import _FORTIFY_SOURCE implementation from NetBSD.
Thu, May 2, 4:47 PM

Wed, May 1

kevans updated the diff for D32306: Import _FORTIFY_SOURCE implementation from NetBSD.

Address review feedback:

Wed, May 1, 4:49 AM

Tue, Apr 30

kevans accepted D41799: beinstall: retire mergemaster support.

The beinstall specific bits LGTM

Tue, Apr 30, 8:04 PM

Mon, Apr 29

kevans accepted D45012: MINIMAL: Grow minimal to support ata, scsi and nvme.
Mon, Apr 29, 3:25 PM
kevans committed rG2a2cc22f517b: script: minor style improvements (authored by xavier.beaudouin_klarasystems.com).
script: minor style improvements
Mon, Apr 29, 5:30 AM
kevans committed rGf224a2ca04ad: script: handle terminal resize on SIGWINCH (authored by kevans).
script: handle terminal resize on SIGWINCH
Mon, Apr 29, 5:30 AM
kevans committed rGfb4c7bf8ac2d: script: minor style improvements (authored by xavier.beaudouin_klarasystems.com).
script: minor style improvements
Mon, Apr 29, 5:30 AM
kevans committed rG2c24df87e3f8: script: handle terminal resize on SIGWINCH (authored by kevans).
script: handle terminal resize on SIGWINCH
Mon, Apr 29, 5:29 AM
kevans added inline comments to D32306: Import _FORTIFY_SOURCE implementation from NetBSD.
Mon, Apr 29, 5:25 AM

Sat, Apr 27

kevans updated the diff for D32306: Import _FORTIFY_SOURCE implementation from NetBSD.

Add SPDX tags

Sat, Apr 27, 4:44 AM
kevans added inline comments to D32306: Import _FORTIFY_SOURCE implementation from NetBSD.
Sat, Apr 27, 4:29 AM

Fri, Apr 26

kevans committed rG4459abe334eb: script: minor style improvements (authored by xavier.beaudouin_klarasystems.com).
script: minor style improvements
Fri, Apr 26, 4:40 PM
kevans committed rG8ceac8e13dcc: script: handle terminal resize on SIGWINCH (authored by kevans).
script: handle terminal resize on SIGWINCH
Fri, Apr 26, 4:40 PM
kevans closed D44167: script: handle terminal resize on SIGSWINCH.
Fri, Apr 26, 4:39 PM
kevans updated the diff for D44167: script: handle terminal resize on SIGSWINCH.

Address review feedback

Fri, Apr 26, 4:35 PM
kevans updated the diff for D44167: script: handle terminal resize on SIGSWINCH.

Do signal handling to avoid races, other small fixes (-w to manpage, drop in some assertionsabout fm_fd to make sure it's set / unset when we expect it to be)

Fri, Apr 26, 4:18 PM
kevans retitled D44167: script: handle terminal resize on SIGSWINCH from script: Handle terminal resize on SIGSWINCH to script: handle terminal resize on SIGSWINCH.
Fri, Apr 26, 4:17 PM
kevans commandeered D44167: script: handle terminal resize on SIGSWINCH.
Fri, Apr 26, 4:17 PM
kevans updated the diff for D32306: Import _FORTIFY_SOURCE implementation from NetBSD.

Fix some nits
Switch to copound statements to avoid double evaluation

Fri, Apr 26, 7:21 AM

Thu, Apr 25

kevans committed rG9245ced9c835: release: remove the RPI CM4s .dtb (authored by kevans).
release: remove the RPI CM4s .dtb
Thu, Apr 25, 10:13 PM
kevans added a comment to D32306: Import _FORTIFY_SOURCE implementation from NetBSD.
In D32306#1024959, @kib wrote:

So overall this stuff is in principle incompatible with the code like memcmp(*a++, *b++, XXX) ?

Thu, Apr 25, 7:58 PM
kevans added a comment to D32308: Add a build knob for _FORTIFY_SOURCE.

do we have user-facing documentation? maybe just expanding WITHOUT_SSP's description?

Thu, Apr 25, 6:39 PM
kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

Amend WITH_SSP/WITHOUT_SSP descriptions with a note about FORTIFY_SOURCE

Thu, Apr 25, 6:36 PM
kevans accepted D44957: tftpd: Immediately reject any request shorter than 4 bytes..
Thu, Apr 25, 6:33 PM
kevans accepted D44957: tftpd: Immediately reject any request shorter than 4 bytes..
Thu, Apr 25, 6:00 PM
kevans added inline comments to D32308: Add a build knob for _FORTIFY_SOURCE.
Thu, Apr 25, 5:51 PM
kevans accepted D44957: tftpd: Immediately reject any request shorter than 4 bytes..
Thu, Apr 25, 5:47 PM
kevans accepted D44956: tftpd: Check the server status after each test..
Thu, Apr 25, 5:46 PM
kevans accepted D44955: tftpd: Clean up the tests..
Thu, Apr 25, 5:45 PM
kevans accepted D44954: tftpd: Use `size_t` where appropriate..
Thu, Apr 25, 5:44 PM
kevans added a comment to D32308: Add a build knob for _FORTIFY_SOURCE.

Ping

Thu, Apr 25, 4:41 PM
kevans added inline comments to D44944: daemon: Add -C (--restart-count) option.
Thu, Apr 25, 3:32 PM
kevans committed rG60a4a8532b74: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Thu, Apr 25, 4:02 AM
kevans committed rG7c3092e343c3: ahc(4)/ahd(4): fix target mode on ARM (authored by kevans).
ahc(4)/ahd(4): fix target mode on ARM
Thu, Apr 25, 4:01 AM
kevans committed rGfac45b6b9a58: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Thu, Apr 25, 4:01 AM
kevans committed rGcef3d542b700: ahc(4)/ahd(4): fix target mode on ARM (authored by kevans).
ahc(4)/ahd(4): fix target mode on ARM
Thu, Apr 25, 4:01 AM

Mon, Apr 22

kevans added a reviewer for D32308: Add a build knob for _FORTIFY_SOURCE: Klara.
Mon, Apr 22, 7:23 PM
kevans added a reviewer for D32307: Prepare the system for _FORTIFY_SOURCE: Klara.
Mon, Apr 22, 7:22 PM
kevans added a comment to D32307: Prepare the system for _FORTIFY_SOURCE.
In D32307#1023676, @imp wrote:

I think a rebase is in order... this diff is picking up a lot of "noise" that have nothing to do with fortify....

Mon, Apr 22, 7:22 PM
kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

defined(X) && X > 0 -> X

Mon, Apr 22, 4:47 AM
kevans updated the diff for D32307: Prepare the system for _FORTIFY_SOURCE.

Just undefine gets unconditionally, note with a comment why

Mon, Apr 22, 4:42 AM
kevans added inline comments to D32307: Prepare the system for _FORTIFY_SOURCE.
Mon, Apr 22, 4:37 AM

Sun, Apr 21

kevans committed rG9dcf39575efb: ahc(4)/ahd(4): fix target mode on ARM (authored by kevans).
ahc(4)/ahd(4): fix target mode on ARM
Sun, Apr 21, 3:06 AM
kevans closed D44860: ahc(4)/ahd(4): fix target mode on ARM.
Sun, Apr 21, 3:06 AM
kevans committed rGb5e0cc2fa44f: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Sun, Apr 21, 3:06 AM
kevans closed D44859: ahc(4): resolve some minor nits.
Sun, Apr 21, 3:06 AM

Fri, Apr 19

kevans requested review of D44860: ahc(4)/ahd(4): fix target mode on ARM.
Fri, Apr 19, 2:06 AM
kevans requested review of D44859: ahc(4): resolve some minor nits.
Fri, Apr 19, 2:06 AM

Wed, Apr 17

kevans committed rG1e2be096d425: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Wed, Apr 17, 5:51 AM
kevans committed rGa871d0f13c56: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Wed, Apr 17, 5:49 AM

Tue, Apr 16

kevans accepted D44801: arm_kernel_bothdr.awk: Update to latest ota.

Looks sensible to me

Tue, Apr 16, 7:02 AM

Mon, Apr 15

kevans updated the diff for D32308: Add a build knob for _FORTIFY_SOURCE.

Drop read() declaration avoidance; whatever was causing problems before, I
cannot reproduce it today.

Mon, Apr 15, 7:48 PM
kevans updated the diff for D32307: Prepare the system for _FORTIFY_SOURCE.
  • Remove include that was shadily added that doesn't seem to be needed now
  • Don't break with __RENAME() use unless it's used
Mon, Apr 15, 7:47 PM
kevans accepted D44797: freebsd-update(8): Use kern.module_path.

Thanks!

Mon, Apr 15, 4:10 PM
kevans added inline comments to D44797: freebsd-update(8): Use kern.module_path.
Mon, Apr 15, 3:10 PM
kevans added a comment to D32306: Import _FORTIFY_SOURCE implementation from NetBSD.
In D32306#833118, @imp wrote:

I think this is fine, modulo notes about its completeness, but I'm OK with that and it's not bad.

Mon, Apr 15, 4:19 AM

Sun, Apr 14

kevans committed rGbbc6e6c5ec8c: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Sun, Apr 14, 3:14 AM

Apr 3 2024

kevans accepted D44599: tarfs: Support paths that spill into exthdrs..
Apr 3 2024, 4:48 AM
kevans accepted D44600: tarfs: Ignore global extended headers..
Apr 3 2024, 4:36 AM

Apr 1 2024

kevans accepted D44582: wg: Use ENETUNREACH when transmitting to a non-existent peer.
Apr 1 2024, 4:01 PM
kevans accepted D44578: cp: Never follow symbolic links in destination..
Apr 1 2024, 3:29 PM
kevans accepted D44578: cp: Never follow symbolic links in destination..
Apr 1 2024, 2:28 PM
kevans accepted D44577: cp: Improved conformance when copying directories..
Apr 1 2024, 2:27 PM
kevans accepted D44576: cp: Correct the list of non-portable flags..
Apr 1 2024, 2:25 PM

Mar 27 2024

kevans added a reviewer for D44520: hvsock: remove useless casts, checks & functions: whu.

I'd add whu@ on these reviews as well, for hvsock in particular

Mar 27 2024, 3:09 PM

Mar 25 2024

kevans accepted D44471: sleep: Overhaul..
Mar 25 2024, 3:41 PM
kevans accepted D44471: sleep: Overhaul..
Mar 25 2024, 3:33 PM

Mar 22 2024

kevans committed rG590e02d3c088: if_wg: use proper barriers around pkt->p_state (authored by kevans).
if_wg: use proper barriers around pkt->p_state
Mar 22 2024, 6:40 PM
kevans committed rG806e51f81dba: if_wg: use proper barriers around pkt->p_state (authored by kevans).
if_wg: use proper barriers around pkt->p_state
Mar 22 2024, 6:40 PM

Mar 21 2024

kevans committed rG6b3db5d7793f: libsysdecode: fix build after 3d0a736796a9 (authored by kevans).
libsysdecode: fix build after 3d0a736796a9
Mar 21 2024, 3:17 AM

Mar 18 2024

kevans committed rG97bfe58ddc60: crunchgen: slap a dependency on the generated makefile for .lo (authored by kevans).
crunchgen: slap a dependency on the generated makefile for .lo
Mar 18 2024, 3:53 PM
kevans committed rGefb74e16ddc0: libsysdecode: add a decoder for pollfd events (authored by kevans).
libsysdecode: add a decoder for pollfd events
Mar 18 2024, 3:53 PM
kevans committed rG160788caa3c9: ktrace: log genio events on failed write (authored by kevans).
ktrace: log genio events on failed write
Mar 18 2024, 3:53 PM
kevans committed rGb983d4f63cb5: kdump: decode pollfd struct arrays coming from poll(2) (authored by kevans).
kdump: decode pollfd struct arrays coming from poll(2)
Mar 18 2024, 3:53 PM
kevans committed rG416547ba79c3: kern: poll: tap out the pollfd array on successful return (authored by kevans).
kern: poll: tap out the pollfd array on successful return
Mar 18 2024, 3:53 PM
kevans committed rGa7b90458a293: rtld: add some dlopen tests (authored by kevans).
rtld: add some dlopen tests
Mar 18 2024, 3:53 PM
kevans added a comment to D44401: daemon(8): handle case of waitpid() returning without exited child.

Oh, return () style differs here

Mar 18 2024, 2:42 PM
kevans accepted D44401: daemon(8): handle case of waitpid() returning without exited child.
Mar 18 2024, 2:41 PM
kevans accepted D44407: libbe: Fix some markup issues..
Mar 18 2024, 1:36 PM
kevans accepted D44406: bectl: Simplify command aliases..
Mar 18 2024, 1:35 PM
kevans accepted D44405: bectl: Use geopt() and drop mention of -?..
Mar 18 2024, 1:35 PM
kevans committed rG79a095fa8a66: crunchgen: slap a dependency on the generated makefile for .lo (authored by kevans).
crunchgen: slap a dependency on the generated makefile for .lo
Mar 18 2024, 3:42 AM
kevans committed rG7e9323311117: rtld: add some dlopen tests (authored by kevans).
rtld: add some dlopen tests
Mar 18 2024, 3:42 AM

Mar 15 2024

kevans committed rG3705d679a634: if_wg: use proper barriers around pkt->p_state (authored by kevans).
if_wg: use proper barriers around pkt->p_state
Mar 15 2024, 1:26 AM
kevans closed D44283: if_wg: use proper barriers around pkt->p_state.
Mar 15 2024, 1:26 AM

Mar 12 2024

kevans added a comment to D44200: tun(4)/tap(4): allow devices to be configured as transient.

So, with D44307 in, you can add this:

static struct if_clone *
tuntap_cloner_from_flags(int tun_flags)
{
 
        for (u_int i = 0; i < NDRV; i++)
                if ((tun_flags & TUN_DRIVER_IDENT_MASK) ==
                    tuntap_drivers[i].ident_flags)
                        return (V_tuntap_driver_cloners[i]);
 
        return (NULL);
}

And then call

if_clone_destroyif(tuntap_cloner_from_flags(flags), ifp);

This of course won't cover the problematic traveling case. To cover that, you'd need to:

CURVNET_SET_QUIET(ifp->if_home_vnet);
cloner = tuntap_cloner_from_flags(flags)
CURVNET_RESTORE();
if_clone_destroyif(cloner, ifp);
Mar 12 2024, 5:36 AM
kevans accepted D44307: if_tuntap: simplify storage of per-vnet cloners.

Nice, thanks. I think at one point I thought I might have something else worth adding to struct tuntap_driver_cloner, but if it hasn't happened in the intervening 5 years then I think it's safe to say that it's not going to happen.

Mar 12 2024, 5:31 AM
kevans added inline comments to D44283: if_wg: use proper barriers around pkt->p_state.
Mar 12 2024, 5:04 AM