OSDN Git Service

Zygote: set PR_SET_NO_NEW_PRIVS
authorNick Kralevich <nnk@google.com>
Mon, 4 Mar 2013 19:38:30 +0000 (11:38 -0800)
committerNick Kralevich <nnk@google.com>
Mon, 4 Mar 2013 20:07:44 +0000 (12:07 -0800)
commitb64e9cba72fb223fb440c150a951bb240df8beee
tree2e21487431326138dda50381e0ff3861901be73e
parent36ba3589cf5b20acc1f9d9bf7f88390fa6f8129a
Zygote: set PR_SET_NO_NEW_PRIVS

call prctl(PR_SET_NO_NEW_PRIVS, 1) to prevent Zygote and zygote
spawned applications from aquiring new privileges.

Change-Id: I69bbf6bb5b01b877de414ecad43d3dffbd5fcea0
vm/Init.cpp