Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1325191

Re: [RFC] Dump interesting arch/platform info

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC] Dump interesting arch/platform info
Date 2016-02-03 11:50 +0100
Message-ID <qY3ay-Nu-31@gated-at.bofh.it> (permalink)
References <qXljc-25A-7@gated-at.bofh.it> <qXw4V-1KM-3@gated-at.bofh.it> <qXFKW-BP-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] Dump interesting arch/platform info Borislav Petkov <bp@alien8.de> - 2016-02-01 13:00 +0100
  RE: [RFC] Dump interesting arch/platform info "Luck, Tony" <tony.luck@intel.com> - 2016-02-02 00:30 +0100
    Re: [RFC] Dump interesting arch/platform info Borislav Petkov <bp@alien8.de> - 2016-02-02 10:50 +0100
      Re: [RFC] Dump interesting arch/platform info Ingo Molnar <mingo@kernel.org> - 2016-02-03 11:50 +0100
        Re: [RFC] Dump interesting arch/platform info Borislav Petkov <bp@alien8.de> - 2016-02-03 12:10 +0100
          [PATCH -v2] x86: Add an archinfo dumper module Borislav Petkov <bp@alien8.de> - 2016-02-04 16:30 +0100
            Re: [PATCH -v2] x86: Add an archinfo dumper module "Luck, Tony" <tony.luck@intel.com> - 2016-02-04 20:10 +0100
              Re: [PATCH -v2] x86: Add an archinfo dumper module Borislav Petkov <bp@alien8.de> - 2016-02-07 12:00 +0100
            Re: [PATCH -v2] x86: Add an archinfo dumper module "Luck, Tony" <tony.luck@intel.com> - 2016-02-05 21:00 +0100
              RE: [PATCH -v2] x86: Add an archinfo dumper module "Luck, Tony" <tony.luck@intel.com> - 2016-02-05 23:30 +0100
            Re: [PATCH -v2] x86: Add an archinfo dumper module "H. Peter Anvin" <hpa@zytor.com> - 2016-02-08 01:10 +0100
              Re: [PATCH -v2] x86: Add an archinfo dumper module Boris Petkov <bp@alien8.de> - 2016-02-08 09:00 +0100

csiph-web