Re: ACPICA serialized objects?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Dec 3, 2015 at 1:37 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> [resend as plain text]
>
> I want to bundle up an arbitrary ACPI_OBJECT into a copyable stream of
> bytes, is there some standard way to do this?
>
> I'm asking because I want to try to upstream something resembling the
> rusty old acpi_call module to allow users with debugfs access who are
> willing to taint their kernel to evaluate ACPI objects from userspace.
> Presumably there would be a user tool to get object info and to
> evaluate methods, and we could handle translation to/from strings in
> userspace, but I still need some way to shove the data back and forth.

Please don't do that, this is broken as a concept.

User space has no idea whatsoever about when and it what conditions a
given AML can be executed in the first place, so in addition to
tainting the kernel it may just outright break things.

Not to mention the possibility of confusing the kernel's reference
counting and breaking assumptions made by it on the current state of
things based on what AML has been already executed.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux