Scalability of audit_exceptions/mismatched_binary_allowlist.json esp. for non-core #5838
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 I also found out that any file with an architecture that is not recognized is also treated a not-native. |
Beta Was this translation helpful? Give feedback.
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 iscross/**/*
, it is not enough to just excemptcross
.I also found out that any file with an architecture that is not recognized is also treated a not-native.