diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2014-05-07 17:03:33 +0400 |
---|---|---|
committer | Alexey Kodanev <alexey.kodanev@oracle.com> | 2014-05-13 17:17:04 +0400 |
commit | 0a91955ab91bf518ff56a44bb2969b0cb549a979 (patch) | |
tree | 3d18dd73a4bef5377dc4665b3c88bd2ea8854666 /doc | |
parent | fb3da0a1f3a4f1b836e50033cb8acf7c6d0c5a05 (diff) |
device-drivers/acpi/ltp_acpi_cpufreq: fix checking for write permission
If access(some_file, W_OK) is executed by root it will return success even
if file has read-only permission. Use 'open' to test sysfs file for write
permission.
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions