Revert "selinux: Relocate ss_initialized to a separate 4k page"
This reverts commit 50ced54e5b.
That out of tree patch causes the resulting kernel image to be too
large, causing ld.lld to error; since .bss is specified twice.
Fixes the observed error:
ld.lld: error: output file too large: 18446743524330100280 bytes
when using LLD without LTO enabled.
Bug: 151154720
Reported-by: Matthias Maennich <maennich@google.com>
Debugged-by: Fangrui Song <maskray@google.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iebb8135630132cd4ae49f3d2d1e85bd61cfa6111
This commit is contained in:
parent
fc3ed771e0
commit
e0e0acaa2a
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ static DEFINE_RWLOCK(policy_rwlock);
|
|||
|
||||
static struct sidtab sidtab;
|
||||
struct policydb policydb;
|
||||
int ss_initialized __aligned(0x1000) __attribute__((section(".bss_rtic")));
|
||||
int ss_initialized;
|
||||
|
||||
/*
|
||||
* The largest sequence number that has been used when
|
||||
* providing an access decision to the access vector cache.
|
||||
|
|
|
|||
Loading…
Reference in a new issue