]>
sourceware.org Git - systemtap.git/commit
PR30456: kernel 5.18+ removed set_fs() and we should use the new replacement, user_access_begin()/user_access_end() for userland memory accesses.
Alas. user_access_begin() in newer kernels also performs access_ok() itself.
We pay a small price of duplicate access_ok() checks here for now.
We also use __access_ok() instead of access_ok() to avoid warnings on debug kernels.
We use __always_inline instead of inline for the C functions which might
be within the regions with UACCESS enabled (to please objtool's checker).
This page took 0.026982 seconds and 5 git commands to generate.