On 04/09/2014 06:07 PM, Tai Nguyen (tainguye) wrote:
> When I used the binary file, I got this error
> The selected file (monolithic sepolicy {}) does not appear to be a valid
> SELinux Policy.
> Error: Could not open policy
Yes, I think you just need a newer version of setools.
Use the upstream release 3.3.8 or use a more modern Linux distribution.
We also just upstreamed a change to enable building of dispol
(checkpolicy/test/dispol.c), which can be used to dump the (expanded)
allow rules from the binary policy file.
https://android-review.googlesource.com/#/c/90420/