Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e941a508 authored by Will McVicker's avatar Will McVicker
Browse files

ANDROID: GKI: security: Add mmap export symbols for modules



Bug: 141876853
Test: compile

Change-Id: I6a5f5c2b71f3450a86c9ab20239df51519abf649
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
(cherry picked from commit 3758a400cf70e5389267bd27b0bb86761b6c3241)
parent b3bae00c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@

/* amount of vm to protect from userspace access by both DAC and the LSM*/
unsigned long mmap_min_addr;
EXPORT_SYMBOL_GPL(mmap_min_addr);

/* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */
unsigned long dac_mmap_min_addr = CONFIG_DEFAULT_MMAP_MIN_ADDR;
/* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */