Page MenuHomeFreeBSD

kevans (Kyle Evans)
User

Projects (9)

User Details

User Since
Oct 2 2015, 1:17 PM (477 w, 5 d)

Recent Activity

Yesterday

kevans committed rGed4b2d159459: _dl_iterate_phdr_locked(): fix libc and libdl (authored by kib).
_dl_iterate_phdr_locked(): fix libc and libdl
Wed, Nov 27, 1:17 AM

Fri, Nov 22

kevans committed rG7951b4f4f99c: _utmx_op: don't recurse on chain busy (authored by kevans).
_utmx_op: don't recurse on chain busy
Fri, Nov 22, 4:54 AM
kevans committed rG4729bb364293: timedef: remove redundancy in Catalan date_fmt definitions (authored by kevans).
timedef: remove redundancy in Catalan date_fmt definitions
Fri, Nov 22, 4:54 AM
kevans committed rG8ded8a211de0: timedef: remove redundancy in Catalan date_fmt definitions (authored by kevans).
timedef: remove redundancy in Catalan date_fmt definitions
Fri, Nov 22, 4:53 AM
kevans committed rG7c09acc76504: _utmx_op: don't recurse on chain busy (authored by kevans).
_utmx_op: don't recurse on chain busy
Fri, Nov 22, 4:53 AM

Wed, Nov 13

kevans committed rGf660777865fc: _utmx_op: don't recurse on chain busy (authored by kevans).
_utmx_op: don't recurse on chain busy
Wed, Nov 13, 10:19 PM
kevans committed rGa4b7367eb027: timedef: remove redundancy in Catalan date_fmt definitions (authored by kevans).
timedef: remove redundancy in Catalan date_fmt definitions
Wed, Nov 13, 10:13 PM

Tue, Nov 5

kevans committed rG9333e1cbd028: include: ssp: hide ppoll redirect behind __BSD_VISIBLE (authored by kevans).
include: ssp: hide ppoll redirect behind __BSD_VISIBLE
Tue, Nov 5, 2:08 PM
kevans committed rGdb3a524c8a96: bsnmpd: FreeBSD has strlcpy(3) (authored by kevans).
bsnmpd: FreeBSD has strlcpy(3)
Tue, Nov 5, 1:51 PM
kevans committed rG5862c891bb7c: kern: zero out stack buffer after copying out random bits (authored by kevans).
kern: zero out stack buffer after copying out random bits
Tue, Nov 5, 1:51 PM
kevans committed rG7088bf662d46: calendar: don't setlogin(2) in the -a user handlers (authored by kevans).
calendar: don't setlogin(2) in the -a user handlers
Tue, Nov 5, 1:20 PM
kevans committed rG3a9010c98b3d: calendar: don't setlogin(2) in the -a user handlers (authored by kevans).
calendar: don't setlogin(2) in the -a user handlers
Tue, Nov 5, 1:06 PM
kevans committed rG98e1ee23857c: kern: zero out stack buffer after copying out random bits (authored by kevans).
kern: zero out stack buffer after copying out random bits
Tue, Nov 5, 1:03 PM
kevans committed rGfac45b6b9a58: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Tue, Nov 5, 12:52 PM
kevans committed rG1e2be096d425: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Tue, Nov 5, 12:50 PM
kevans committed rG1e8db1f74e42: pkgbase: don't remove the 'latest' symlink until the repo is final (authored by kevans).
pkgbase: don't remove the 'latest' symlink until the repo is final
Tue, Nov 5, 12:47 PM
kevans committed rG33708452aaab: calendar: don't setlogin(2) in the -a user handlers (authored by kevans).
calendar: don't setlogin(2) in the -a user handlers
Tue, Nov 5, 12:13 PM
kevans committed rG1eb62930e736: kern: zero out stack buffer after copying out random bits (authored by kevans).
kern: zero out stack buffer after copying out random bits
Tue, Nov 5, 12:06 PM
kevans committed rG6e824f371301: time: siginfo_recvd needs to be marked volatile (authored by kevans).
time: siginfo_recvd needs to be marked volatile
Tue, Nov 5, 11:43 AM
kevans committed rG60a4a8532b74: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Tue, Nov 5, 11:40 AM
kevans committed rGa871d0f13c56: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Tue, Nov 5, 11:35 AM
kevans committed rG8549e3ce0cd6: pkgbase: don't remove the 'latest' symlink until the repo is final (authored by kevans).
pkgbase: don't remove the 'latest' symlink until the repo is final
Tue, Nov 5, 11:26 AM
kevans added a reverting change for rG536c8d948e85: intrng: change multi-interrupt root support type to enum: rG4b01a7fa76ce: Revert "intrng: change multi-interrupt root support type to enum".
Tue, Nov 5, 11:24 AM
kevans committed rG3360a15898ce: net: route: convert routing statistics to a sysctl (authored by kevans).
net: route: convert routing statistics to a sysctl
Tue, Nov 5, 11:21 AM
kevans committed rGe3953c036f9d: sys: Chase libmd version bump with a __FreeBSD_version bump (authored by kevans).
sys: Chase libmd version bump with a __FreeBSD_version bump
Tue, Nov 5, 10:58 AM
kevans committed rGc25e55bcf80b: include: ssp: hide gets_s behind __EXT1_VISIBLE (authored by kevans).
include: ssp: hide gets_s behind __EXT1_VISIBLE
Tue, Nov 5, 10:58 AM
kevans committed rGc4564a47c1ad: ObsoleteFiles: fix the libmd.so version bump order (authored by kevans).
ObsoleteFiles: fix the libmd.so version bump order
Tue, Nov 5, 10:57 AM
kevans committed rG0ffebeb08ae5: libmd: quickly switch exported symbols to FBSD_1.8 before anyone notices (authored by kevans).
libmd: quickly switch exported symbols to FBSD_1.8 before anyone notices
Tue, Nov 5, 10:56 AM
kevans committed rG6df36deb8bba: boot: update lua linter for recent module additions (authored by kevans).
boot: update lua linter for recent module additions
Tue, Nov 5, 10:26 AM
kevans committed rGd349bd35330d: shutdown: fix option sorting (authored by kevans).
shutdown: fix option sorting
Tue, Nov 5, 10:22 AM
kevans committed rG6cb8b61efe88: calendar: don't setlogin(2) in the -a user handlers (authored by kevans).
calendar: don't setlogin(2) in the -a user handlers
Tue, Nov 5, 10:21 AM
kevans committed rG8f77be22904a: mitigations(7): note that FORTIFY_SOURCE must be set in the env (authored by kevans).
mitigations(7): note that FORTIFY_SOURCE must be set in the env
Tue, Nov 5, 10:14 AM
kevans committed rG9a3f7fb46c93: include: ssp: fix last bare `inline` (authored by kevans).
include: ssp: fix last bare `inline`
Tue, Nov 5, 10:11 AM
kevans committed rG4928dcc0ebdb: sys/select.h: const'ify the fd_set that __fdset_idx() takes (authored by kevans).
sys/select.h: const'ify the fd_set that __fdset_idx() takes
Tue, Nov 5, 10:08 AM
kevans committed rG838b6caababb: openssl: use getrandom(2) instead of probing for getentropy(2) (authored by kevans).
openssl: use getrandom(2) instead of probing for getentropy(2)
Tue, Nov 5, 10:08 AM
kevans committed rGdec211c6cf60: Stop removing ssp headers (authored by kevans).
Stop removing ssp headers
Tue, Nov 5, 9:02 AM
kevans committed rG0ed58ac88a86: include: ssp: kill off leftover $FreeBSD$ tag (authored by kevans).
include: ssp: kill off leftover $FreeBSD$ tag
Tue, Nov 5, 9:02 AM
kevans committed rG9245ced9c835: release: remove the RPI CM4s .dtb (authored by kevans).
release: remove the RPI CM4s .dtb
Tue, Nov 5, 8:49 AM
kevans committed rGb5e0cc2fa44f: ahc(4): resolve some minor nits (authored by kevans).
ahc(4): resolve some minor nits
Tue, Nov 5, 8:24 AM
kevans committed rG9dcf39575efb: ahc(4)/ahd(4): fix target mode on ARM (authored by kevans).
ahc(4)/ahd(4): fix target mode on ARM
Tue, Nov 5, 8:24 AM

Apr 14 2024

kevans committed rGbbc6e6c5ec8c: daemon: fix -R to enable supervision mode (authored by sigsys_gmail.com).
daemon: fix -R to enable supervision mode
Apr 14 2024, 3:13 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

Mar 11 2024

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

Damn, this again comes to the stupid idea of interfaces traveling between vnets. Grrrr. Still, I believe it should be done in the tuntap, not in if_clone.c. The existing SLIST of cloners can be simplified a lot, let me try.

Mar 11 2024, 6:27 PM
kevans added inline comments to D44200: tun(4)/tap(4): allow devices to be configured as transient.
Mar 11 2024, 5:53 PM
kevans added inline comments to D44283: if_wg: use proper barriers around pkt->p_state.
Mar 11 2024, 2:56 PM

Mar 9 2024

kevans closed D43869: crunchgen: slap a dependency on the generated makefile for .lo.
Mar 9 2024, 2:02 AM
kevans committed rG6e2cfb24ee87: crunchgen: slap a dependency on the generated makefile for .lo (authored by kevans).
crunchgen: slap a dependency on the generated makefile for .lo
Mar 9 2024, 2:02 AM
kevans added inline comments to D44283: if_wg: use proper barriers around pkt->p_state.
Mar 9 2024, 1:53 AM
kevans requested review of D44283: if_wg: use proper barriers around pkt->p_state.
Mar 9 2024, 1:34 AM

Mar 7 2024

kevans accepted D44183: libc/iconv: don't export nonexistant symbols.

ah, I see; some of these were inlined in a header, some of them left un-exported in the first place... someone seemingly applied a relatively large hammer.

Mar 7 2024, 2:39 AM

Mar 5 2024

kevans added inline comments to D44167: script: Handle terminal resize on SIGSWINCH.
Mar 5 2024, 2:39 PM
kevans updated the diff for D43921: pci: avoid accidental clobbering of regs on some fdt platforms.

Revert back to the size check, assert that we do or do not have a resource
after as appropriate.

Mar 5 2024, 5:51 AM
kevans closed D43799: [RFC] ktrace: log genio events on failed write.
Mar 5 2024, 5:46 AM
kevans committed rG47ad4f2d45e4: ktrace: log genio events on failed write (authored by kevans).
ktrace: log genio events on failed write
Mar 5 2024, 5:46 AM
kevans closed D44160: kdump: decode pollfd struct arrays coming from poll(2).
Mar 5 2024, 5:46 AM
kevans committed rG02c57f7b4877: kdump: decode pollfd struct arrays coming from poll(2) (authored by kevans).
kdump: decode pollfd struct arrays coming from poll(2)
Mar 5 2024, 5:46 AM
kevans closed D44159: libsysdecode: add a decoder for pollfd events.
Mar 5 2024, 5:46 AM
kevans committed rGbd23e71f91ce: libsysdecode: add a decoder for pollfd events (authored by kevans).
libsysdecode: add a decoder for pollfd events
Mar 5 2024, 5:46 AM
kevans closed D44158: kern: poll: tap out the pollfd array on successful return.
Mar 5 2024, 5:45 AM
kevans committed rGb5d2165b9046: kern: poll: tap out the pollfd array on successful return (authored by kevans).
kern: poll: tap out the pollfd array on successful return
Mar 5 2024, 5:45 AM
kevans added a comment to D44160: kdump: decode pollfd struct arrays coming from poll(2).

Oh, that probably won't work... we probably printed the entire left-hand side before the return, so it'd need to be on a separate line or something

Mar 5 2024, 4:26 AM
kevans added a comment to D44160: kdump: decode pollfd struct arrays coming from poll(2).
In D44160#1008533, @jhb wrote:

Next you might consider adding this to truss as well. :)

Mar 5 2024, 4:24 AM

Mar 4 2024

kevans added inline comments to D44167: script: Handle terminal resize on SIGSWINCH.
Mar 4 2024, 4:06 PM

Mar 3 2024

kevans requested review of D44199: kern: net: allow an if_clone_destroyif() without knowing the cloner.
Mar 3 2024, 8:20 PM
kevans requested review of D44200: tun(4)/tap(4): allow devices to be configured as transient.
Mar 3 2024, 8:20 PM
kevans updated the diff for D39740: if_tuntap: make SIOCIFDESTROY interruptible.

Use a loop, set error before (it'll either get clobbered or remain untouched),
and just consistently keep it locked leaving the loop.

Mar 3 2024, 7:16 PM
kevans added a comment to D39740: if_tuntap: make SIOCIFDESTROY interruptible.

(Sorry, I just realized I forgot about this review entirely)

Mar 3 2024, 7:15 PM
kevans accepted D44195: Add POSIX_SPAWN_DISABLE_ASLR_NP.

Second, the setting is inherited by children of the spawn process. Is it fine? For me yes.

Mar 3 2024, 2:45 PM

Mar 2 2024

kevans added inline comments to D44183: libc/iconv: don't export nonexistant symbols.
Mar 2 2024, 1:21 AM

Mar 1 2024

kevans added inline comments to D44167: script: Handle terminal resize on SIGSWINCH.
Mar 1 2024, 4:05 PM