OwlCyberDefense / setools

setools has moved to https://github.com/SELinuxProject/setools
Other
91 stars 34 forks source link

sedump - [Errno 0] Error: 'sepolicy' #158

Closed giuseppe-sec-eng closed 7 years ago

giuseppe-sec-eng commented 7 years ago

Hello,

I have tried the sedump tool for both aosp android 6.0.1 and samsung s7. In both cases:

$ sedump sepolicy -o policy.conf Returns the following:

[Errno 0] Error: 'sepolicy'

pebenito commented 7 years ago

sedump is a downstream project, so there isn't much that I can do. If you can reproduce with setools itself, please provide output with the --debug. Also, Android M has an incompatible sepolicy format if you are compiling setools against the standard libsepol. This incompatible format will not be supported by setools.