Re: [PATCH 2.4] add SMBIOS information to /proc/smbios -- UPDATED

From: Michael Brown
Date: Fri Apr 30 2004 - 22:46:14 EST


On Fri, 2004-04-30 at 22:30, Michael Brown wrote:
> On Fri, 2004-04-30 at 14:22, Andi Kleen wrote:
> > Michael Brown <mebrown@xxxxxxxxxxxxxxxxxx> writes:
> >
> > > Below is an updated patch to add SMBIOS information to /proc/smbios.
> > > Updates have been made per Al's previous comments. Please apply.
> >
> > What is this good for? There are tools to read this from
> > /dev/mem; and that is fine because the information is static.
> > There is no reason to bloat the kernel with this.

Sorry, I missed one other reason.

This procfs/sysfs driver allows access to smbios information by
non-root, non CAP_SYS_RAWIO users. I've had several occasions where I
have been bitten by having to be root to read smbios when I did not need
root for anything else.
--
Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/