summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-04-25 15:01:24 -0700
committerNick Kralevich <nnk@google.com>2014-04-29 15:10:58 -0700
commit195c73c9b2c5be50ab325099dc2160215ac7562a (patch)
treed96f10bd5467d1c3788e9393a6b9f5ee367c0b2c /include
parent5c220cc4e4c0584a9083529b58e30e17ab7d2d9e (diff)
downloadframeworks_base-195c73c9b2c5be50ab325099dc2160215ac7562a.zip
frameworks_base-195c73c9b2c5be50ab325099dc2160215ac7562a.tar.gz
frameworks_base-195c73c9b2c5be50ab325099dc2160215ac7562a.tar.bz2
Set NO_NEW_PRIVS on zygote init
When app_process/zygote starts, make sure PR_SET_NO_NEW_PRIVS is set. This prevents zygote spawned apps from acquiring new privileges on exec. In particular, this allows the CTS test android.os.cts.SecurityFeaturesTest#testNoNewPrivs() to pass if ART is set as the default runtime. Change-Id: I81139cda999c7b1430242561aad28f566e9b6da0
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions