1 #!/bin/sh 2 3 unamestr=`uname` 4 if [ "$unamestr" = "Linux" -o "$unamestr" = "linux" ]; then 5 export LD_LIBRARY_PATH=$ANDROID_BUILD_TOP/external/selinux/prebuilts/lib 6 export PYTHONPATH=$ANDROID_BUILD_TOP/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages 7 exec python $ANDROID_BUILD_TOP/external/selinux/policycoreutils/audit2allow/audit2why "$@" 8 else 9 echo "audit2why is only supported on linux" 10 fi 11