summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Keith Mok <keithmok@google.com> 2023-08-04 22:17:08 +0000
committer Keith Mok <keithmok@google.com> 2023-09-15 22:35:30 +0000
commitf2c1d9d28083fdcba53f346bba5289e72bc4be49 (patch)
treebe5e7e25bf0b78c0ff687312bc63dc4fa63e67fc /libs/battery/LongArrayMultiStateCounterTest.cpp
parentea256bece0b6261715be44fd0819f35d13a30b06 (diff)
File size seal for memory mapped region
When using memfd for cross process communication, we always need to seal the file size, otherwise remote process and shrink the size we memory mapped and thus crash the originate process causing a DoS Bug: 294609150 Test: Build Ignore-AOSP-First: security Change-Id: Ibc263c4f78df897e884378e3d984a188ca8772c7 Merged-In: Ibc263c4f78df897e884378e3d984a188ca8772c7 (cherry picked from commit 3d9f1e3b0a135b784b9ffa0e65d6a699c7ed1f8e)
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions