- Reference renamed file: COPYING -> LICENSE in Android.bp
- Fix constext_str calls now returning const char *
- Comment out cil_write_src_info_node which is not used on Android
- Include new selinux_internal.c source file
Bug: 253327909
Test: build and boot on bramble
Test: sediff between current and new policy; no change
Change-Id: I506479befb3c0b99136cd842b2a77a6a8bea18ed
secilc is a program that is executed very early by init. Mark it as
'bootstrap: true' so that DT_INTERP is set to point to the dynamic
linker for the bootstrap processes. Also RPATH is set to the bootstrap
Bionic path so that this executable can search Bionic libs even before
init makes them visible to the ordinary search path of /system/lib.
Bug: 120266448
Test: m secilc
Inspect DT_INTERP and RPATH with readelf
DT_INTERP: /system/bin/bootstrap/linker64
RPATH: /system/${LIB}/bootstrap
Change-Id: Icb6e2fd37dced18c4cac83fb38e8a28739b34cab
We do this to package secilc in CTS without the need to handle its
dependencies.
Bug: 37999212
Test: cts-tradefed run commandAndExit cts --skip-all-system-status-check
--primary-abi-only --skip-preconditions -m CtsSecurityHostTestCases
-t android.cts.security.SELinuxNeverallowRulesTest
Change-Id: I0eed2aa37670f6604447e529de32265072e8435c