diff options
| author | 2021-03-31 21:28:02 -0700 | |
|---|---|---|
| committer | 2021-04-07 16:47:59 -0700 | |
| commit | b39ec7084af54dcab5f56d275363e013df959c31 (patch) | |
| tree | 019e9fdf390bda0a8892013c7d59c557224f512c /tools/warn/cpp_warn_patterns.py | |
| parent | bacb3ebb2afa33d86a0ab00c7cc0b9a64140024c (diff) | |
Add a build flag to turn on debugfs restrictions
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, this
patch introduces a build flag that can be set by vendors to enforce
additional debugfs restrictions for userdebug/eng builds. The same flag
will be used to enable sepolicy neverallow statements to prevent new
permissions added for debugfs access.
Bug: 184381659
Test: make with/without PRODUCT_SET_DEBUGFS_RESTRICTIONS
Change-Id: I9aff974da7ddce9bf1a7ec54153b161527b12062
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions