From: Ingo Molnar <mingo@kernel.org>
To: Borislav Petkov <bp@alien8.de>
Cc: "Luck, Tony" <tony.luck@intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andy Lutomirski <luto@amacapital.net>,
Peter Zijlstra <peterz@infradead.org>,
Steven Rostedt <rostedt@goodmis.org>,
Brian Gerst <brgerst@gmail.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] Dump interesting arch/platform info
Date: Wed, 3 Feb 2016 11:48:23 +0100 [thread overview]
Message-ID: <20160203104823.GA21257@gmail.com> (raw)
In-Reply-To: <20160202094147.GA3778@pd.tnic>
* Borislav Petkov <bp@alien8.de> wrote:
> On Mon, Feb 01, 2016 at 11:29:03PM +0000, Luck, Tony wrote:
> > On a high core count, multi-socket, machine I see almost 10K lines
> > of output from this. If you add other things it will become a bit
> > of a jumble to parse.
>
> Always thinking big... :-)
>
> > Perhaps the module name "archinfo" is fine, but each separate thing
> > it shows should get its own file. Starting with:
> >
> > /sys/kernel/debug/x86/gdtinfo
> >
> > for the current output?
>
> Right, or put everything under a directory "archinfo":
>
> /sys/kernel/debug/x86/archinfo/ ... gdt
> ... msrs
>
> ...
>
> and so on.
>
> Yap, sounds better. Thanks!
Agreed. We used to have something like this but then removed it due to various
problems - but the concept itself is fine.
Note that these can be pretty security sensitive pieces of information, and can
also expose ASLR/KASLR details, so the VFS interface needs to be a strictly
root-only thing.
Thanks,
Ingo
next prev parent reply other threads:[~2016-02-03 10:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 11:56 [RFC] Dump interesting arch/platform info Borislav Petkov
2016-02-01 23:29 ` Luck, Tony
2016-02-02 9:41 ` Borislav Petkov
2016-02-03 10:48 ` Ingo Molnar [this message]
2016-02-03 11:00 ` Borislav Petkov
2016-02-04 15:22 ` [PATCH -v2] x86: Add an archinfo dumper module Borislav Petkov
2016-02-04 19:07 ` Luck, Tony
2016-02-07 10:51 ` Borislav Petkov
2016-02-09 19:17 ` Luck, Tony
2016-02-09 19:46 ` Borislav Petkov
2016-02-05 19:51 ` Luck, Tony
2016-02-05 22:24 ` Luck, Tony
2016-02-08 0:01 ` H. Peter Anvin
2016-02-08 7:50 ` Boris Petkov
2016-02-09 12:23 ` Ingo Molnar
2016-02-09 14:01 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160203104823.GA21257@gmail.com \
--to=mingo@kernel.org \
--cc=bp@alien8.de \
--cc=brgerst@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.