- Users are requesting the codes...
- See all requests
Not able to run audit2allow in android source code
The folder location of audit2allow python script is external/selinux/prebuilts/bin/audit2allow
But when I try to run the script, I get this error:
Traceback (most recent call last):
File "/home/shobhit/Desktop/Code/aosp/msm8909_android/external/selinux/policycoreutils/audit2allow/audit2allow", line 24, in
import sepolgen.audit as audit
File "/home/shobhit/Desktop/Code/aosp/msm8909_android/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/audit.py", line 20, in
import refpolicy
File "/home/shobhit/Desktop/Code/aosp/msm8909_android/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/refpolicy.py", line 22, in
import selinux
File "/home/shobhit/Desktop/Code/aosp/msm8909_android/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/selinux/__init__.py", line 28, in
_selinux = swig_import_helper()
File "/home/shobhit/Desktop/Code/aosp/msm8909_android/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/selinux/__init__.py", line 24, in swig_import_helper
_mod = imp.load_module('_selinux', fp, pathname, description)
ImportError: /home/shobhit/Desktop/Code/aosp/msm8909_android/prebuilts/python/linux-x86/2.7.5/
Sellers
If you own such codes, please set up an offer and then invite users to it by clicking on «Invite to offer».
Invite to offerBuyers
If you’re also be willing to buy those codes then click on «I’d also buy it» (no commitment to buy, but please only click when you’re serious about it).
I'd also buy it!Tell people about Sellcodes and get 20-40% on every resulting sale!