summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2017-01-19 12:56:06 +0000
committerElliott Hughes <enh@google.com>2017-02-09 14:45:25 -0800
commit344e929e6d8cc2925e55d7f72262002fcc181f52 (patch)
treec7f7eb420791e81f835a2a2f681e7d2105716278 /libunwindstack/tests/MemoryFileTest.cpp
parent01b25ab14912712024d5342064c7b70de85e2db8 (diff)
Only allow system to write to existing input nodes.
This prevents the shell user from injecting input as if it were coming from an existing input device, which in turn makes it easier for malware / abuse analysis to detect when someone is injecting input via the command line vs a real user using a device. (cherrypick of 95637eb2a332b9a09914b1bf32c10fccfba4a175.) Bug: 30861057 Test: ran getevent, saw correct output, played with device Change-Id: Ib53eea1b7767f25510b5d36fe6109101a9fad8e0
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions