Commit af1da5c8 authored by Lokesh Gidra's avatar Lokesh Gidra
Browse files

ANDROID: GKI: fix ABI breakage in struct userfaultfd_ctx



The following two commits move 'userfaultfd_ctx' struct from
fs/userfaultfd.c to header file and then add a rw_semaphore to it. The
ABI is broken by the change. However, given that the type should be
private and not accessed by vendor modules, use some GENKSYMS #define
magic to preserve the CRC. Also update the .stg file for offset
adjustment within 'userfaultfd_ctx'.

5e4c24a5 ("userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx")
f91e6b41 ("userfaultfd: move userfaultfd_ctx struct to header file")

Bug: 320478828
Bug: 339845931
Signed-off-by: default avatarLokesh Gidra <lokeshgidra@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:3dfddcb9c2779eb7c91d7f0f1108574193970eec)
Merged-In: I5f97ff34dd8c88fe3d18c4dc902452488ba28cbd
Change-Id: I5f97ff34dd8c88fe3d18c4dc902452488ba28cbd
parent d9f6a409
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment