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

Function read_binary_policy

tools/seamendc.c:36–99  ·  view source on GitHub ↗

* Read binary policy file from path into the allocated pdb. * * We first read the binary policy into memory, and then we parse it to a * policydb object using sepol_policydb_from_image. This combination is slightly * faster than using sepol_policydb_read that reads the binary file in small * chunks at a time. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected