diff options
| author | John Stultz <john.stultz@linaro.org> | 2015-11-17 08:35:54 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:32 +0200 |
| commit | c9447cffbb3d428d821d29e5f6836464fdb6b5bf (patch) | |
| tree | ddaa99e4af54220559b93e117b2a240ec9ab534e /android | |
| parent | 5c7d95865a18e7e159ce4c4dddfd72bd049ff41d (diff) | |
ANDROID: exec_domains: Disable request_module() call for personalities
With Android M, Android environments use a separate execution
domain for 32bit processes.
See:
https://android-review.googlesource.com/#/c/122131/
This results in systems that use kernel modules to see selinux
audit noise like:
type=1400 audit(28.989:15): avc: denied { module_request } for
pid=1622 comm="app_process32" kmod="personality-8"
scontext=u:r:zygote:s0 tcontext=u:r:kernel:s0 tclass=system
While using kernel modules is unadvised, some systems do require
them.
Thus to avoid developers adding sepolicy exceptions to allow for
request_module calls, this patch disables the logic which tries
to call request_module for the 32bit personality (ie:
personality-8), which doesn't actually exist.
Change-Id: I6885347e69d5778e69ad5312f56f389be7bb4883
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions
