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:
Nick Chung <nickchung@google.com>
Change-Id: I6396b4cb87e88e8a71e2ba8f3df8039e52d31525
Loading
Please sign in to comment