diff options
author | Dmitry Safonov <[email protected]> | 2016-04-18 16:43:43 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-04-19 10:44:52 +0200 |
commit | abfb9498ee1327f534df92a7ecaea81a85913bae (patch) | |
tree | 5cf36e86f2f9b2166df60a3e2b59da196e848fb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6666ea558b1f4134291c15ac59366f69c2d1f321 (diff) |
x86/entry: Rename is_{ia32,x32}_task() to in_{ia32,x32}_syscall()
The is_ia32_task()/is_x32_task() function names are a big misnomer: they
suggests that the compat-ness of a system call is a task property, which
is not true, the compatness of a system call purely depends on how it
was invoked through the system call layer.
A task may call 32-bit and 64-bit and x32 system calls without changing
any of its kernel visible state.
This specific minomer is also actively dangerous, as it might cause kernel
developers to use the wrong kind of security checks within system calls.
So rename it to in_{ia32,x32}_syscall().
Suggested-by: Andy Lutomirski <[email protected]>
Suggested-by: Ingo Molnar <[email protected]>
Signed-off-by: Dmitry Safonov <[email protected]>
[ Expanded the changelog. ]
Acked-by: Andy Lutomirski <[email protected]>
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions