Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1386870
| From | Dmitry Safonov <0x7f454c46@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 1/3] x86/signal: add SA_{X32,IA32}_ABI sa_flags |
| Date | 2016-04-25 22:40 +0200 |
| Message-ID | <rrVsu-3wP-9@gated-at.bofh.it> (permalink) |
| References | <rrRoT-mn-11@gated-at.bofh.it> <rrUmK-2Ic-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-04-25 22:20 GMT+03:00 Andy Lutomirski <luto@amacapital.net>: > On Mon, Apr 25, 2016 at 9:12 AM, Dmitry Safonov <dsafonov@virtuozzo.com> wrote: >> Introduce new flags that defines which ABI to use on creating sigframe. >> Those flags one may set from the userspace, or kernel will set them >> according to syscall, which sets handler for a signal. >> So that will drop the dependency on TIF_IA32/TIF_X32 flags on syscall deliver. >> Those flags will be used only under CONFIG_COMPAT. >> >> The same way ARM uses sa_flags to differ in which mode deliver signal >> for 26-bit applications (look at SA_THIRYTWO). > > Hmm. Do we want to make these user-visible at all, or should it be > purely an in-kernel thing? Yes, I'll rework it to not expose to userspace. I thought about it as a bonus when did it, but yeah, it's better not reveal a new interfaces until they really needed. But anyway, I did it for RFC, and I don't know what's better for hidden flag: reuse sa_flags or invent in ksig a new hidden member only for the kernel?
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC 1/3] x86/signal: add SA_{X32,IA32}_ABI sa_flags Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-04-25 18:20 +0200
[RFC 2/3] x86/coredump: use core regs, rather that TIF_IA32 flag Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-04-25 18:20 +0200
Re: [RFC 2/3] x86/coredump: use core regs, rather that TIF_IA32 flag Andy Lutomirski <luto@amacapital.net> - 2016-04-25 19:00 +0200
[RFC 3/3] x86/ptrace: down with test_thread_flag(TIF_IA32) Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-04-25 18:20 +0200
Re: [RFC 3/3] x86/ptrace: down with test_thread_flag(TIF_IA32) Andy Lutomirski <luto@amacapital.net> - 2016-04-25 19:00 +0200
Re: [RFC 3/3] x86/ptrace: down with test_thread_flag(TIF_IA32) Andy Lutomirski <luto@amacapital.net> - 2016-04-25 21:40 +0200
Re: [RFC 3/3] x86/ptrace: down with test_thread_flag(TIF_IA32) Dmitry Safonov <0x7f454c46@gmail.com> - 2016-04-25 22:40 +0200
Re: [RFC 1/3] x86/signal: add SA_{X32,IA32}_ABI sa_flags Andy Lutomirski <luto@amacapital.net> - 2016-04-25 21:30 +0200
Re: [RFC 1/3] x86/signal: add SA_{X32,IA32}_ABI sa_flags Andy Lutomirski <luto@amacapital.net> - 2016-04-25 22:40 +0200
Re: [RFC 1/3] x86/signal: add SA_{X32,IA32}_ABI sa_flags Dmitry Safonov <0x7f454c46@gmail.com> - 2016-04-25 22:40 +0200
csiph-web