lkml.org 
[lkml]   [2002]   [Jan]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 2 Jan 2002 17:34:19 -0500
From"Eric S. Raymond" <>
SubjectRe: ISA slot detection on PCI systems?
Alan Cox <alan@lxorguk.ukuu.org.uk>:
> > But you're thinking like a developer, not a user.  The right question
> > is which approach requires the lowest level of *user* privilege to get
> > the job done.  Comparing world-readable /proc files versus a setuid app,
> > the answer is obvious.  This sort of thing is exactly what /proc is *for*.
> 
> Both require the same level of user privilege. 
> 
> 	cat /proc/wasteofmemory/dmi | dmidecoder
> v
> 	/sbin/dmidump | dmidecoder

What?  Perhaps we're talking at cross-prorposes here.  What I'm proposing
is that /proc/dmi should be a world-readable /proc file with the property
that 
	cat /proc/dmi

gives you a DMI report.  No root privileges or SUID programs needed.
Surely that would be an improvement on having to run Arjan's dmidecode as
root or requiring it to be SUID.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

No one who's seen it in action can say the phrase "government help" without
either laughing or crying.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:18    [from the cache]
©2003-2008