Skip to content

Scalability of audit_exceptions/mismatched_binary_allowlist.json esp. for non-core #5838

Discussion options

You must be logged in to vote

By looking deeply at the brew sources I found out that audit_exceptions is a special folder in the tap, i.e. I can create it in my tap and add there mismatched_binary_allowlist.json.
The dictionary is keyed by the formula's filename, without the .rb extension and the value is a filesystem glob relative to the formula's prefix.
All files installed under the prefix are listed, and any matching the glob are excempted from the audit.
I.e. to match all files under a subdirectory called "cross" installed at prefix/cross the glob is cross/**/*, it is not enough to just excempt cross.

I also found out that any file with an architecture that is not recognized is also treated a not-native.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kevemueller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant