commit | 5e0675fac5c54ff806f2cc1ad0a1f65f0ee27872 | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Fri Aug 04 22:17:08 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 06 22:44:08 2023 +0000 |
tree | 95e2bb263fa15f3a6509c8a14d5574437cfda46a | |
parent | 3516c879c5a5156c5fee30dafcff1921ffc381fe [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 (cherry picked from commit 3d9f1e3b0a135b784b9ffa0e65d6a699c7ed1f8e) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f2c1d9d28083fdcba53f346bba5289e72bc4be49) Merged-In: Ibc263c4f78df897e884378e3d984a188ca8772c7 Change-Id: Ibc263c4f78df897e884378e3d984a188ca8772c7