diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-08-20 23:28:24 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-19 22:36:54 +1100 |
commit | a8a4b03ab95f3e99196b0a4dd40804620ea77e74 (patch) | |
tree | 210d0a819712c7301180bdf862d56f09d41bb12c /samples | |
parent | 7a074fc08389f43b448ebef74bf56ba0f6f087d9 (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 'samples')
0 files changed, 0 insertions, 0 deletions