Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
allow oemfs:dir search
Browse files Browse the repository at this point in the history
mediaserver and drmserver both have permission to read oemfs
related files. However, there are no search permissions on the
directory, so the files would be unreachable.

Grant search permissions on the oemfs directory, so that the files
within that directory can be read.

Bug: 17954291
Change-Id: I9e36dc7b940bd46774753c1fa07b0f47c36ff0db
  • Loading branch information
nickkral committed Oct 10, 2014
1 parent 2380d05 commit ebfd9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drmserver.te
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ allow drmserver radio_data_file:file { read getattr };
allow drmserver drmserver_service:service_manager add;

# /oem access
allow drmserver oemfs:dir search;
allow drmserver oemfs:file r_file_perms;
1 change: 1 addition & 0 deletions mediaserver.te
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ allow mediaserver tee:unix_stream_socket connectto;
allow mediaserver mediaserver_service:service_manager add;

# /oem access
allow mediaserver oemfs:dir search;
allow mediaserver oemfs:file r_file_perms;

0 comments on commit ebfd9f8

Please sign in to comment.