OSDN Git Service

install copy of shell in vendor partition
authorSandeep Patil <sspatil@google.com>
Thu, 13 Apr 2017 01:02:50 +0000 (18:02 -0700)
committerSandeep Patil <sspatil@google.com>
Thu, 13 Apr 2017 21:55:59 +0000 (14:55 -0700)
commitc2036115102d80c026b70846812a42204522f9ac
tree8462bdd959adc36fff632c8b40151dae01713d5e
parent206a07da41e92957ea231a8151ade4a7cc2b81e5
install copy of shell in vendor partition

This is to be used by vendor processes. Particularly, vendor shell
scripts that get launched as init services. The shell is restricted from
running as interactive mode in SEPolicy. Unless it is launched from rooted
system shell. The change also adds the ability to override the default
$PATH regardless of the environment.

Bug: 36463595
Test: Boot sailfish with new shell and ensure all init services exit
      with status 0

Change-Id: I1eaf2c8a8f6905caf00d53e067add67eaea00e09
Signed-off-by: Sandeep Patil <sspatil@google.com>
Android.mk
mkshrc_vendor [new file with mode: 0644]
src/main.c