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:Lokesh Gidra <lokeshgidra@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:3dfddcb9c2779eb7c91d7f0f1108574193970eec) Merged-In: I5f97ff34dd8c88fe3d18c4dc902452488ba28cbd Change-Id: I5f97ff34dd8c88fe3d18c4dc902452488ba28cbd
Loading
Please sign in to comment