Re: [PATCH] acpi ec_sys: Be more cautious about ec write access

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

 



On Thu, 29 Jul 2010, Thomas Renninger wrote:
> - Only allow root to read/write io file (sever bug!)

I'd go further, and only allow CAP_SYS_RAWIO.

> +	  The kernel accesses the EC through ACPI parsed code provided by BIOS
> +	  tables. This option allows to access the EC directly without ACPI
> +	  code being involved.

This is not really true.  Kernel drivers can, and do access the EC without
help from the AML firmware (DSDT, SSDT...).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux