Messages in this thread | ![/](/images/icornerl.gif) | | From | (Eric W. Biederman) | Date | Thu, 31 Mar 2016 17:17:53 -0500 | Subject | Re: [PATCH v4 1/4] SROP Mitigation: Architecture independent code for signal cookies |
| |
Linus Torvalds <torvalds@linux-foundation.org> writes:
> On Thu, Mar 31, 2016 at 3:25 PM, Eric W. Biederman > <ebiederm@xmission.com> wrote: >> >> I suspect we want this to be a per-mm attribute rather than a per-thread >> attribute. >> >> Otherwise you are breaking anything that uses a N-M threading model. >> Which I suspect means that this implementation choice breaks all go >> programs on linux. > > That sounds like a good point, but wouldn't it make more conceptual > sense to make it part of "struct sighand_struct" instead? > > That is also shared for threads.
Good point. Given this is a signal handling feature struct sighand_struct is the natural place to put this.
Eric
| ![\](/images/icornerr.gif) |