fault_in_user_writeable(9)

fault_in_user_writeable9

Fault in user address and verify rw access

Usage

int fault_in_user_writeable(u32 __user * uaddr);

Arguments

uaddr

pointer to faulting user space address

Overview

Slow path to fixup the fault we just took in the atomic write access to uaddr.

We have no generic implementation of a non-destructive write to the user address. We know that we faulted in the atomic pagefault disabled section so we can as well avoid the #PF overhead by calling get_user_pages right away.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

Rusty Russell <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.