diff options
author | 2018-04-14 14:20:30 -0500 | |
---|---|---|
committer | 2018-04-25 10:40:52 -0500 | |
commit | 0c362f96e1c6bb76ab9b0b828985655fd2516bfa (patch) | |
tree | adb33e0cdce9a1645f8238796d5bf35b43f3fe7a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | signal: Reduce copy_siginfo_to_user to just copy_to_user (diff) | |
download | linux-dev-0c362f96e1c6bb76ab9b0b828985655fd2516bfa.tar.xz linux-dev-0c362f96e1c6bb76ab9b0b828985655fd2516bfa.zip |
signal: Stop special casing TRAP_FIXME and FPE_FIXME in siginfo_layout
After more experience with the cases where no one the si_code of 0
is used both as a signal specific si_code, and as SI_USER it appears
that no one cares about the signal specific si_code case and the
good solution is to just fix the architectures by using
a different si_code.
In none of the conversations has anyone even suggested that
anything depends on the signal specific redefinition of SI_USER.
There are at least test cases that care when si_code as 0 does
not work as si_user.
So make things simple and keep the generic code from introducing
problems by removing the special casing of TRAP_FIXME and FPE_FIXME.
This will ensure the generic case of sending a signal with
kill will always set SI_USER and work.
The architecture specific, and signal specific overloads that
set si_code to 0 will now have problems with signalfd and
the 32bit compat versions of siginfo copying. At least
until they are fixed.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions