platform_system_core/toolbox
Nick Kralevich 38e9f2320a getevent: O_RDWR -> O_RDONLY | O_CLOEXEC
No need to open the device read write. Just open it read-only.

This is a partial redo of
https://android-review.googlesource.com/c/platform/system/core/+/334583
which was reverted in
https://android-review.googlesource.com/c/platform/system/core/+/342483

Bug: 30861057
Test: ran getevent, saw correct output, played with device
Change-Id: I426efd68f39dcd97d3ee23c13ed1a9ed96cb4c2e
2018-08-24 12:16:17 -07:00
..
upstream-netbsd/usr.bin/grep Revert "Switch to PCRE grep." 2018-07-26 14:52:45 -07:00
Android.bp Move back to BSD grep, and make it available for recovery too. 2018-08-01 10:35:46 -07:00
generate-input.h-labels.py
getevent.c getevent: O_RDWR -> O_RDONLY | O_CLOEXEC 2018-08-24 12:16:17 -07:00
getprop.cpp newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
MODULE_LICENSE_APACHE2 newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
NOTICE newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
r.c
toolbox.c
tools.h newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00