diff options
| author | 2017-08-20 23:28:24 +0530 | |
|---|---|---|
| committer | 2018-01-19 22:36:54 +1100 | |
| commit | a8a4b03ab95f3e99196b0a4dd40804620ea77e74 (patch) | |
| tree | 210d0a819712c7301180bdf862d56f09d41bb12c /kernel/sysctl_binary.c | |
| parent | powerpc/64s: Fix ps3 build error due to tlbiel_all() (diff) | |
powerpc: Hard wire PT_SOFTE value to 1 in ptrace & signals
We have always had softe in pt_regs, and accessible via PT_SOFTE, even
though it is not userspace state.
The value userspace sees should always be 1, because we should never
be in userspace with interrupts soft disabled.
In a subsequent patch we will be changing the semantics of the kernel
softe value, so hard wire the value to 1 to retain the existing
semantics. As far as we know nothing ever looks at it, but better safe
than sorry.
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
[mpe: Split out of larger patch, write change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
