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

Michael Brown
2004-05-01T03:45:07Z

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@michaels-house.net> 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