Skip to content
Snippets Groups Projects
Commit fb0863a4 authored by Max Bires's avatar Max Bires
Browse files

Changing ueventd access from vendor_file to vendor_file_type.

This handles any relabeling of vendor_file to a more specific type in
the case of device bringups or future changes to private/file_context
since ueventd will still need read access to all vendor_file's.

Test: Ueventd has read access to any vendor_file_type
Change-Id: I922af54c76d1ef46ea6536e6dc945b37bcc2126a
parent 14d16ad9
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ allow ueventd efs_file:file r_file_perms;
r_dir_file(ueventd, selinuxfs)
# Access for /vendor/ueventd.rc and /vendor/firmware
r_dir_file(ueventd, vendor_file)
r_dir_file(ueventd, { vendor_file_type -vendor_app_file -vendor_overlay_file })
# Get file contexts for new device nodes
allow ueventd file_contexts_file:file r_file_perms;
......
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