Commit 365140a7 authored by Nick Chung's avatar Nick Chung
Browse files

Device: declare device as specific acccess mode



Some drivers like EEPROM, should not be written to.
Even though we didn't use write access mode from userspace,
it still needs to guard this situation from other testing
in kernel such as Fuzzing.

Use device tree property to conduct device as read only or others.

Bug: 203716034
Bug: 195726151
Test: Fuzzing, CTS, GCA
Signed-off-by: default avatarNick Chung <nickchung@google.com>
Change-Id: I6396b4cb87e88e8a71e2ba8f3df8039e52d31525
parent be4131d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment