MCPcopy Create free account
hub / github.com/LineageOS/android_system_sepolicy / rule_map_validate

Function rule_map_validate

tools/check_seapp.c:753–800  ·  view source on GitHub ↗

* Checks a rule_map for any variation of KVP's that shouldn't be allowed. * It builds an assertion failure list for each rule map. * Note that this function logs all errors. * * Current Checks: * 1. That a specified name entry should have a specified seinfo entry as well. * 2. That no rule violates a neverallow * @param rm * The rule map to check for validity. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

validateFunction · 0.85

Calls 2

match_regexFunction · 0.85
list_appendFunction · 0.85

Tested by

no test coverage detected