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

Bug: 141876853
Test: compile

Change-Id: I6a5f5c2b71f3450a86c9ab20239df51519abf649
Signed-off-by: Will McVicker <willmcvicker@google.com>
(cherry picked from commit 3758a400cf70e5389267bd27b0bb86761b6c3241)
This commit is contained in:
Will McVicker 2019-10-15 16:38:32 -07:00
parent b3bae00cda
commit e941a5081c

View file

@ -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 */