getconf: report Kandelo's real POSIX configuration - #4
Merged
Conversation
brandonpayton
force-pushed
the
formula/getconf-posix-config
branch
from
July 17, 2026 20:31
71114bd to
61a2009
Compare
Contributor
Author
|
Exact-head update:
|
brandonpayton
force-pushed
the
formula/getconf-posix-config
branch
2 times, most recently
from
July 18, 2026 01:12
c1e3d89 to
016c274
Compare
This was referenced Jul 19, 2026
brandonpayton
force-pushed
the
formula/getconf-posix-config
branch
from
July 19, 2026 20:43
016c274 to
db59748
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Homebrew source recipe for
getconf, the standard POSIXcommand that reports system limits and supported programming environments.
Kandelo's
getconfreads the running system throughsysconf,pathconf,and
confstr. It does not print a hard-coded table of answers.This is a source-only PR. It does not add a
bottle doblock, publish aGitHub package, or change existing bottle bytes.
What changes
Formula/getconf.rb, based on pinned OpenBSDgetconfsource and itsmatching manual page.
current ABI, forbidden fork support, legacy Asyncify state, and leaked host
paths.
__dead,pledge, andunveil. Those wrappers do not provide configuration values;all reported values still come from Kandelo's real libc/platform APIs.
nonzero exit code and can compare stdout/stderr in callback order.
flags, and a compile/link/run smoke test in both Node.js and Chromium.
getconfin the tap's Formula inventory.Current revision
The reviewed commit was refreshed onto the accepted tap main that contains
the bzip2 and zlib wasm32 bottles.
db597482207f716b4994757616dba62fc7265f5fb267f6d596dd5f8f0880a29e307e2d9310384835Formula/getconf.rbblob were preserved.Formula-support/test files, and this repository's README.
Validation
Both refreshed-head trust checks passed:
publisher-trustpublisher-trust-baseLocal checks against the refreshed tree passed:
brew style Formula/getconf.rb: no offenses.passed with the existing bzip2 and zlib bottle metadata.
git diff --checkpassed.The fresh exact-head dry run also passed:
formulae=getconf,arches=wasm32,tap_ref=db597482207f716b4994757616dba62fc7265f5f, andkandelo_ref=main.handoff, exact-bottle force-pour/test, sidecar generation, and source
rechecks passed.
acceptance evidence. That acceptance gate belongs to
file-formula/wasm32, not this Formula.as required for a dry run.
After merge
Bottle publication is a separate reviewed write workflow after this source PR
merges. Because this PR changes the shared Formula-support tree, future
rebuilds use the new recorded source closure and must follow the normal
immutable bottle-identity rules. Existing published bottle bytes are not
changed by this PR.