---
name: "fault_in_user_writeable"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/fault_in_user_writeable"
---

# fault\_in\_user\_writeable(9)

Fault in user address and verify RW access

## NAME

fault\_in\_user\_writeable - Fault in user address and verify RW access

## SYNOPSIS

**int fault\_in\_user\_writeable(u32 \_\_user \*** *uaddr***);**

## ARGUMENTS

*uaddr*

pointer to faulting user space address

## DESCRIPTION

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.

## AUTHOR

**Rusty Russell** \<rusty@rustcorp.com.au\>

Author.

## COPYRIGHT
