linux sysfs: Fix read-write access in map_legacy
authorJeremy Huddleston <jeremyhu@apple.com>
Tue, 11 Oct 2011 17:22:49 +0000 (10:22 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Tue, 11 Oct 2011 17:22:49 +0000 (10:22 -0700)
commitaf4478c52c960bee08209293aa14b784ac30dc05
treee5c4284008c3be65b16690652c467697eab811fe
parentb9c5ce8083be53ea017bd15a63b173b4476fff23
linux sysfs: Fix read-write access in map_legacy

O_RDONLY | O_WRONLY != O_RDWR

><

Reported-by: Javier Pello <javier.pello@urjc.es>
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/linux_sysfs.c