Commit c7fff92
committed
signal: Remove the generic __ARCH_SI_TRAPNO support
Now that __ARCH_SI_TRAPNO is no longer set by any architecture remove
all of the code it enabled from the kernel.
On alpha and sparc a more explict approach of using
send_sig_fault_trapno or force_sig_fault_trapno in the very limited
circumstances where si_trapno was set to a non-zero value.
The generic support that is being removed always set si_trapno on all
fault signals. With only SIGILL ILL_ILLTRAP on sparc and SIGFPE and
SIGTRAP TRAP_UNK on alpla providing si_trapno values asking all senders
of fault signals to provide an si_trapno value does not make sense.
Making si_trapno an ordinary extension of the fault siginfo layout has
enabled the architecture generic implementation of SIGTRAP TRAP_PERF,
and enables other faulting signals to grow architecture generic
senders as well.
v1: https://lkml.kernel.org/r/m18s4zs7nu.fsf_-_@fess.ebiederm.org
v2: https://lkml.kernel.org/r/20210505141101.11519-8-ebiederm@xmission.com
Link: https://lkml.kernel.org/r/87bl73xx6x.fsf_-_@disp2133
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>1 parent 7de5f68 commit c7fff92
3 files changed
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 301 | | |
307 | 302 | | |
308 | 303 | | |
309 | 304 | | |
310 | 305 | | |
311 | 306 | | |
312 | 307 | | |
313 | | - | |
314 | 308 | | |
315 | 309 | | |
316 | 310 | | |
317 | | - | |
318 | 311 | | |
319 | 312 | | |
320 | | - | |
321 | 313 | | |
322 | 314 | | |
323 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
1669 | | - | |
1670 | 1669 | | |
1671 | 1670 | | |
1672 | 1671 | | |
| |||
1677 | 1676 | | |
1678 | 1677 | | |
1679 | 1678 | | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | 1679 | | |
1684 | 1680 | | |
1685 | 1681 | | |
| |||
1689 | 1685 | | |
1690 | 1686 | | |
1691 | 1687 | | |
1692 | | - | |
1693 | 1688 | | |
1694 | 1689 | | |
1695 | 1690 | | |
1696 | | - | |
1697 | 1691 | | |
1698 | 1692 | | |
1699 | 1693 | | |
1700 | 1694 | | |
1701 | | - | |
1702 | 1695 | | |
1703 | 1696 | | |
1704 | 1697 | | |
| |||
1709 | 1702 | | |
1710 | 1703 | | |
1711 | 1704 | | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | 1705 | | |
1716 | 1706 | | |
1717 | 1707 | | |
| |||
3283 | 3273 | | |
3284 | 3274 | | |
3285 | 3275 | | |
3286 | | - | |
3287 | | - | |
3288 | | - | |
3289 | | - | |
3290 | 3276 | | |
3291 | 3277 | | |
3292 | 3278 | | |
| |||
0 commit comments