Page MenuHomeFreeBSD

obrien (David O'Brien)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 6 2017, 10:41 PM (451 w, 6 d)

Recent Activity

Fri, Nov 14

obrien accepted D53682: tpm: crb: factor out idle/ready state transitions.
Fri, Nov 14, 6:11 PM
obrien accepted D53726: quot: Rewrite -n mode input parser.
Fri, Nov 14, 3:59 AM
obrien added a comment to D53683: tpm: crb: add support for the Pluton startmethod.

This might be because Juniper's code base isn't up to date with 16-current:
/w/main/src/sys/dev/tpm/tpm_crb.c:104:14: error: use of undeclared identifier 'ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON'

.acpi_sm = ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON,
           ^

/w/main/src/sys/dev/tpm/tpm_crb.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'const struct tpmcrb_sm_cfg_map[]'

for (size_t i = 0; i < nitems(tpmcrb_sm_cfg_map); i++) {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~

/w/main/src/sys/sys/param.h:321:26: note: expanded from macro 'nitems'
#define nitems(x) (sizeof((x)) / sizeof((x)[0]))

^~~~~

2 errors generated.

Fri, Nov 14, 3:15 AM
obrien added inline comments to D53682: tpm: crb: factor out idle/ready state transitions.
Fri, Nov 14, 2:59 AM
obrien added a comment to D53682: tpm: crb: factor out idle/ready state transitions.

This patch didn't make my Juniper EX4000 catch-fire-and-burn.

Fri, Nov 14, 2:51 AM

Thu, Nov 13

obrien committed rG3a572775bfc3: drm2: update gone_in to 16 from 13 (authored by obrien).
drm2: update gone_in to 16 from 13
Thu, Nov 13, 8:38 PM
obrien committed rG564cad5638d2: cxgbe(4): fix nvmf_che module build (authored by obrien).
cxgbe(4): fix nvmf_che module build
Thu, Nov 13, 1:36 AM

Wed, Nov 12

obrien updated the diff for D53715: i386: move to EXTRA_TARGETS.

missed a 'git add'

Wed, Nov 12, 6:22 PM
obrien requested review of D53715: i386: move to EXTRA_TARGETS.
Wed, Nov 12, 6:16 PM

Tue, Nov 11

obrien committed rGd6f10a5d013f: random: allow disabling of entropy harvesting from keyboard & mice (authored by obrien).
random: allow disabling of entropy harvesting from keyboard & mice
Tue, Nov 11, 4:18 AM
obrien closed D53390: random: allow disabling of entropy harvesting from keyboard & mice.
Tue, Nov 11, 4:18 AM
obrien committed rGf1b9c1aafd84: random: git'o in RANDOM_ENABLE_TPM (authored by obrien).
random: git'o in RANDOM_ENABLE_TPM
Tue, Nov 11, 2:47 AM
obrien removed reviewers for D53390: random: allow disabling of entropy harvesting from keyboard & mice: stevek, andrew, manu.
Tue, Nov 11, 1:33 AM
obrien updated the diff for D53390: random: allow disabling of entropy harvesting from keyboard & mice.

Follow request from https://reviews.freebsd.org/D53460

Tue, Nov 11, 1:33 AM
obrien committed rG3deb21f1afd5: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM (authored by obrien).
random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM
Tue, Nov 11, 12:31 AM
obrien closed D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM.
Tue, Nov 11, 12:31 AM

Mon, Nov 10

obrien added inline comments to D53655: stand: Cut over to using the EDK2 files.
Mon, Nov 10, 12:19 AM

Sun, Nov 9

obrien updated the diff for D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM.

update per comments

Sun, Nov 9, 9:04 AM
obrien added a comment to D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM.
In D53460#1224717, @imp wrote:

I'd prefer them in GENERIC. All of our kernel config knowledge is tribal. I'm sorry. DEFAULTS are for things that every kernel must have. Tpm is optional, so belongs in GENERIC. Cool stuff, but a large percentage of systems lack it. I'd also add it to MINIMAL since I didn't notice a way to discover it with PNP data.

I wish things were better documented.

Sun, Nov 9, 3:33 AM
obrien added a comment to D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM.
In D53460#1224696, @imp wrote:

we're trying really really hard to not add anything to DEFAULTS. Why is this justified?

Sun, Nov 9, 12:41 AM

Sat, Nov 8

obrien committed rGba6c676ef3ac: hifn(4): add gone_in 16.0 (authored by obrien).
hifn(4): add gone_in 16.0
Sat, Nov 8, 5:46 AM
obrien committed rG0ef2ecd0ced4: safe(4): add gone_in 16.0 (authored by obrien).
safe(4): add gone_in 16.0
Sat, Nov 8, 5:46 AM
obrien committed rGe224f2c1b98b: random: Have RANDOM_PURE_START be a cross-platform source (authored by obrien).
random: Have RANDOM_PURE_START be a cross-platform source
Sat, Nov 8, 2:56 AM

Fri, Nov 7

obrien closed D53311: random: Have RANDOM_PURE_START be a cross-platform source.
Fri, Nov 7, 11:40 PM
obrien committed rG068fea0aa15b: random: Have RANDOM_PURE_START be a cross-platform source (authored by obrien).
random: Have RANDOM_PURE_START be a cross-platform source
Fri, Nov 7, 11:40 PM
obrien committed rG4f19c2e99b0d: safe(4): fix api used (authored by obrien).
safe(4): fix api used
Fri, Nov 7, 11:25 PM
obrien closed D53426: safe(4): add gone_in 16.0.
Fri, Nov 7, 8:13 PM
obrien committed rG9b7d2cee03e5: safe(4): add gone_in 16.0 (authored by obrien).
safe(4): add gone_in 16.0
Fri, Nov 7, 8:12 PM
obrien accepted D53635: bsd-family-tree: Re-center OpenBSD line.
Fri, Nov 7, 7:16 PM
obrien updated the diff for D53311: random: Have RANDOM_PURE_START be a cross-platform source.

add

Fri, Nov 7, 6:39 AM
obrien removed a reviewer for D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM: manu.
Fri, Nov 7, 5:51 AM
obrien committed rG09aeca28dd75: BSD family tree: reduce OpenBSD-NetBSD crowding (authored by obrien).
BSD family tree: reduce OpenBSD-NetBSD crowding
Fri, Nov 7, 5:43 AM
obrien closed D53509: BSD family tree: reduce OpenBSD-NetBSD crowding.
Fri, Nov 7, 5:42 AM
obrien committed rGd53618d58283: random: CTASSERT check sizeof random_source_descr[] (authored by obrien).
random: CTASSERT check sizeof random_source_descr[]
Fri, Nov 7, 12:08 AM
obrien committed rG3a9bcf8dee0c: random: fenestrasX: Add missing entropy sources (authored by obrien).
random: fenestrasX: Add missing entropy sources
Fri, Nov 7, 12:08 AM

Thu, Nov 6

obrien removed a reviewer for D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM: manu.
Thu, Nov 6, 11:05 PM

Nov 1 2025

obrien edited reviewers for D53426: safe(4): add gone_in 16.0, added: emaste; removed: jhb.
Nov 1 2025, 3:57 AM

Oct 31 2025

obrien requested review of D53509: BSD family tree: reduce OpenBSD-NetBSD crowding.
Oct 31 2025, 10:13 PM
obrien added inline comments to D53426: safe(4): add gone_in 16.0.
Oct 31 2025, 9:58 PM
obrien updated the diff for D53426: safe(4): add gone_in 16.0.

failed to 'git add' the DEPRECATION NOTICE section after I documented it in share/examples/mdoc/example.4

Oct 31 2025, 9:57 PM
obrien added inline comments to D53426: safe(4): add gone_in 16.0.
Oct 31 2025, 9:14 PM
obrien committed rG8bd9a9e9e4cb: random: CTASSERT check sizeof random_source_descr[] (authored by obrien).
random: CTASSERT check sizeof random_source_descr[]
Oct 31 2025, 6:02 PM
obrien closed D53255: random: CTASSERT check sizeof random_source_descr[].
Oct 31 2025, 6:02 PM
obrien added a comment to D53311: random: Have RANDOM_PURE_START be a cross-platform source.

Let me give some motivation, since someone may ask "why" or "so what".
We're removing entropy sources from the enum at Juniper, (related to D53304) and I'm trying to reduce diffs to upstream. Since we're changing the order, why not semi-prefetch the 16.0 changes. RANDOM_PURE_START is currently pegged to RANDOM_PURE_SAFE which should go away for 16.0. Another way of looking at it - since I've already changed the 'enum entropy' twice in 16.0 (any KPI concerns), the reorder of RANDOM_PURE_TPM to re-peg RANDOM_PURE_START to make a smaller commit in the future for the removal of safe(4) should be non-contentious. Also, I hope to get this into 15.0-RELEASE so that RANDOM_PURE_START doesn't change in 15.x.

Oct 31 2025, 7:06 AM
obrien removed a reviewer for D53390: random: allow disabling of entropy harvesting from keyboard & mice: manu.
Oct 31 2025, 6:49 AM
obrien removed a reviewer for D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM: manu.
Oct 31 2025, 6:48 AM
obrien committed rG99651c30b15a: sbuf_delete() after sbuf_finish() & add SBUF_INCLUDENUL (authored by obrien).
sbuf_delete() after sbuf_finish() & add SBUF_INCLUDENUL
Oct 31 2025, 5:31 AM
obrien closed D53254: sbuf_delete() after sbuf_finish() & add SBUF_INCLUDENUL.
Oct 31 2025, 5:31 AM
obrien added inline comments to D53255: random: CTASSERT check sizeof random_source_descr[].
Oct 31 2025, 5:21 AM
obrien updated the diff for D53255: random: CTASSERT check sizeof random_source_descr[].

respond to comments

Oct 31 2025, 5:19 AM
obrien added a reviewer for D53311: random: Have RANDOM_PURE_START be a cross-platform source: csprng.
Oct 31 2025, 5:05 AM

Oct 30 2025

obrien accepted D53476: rc.subr set dot_dir and dot_file in dot.
Oct 30 2025, 5:53 PM
obrien committed rG237cc7b408dd: style.Makefile: document the style for lists (authored by obrien).
style.Makefile: document the style for lists
Oct 30 2025, 4:47 AM
obrien closed D53429: style.Makefile: document the style for lists.
Oct 30 2025, 4:47 AM
obrien added a reviewer for D53426: safe(4): add gone_in 16.0: jhb.
Oct 30 2025, 3:39 AM
obrien added a reviewer for D53255: random: CTASSERT check sizeof random_source_descr[]: csprng.
Oct 30 2025, 3:38 AM
obrien updated subscribers of D53255: random: CTASSERT check sizeof random_source_descr[].
Oct 30 2025, 3:38 AM
obrien requested review of D53460: random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM.
Oct 30 2025, 3:26 AM
obrien updated the diff for D53429: style.Makefile: document the style for lists.

update

Oct 30 2025, 1:59 AM
obrien updated the diff for D53429: style.Makefile: document the style for lists.

update

Oct 30 2025, 1:50 AM
obrien added inline comments to D53429: style.Makefile: document the style for lists.
Oct 30 2025, 1:48 AM

Oct 29 2025

obrien added a comment to D53390: random: allow disabling of entropy harvesting from keyboard & mice.

RANDOM_KEYBOARD and RANDOM_MOUSE can be masked away by sysctls. What is the need to remove them this way?

If your goal is to permit explicitly enabling or disabling random sources at compile time, I suggest going the KTR route, and having a RANDOM_COMPILE mask that defaults to everything enabled, allowing one to configure the random mask in the kernel config. This would centralize all this logic rather than having #ifdefs scattered around for each source.

Oct 29 2025, 4:41 PM
obrien committed rGa3e817fe491f: padlock(4)/nehemiah: move i386-only entropy source to MD files (authored by obrien).
padlock(4)/nehemiah: move i386-only entropy source to MD files
Oct 29 2025, 8:11 AM
obrien requested review of D53429: style.Makefile: document the style for lists.
Oct 29 2025, 8:03 AM
obrien added inline comments to D52832: packages: Install development manpages in the -dev package.
Oct 29 2025, 7:28 AM
obrien added inline comments to D52885: (draft) style.9: Encourage style changes when doing significant modifications.
Oct 29 2025, 7:12 AM
obrien committed rG9ca8e09abba8: random: add RDSEED as a provably unique entropy source (authored by obrien).
random: add RDSEED as a provably unique entropy source
Oct 29 2025, 7:01 AM
obrien committed rGa3fcb7bfeae3: Add FENESTRASX to LINT to avoid breakage (authored by obrien).
Add FENESTRASX to LINT to avoid breakage
Oct 29 2025, 7:01 AM
obrien committed rG4b6700f3455f: Document the DEPRECATION NOTICE section for kernel interfaces (authored by obrien).
Document the DEPRECATION NOTICE section for kernel interfaces
Oct 29 2025, 6:52 AM
obrien closed D53182: random: remove hifn(4).
Oct 29 2025, 6:03 AM
obrien committed rGb3bf22d70eb5: random: garbage collect the RANDOM_PURE_OCTEON entropy source (authored by obrien).
random: garbage collect the RANDOM_PURE_OCTEON entropy source
Oct 29 2025, 2:40 AM
obrien requested review of D53426: safe(4): add gone_in 16.0.
Oct 29 2025, 1:17 AM
obrien added a comment to D53184: random: remove padlock(4).

Also share/man/man4/padlock.4 and any obsolete files additions

Oct 29 2025, 12:34 AM
obrien added a comment to D53184: random: remove padlock(4).

and share/man/man4/Makefile
and any .Xr padlock 4s

Oct 29 2025, 12:33 AM
obrien updated the diff for D53184: random: remove padlock(4).

man page stuff

Oct 29 2025, 12:33 AM
obrien committed rG88a53301e198: padlock.4: only install on i386 (authored by obrien).
padlock.4: only install on i386
Oct 29 2025, 12:26 AM
obrien committed rGa38a42ed9a97: random: remove hifn(4) (authored by obrien).
random: remove hifn(4)
Oct 29 2025, 12:17 AM

Oct 28 2025

obrien committed rG685a78570b35: random: remove hifn(4) (authored by obrien).
random: remove hifn(4)
Oct 28 2025, 11:47 PM
obrien updated the diff for D53182: random: remove hifn(4).

tweak comment

Oct 28 2025, 11:45 PM
obrien updated the diff for D53390: random: allow disabling of entropy harvesting from keyboard & mice.

DEFAULTS

Oct 28 2025, 11:35 PM
obrien updated the diff for D53390: random: allow disabling of entropy harvesting from keyboard & mice.

Move to DEFAULTS and add tier-2

Oct 28 2025, 11:21 PM
obrien updated the diff for D53390: random: allow disabling of entropy harvesting from keyboard & mice.

No need to explicitly include opt_global.h

Oct 28 2025, 11:09 PM
obrien requested review of D53390: random: allow disabling of entropy harvesting from keyboard & mice.
Oct 28 2025, 5:40 AM

Oct 23 2025

obrien requested review of D53311: random: Have RANDOM_PURE_START be a cross-platform source.
Oct 23 2025, 11:23 PM
obrien updated the diff for D53304: random: remove platform-specific sources where not-applicable.

rebase HEAD

Oct 23 2025, 11:18 PM
obrien committed rGd1ca01059d5d: padlock(4)/nehemiah: move i386-only entropy source to MD files (authored by obrien).
padlock(4)/nehemiah: move i386-only entropy source to MD files
Oct 23 2025, 11:17 PM
obrien closed D53309: padlock(4)/nehemiah: move i386-only entropy source to MD files.
Oct 23 2025, 11:17 PM
obrien requested review of D53309: padlock(4)/nehemiah: move i386-only entropy source to MD files.
Oct 23 2025, 11:08 PM
obrien added inline comments to D53304: random: remove platform-specific sources where not-applicable.
Oct 23 2025, 10:21 PM
obrien added inline comments to D53304: random: remove platform-specific sources where not-applicable.
Oct 23 2025, 8:28 PM
obrien requested review of D53304: random: remove platform-specific sources where not-applicable.
Oct 23 2025, 6:45 PM
obrien added a comment to D53300: id: Clean up.

Can you add a summary in the commit log message instead of just "id: Clean up"

Oct 23 2025, 6:39 PM
obrien added inline comments to D53300: id: Clean up.
Oct 23 2025, 6:37 PM
obrien added inline comments to D53301: id: Add -d and -s options.
Oct 23 2025, 6:34 PM
obrien updated the diff for D53255: random: CTASSERT check sizeof random_source_descr[].

tweak

Oct 23 2025, 6:08 PM
obrien committed rG93b02f69a6f6: random: fenestrasX: Add missing entropy sources (authored by obrien).
random: fenestrasX: Add missing entropy sources
Oct 23 2025, 4:55 PM
obrien closed D53292: random: fenestrasX: Add missing entropy sources.
Oct 23 2025, 4:55 PM
obrien committed rG38e9d282cd7d: random: fenestrasX: add RDSEED support (authored by obrien).
random: fenestrasX: add RDSEED support
Oct 23 2025, 4:53 PM
obrien closed D53291: random: fenestrasX: add RDSEED support.
Oct 23 2025, 4:53 PM
obrien requested review of D53292: random: fenestrasX: Add missing entropy sources.
Oct 23 2025, 6:30 AM