Skip to content

Commit

Permalink
ANDROID: GKI: security: Add mmap export symbols for modules
Browse files Browse the repository at this point in the history
Bug: 141876853
Test: compile

Change-Id: I6a5f5c2b71f3450a86c9ab20239df51519abf649
Signed-off-by: Will McVicker <[email protected]>
(cherry picked from commit 3758a400cf70e5389267bd27b0bb86761b6c3241)
  • Loading branch information
Will McVicker committed Apr 13, 2020
1 parent b3bae00 commit e941a50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/min_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e941a50

Please sign in to comment.