• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3unamestr=`uname`
4if [ "$unamestr" = "Linux" -o "$unamestr" = "linux" ]; then
5	export LD_PRELOAD=$ANDROID_HOST_OUT/lib64/libselinux.so
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/python/audit2allow/audit2why "$@"
8else
9	echo "audit2why is only supported on linux"
10fi
11