Revert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""
authorAly Hirani <ahirani@nvidia.com>
Thu, 6 Dec 2012 05:00:23 +0000 (21:00 -0800)
committerSimone Willett <swillett@nvidia.com>
Fri, 21 Dec 2012 01:55:44 +0000 (17:55 -0800)
commitea406b9124cfb9418ac6528a1a2e7d6cf18d3824
tree06cba830cb15a7f615418046ba7b3905de750e5c
parent37bbb73e3d0c11c8da0bffd72fed7ce57bd5e1a9
Revert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""

This reverts commit 25cd08cd1fb5888fe0d9bcc1e58b9d6b8378e1fd.
ADDR_COMPAT_LAYOUT is set on zygote to prevent Unity games from
crashing in K3.4. However, since the propagation of personality was
disabled, this flag never ended up being set on the fork()ed
processes.

Additionally, in order to prevent Bug 894472 to resurface with this
revert, mask out READ_IMPLIES_EXEC from being propagated to child
processes.

Bug 1023189

Change-Id: I01d5b7b3778b9e99815146bd2345bda1266e6309
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/168956
(cherry picked from commit 5598033218d268199f7c2ba336efb2c901441654)
Reviewed-on: http://git-master/r/171987
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
arch/arm/kernel/elf.c