SEAndroid - SELinux for Android [Part Three] : SEAndroid source code walkthrough.
Introduction: Assuming that we now have a basic knowledge of SELinux. In this tutorial, we will try to look at how Google customized SELinux on the Android platform. SELinux in the Android platform is called SEAndroid. Let us start by looking at some of the main stages in our journey. Let us understand the compilation of the SEAndroid security policy file. Compiling sepolicy on Android Platform. The following folders are of high importance to understand the generation of the sepolicy on Android during compilation. external/sepolicy: Provides security policy source files in the Android platform. At the same time, the tools in this directory also provide tools for compiling security policy files such as m4 and checkpolicy. Note that these tools run on the host machine [check out...