Re: [PATCH 4/7] x86/dumpstack: If addr_limit is non-default, display it

From: Borislav Petkov
Date: Mon May 30 2016 - 03:40:17 EST

On Sun, May 29, 2016 at 12:08:29PM -0700, Andy Lutomirski wrote:
> Sure, but how do I implement that? There's no "does this arch have
> addr_limit in thread_info" general flag that I know of.

What about get_fs()? Looks like all arches implement that and on sparc
it is something called thread_info.current_ds...


ECO tip #101: Trim your mails when you reply.