Skip to content
Snippets Groups Projects
Commit 17d008ae authored by Alan Stokes's avatar Alan Stokes
Browse files

Allow hal_vibrator access to sysfs_vibrator files.

We already grant rw file access, but without dir search it's not much
use.

denied { search } for name="vibrator" dev="sysfs" ino=49606 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs_vibrator:s0 tclass=dir permissive=0

Bug: 72643420
Test: Builds, denial gone
Change-Id: I3513c0a14f0ac1e60517009046e2654f1fc45c66
parent a6acef9a
No related branches found
No related tags found
No related merge requests found
......@@ -6,3 +6,4 @@ allow hal_vibrator_client hal_vibrator_hwservice:hwservice_manager find;
# vibrator sysfs rw access
allow hal_vibrator sysfs_vibrator:file rw_file_perms;
allow hal_vibrator sysfs_vibrator:dir search;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment