Re: ISA slot detection on PCI systems?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jan 02 2002 - 17:50:47 EST


> 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

-
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/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:18 EST