Re: [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interfacesupport

From: Theodore Ts'o <>
Date: 2004-09-22 03:25:46
On Mon, Sep 20, 2004 at 09:02:18PM -0600, Alex Williamson wrote:
> > But, some AML methods are risky to be called directly from user space,
> > Not only because the side effect of its execution, but also because
> > it could trigger potential AML method bug or interpreter bug, or even
> > architectural defect.  All of these headache is due to the AML method
> >  is NOT intended for being used by userspace program.
>    I've made an attempt to hide the most obvious dangerous methods, but
> undoubtedly, there will be some.  Why are we any more likely to hit an
> AML method bug, interpreter bug or architectural bug by having a
> userspace interface?  

As long as the userspace interfaces are only available to the root
filesystem, I'm not sure it's worth it to hide any of the methods.
It's added complexity, and in any case, root can do untold amounts of
damage by writing to /dev/mem, trying to upload firmware to IDE
drives, etc., etc., etc.

As you have pointed out, if there are bugs in the interpret, et. al,
it is better to expose them sooner rather than to stick our heads in
the sand and pretend they don't exist.

							- Ted
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Sep 21 13:29:59 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST