selinux: Relocate ss_initialized to a separate 4k page
We need to relocate ss_initialized to a separate 4k page to enable EL2 Hypervisor to monitor changes to this variable using ARM stage 2 MMU. We will avoid getting page faults from un-related data as the MMU granularity is configured to 4k. Change-Id: I74a1e735d5f804a35ce5b7ffe8b8746e5f56201b Signed-off-by: Zhen Kong <zkong@codeaurora.org>
This commit is contained in:
parent
c58c561f99
commit
50ced54e5b
@ -78,8 +78,7 @@ static DEFINE_RWLOCK(policy_rwlock);
|
||||
|
||||
static struct sidtab sidtab;
|
||||
struct policydb policydb;
|
||||
int ss_initialized;
|
||||
|
||||
int ss_initialized __aligned(0x1000) __attribute__((section(".bss_rtic")));
|
||||
/*
|
||||
* The largest sequence number that has been used when
|
||||
* providing an access decision to the access vector cache.
|
||||
|
Loading…
Reference in New Issue
Block a user