diff options
| author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2020-11-27 10:14:13 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-04 01:01:25 +1100 |
| commit | f643fcab74c005ddfdda68c69909f03bde766ff1 (patch) | |
| tree | 86f928edd890d7efc6489c3befdec0c66f8a4873 /arch/powerpc/include/asm/processor.h | |
| parent | powerpc/book3s64/pkeys: Store/restore userspace AMR/IAMR correctly on entry a... (diff) | |
| download | linux-f643fcab74c005ddfdda68c69909f03bde766ff1.tar.gz linux-f643fcab74c005ddfdda68c69909f03bde766ff1.zip | |
powerpc/book3s64/pkeys: Inherit correctly on fork.
Child thread.kuap value is inherited from the parent in copy_thread_tls. We still
need to make sure when the child returns from a fork in the kernel we start with the kernel
default AMR value.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Reviewed-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201127044424.40686-12-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions
