Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
8efb8b68
Commit
8efb8b68
authored
8 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "domain: grant all domains access to zoneinfo" into oc-dev am:
386f9460
am:
035a0424
Change-Id: I154a39ee1247c057fc7e9bc587da3e04a565f912
parents
a613b1b5
035a0424
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/domain.te
+11
-4
11 additions, 4 deletions
public/domain.te
with
11 additions
and
4 deletions
public/domain.te
+
11
−
4
View file @
8efb8b68
...
@@ -106,8 +106,8 @@ allow domain system_file:lnk_file { getattr read };
...
@@ -106,8 +106,8 @@ allow domain system_file:lnk_file { getattr read };
allow domain sysfs:lnk_file read;
allow domain sysfs:lnk_file read;
# libc references /data/misc/zoneinfo for timezone related information
# libc references /data/misc/zoneinfo for timezone related information
not_full_treble(`r_dir_file(domain, zoneinfo_data_file)')
# This directory is considered to be a VNDK-stable
r_dir_file(
{ coredomain appdomain }
, zoneinfo_data_file)
r_dir_file(
domain
, zoneinfo_data_file)
# Lots of processes access current CPU information
# Lots of processes access current CPU information
r_dir_file(domain, sysfs_devices_system_cpu)
r_dir_file(domain, sysfs_devices_system_cpu)
...
@@ -491,7 +491,10 @@ full_treble_only(`
...
@@ -491,7 +491,10 @@ full_treble_only(`
-coredomain
-coredomain
-appdomain
-appdomain
-coredata_in_vendor_violators
-coredata_in_vendor_violators
} core_data_file_type:{
}
core_data_file_type
-zoneinfo_data_file # VNDK stable API provided by libc
:{
file_class_set
file_class_set
} ~{ append getattr ioctl read write };
} ~{ append getattr ioctl read write };
# do not allow vendor component access to coredomains data directories.
# do not allow vendor component access to coredomains data directories.
...
@@ -502,7 +505,11 @@ full_treble_only(`
...
@@ -502,7 +505,11 @@ full_treble_only(`
-coredomain
-coredomain
-appdomain
-appdomain
-coredata_in_vendor_violators
-coredata_in_vendor_violators
} { core_data_file_type -system_data_file }:dir *;
} {
core_data_file_type
-system_data_file
-zoneinfo_data_file # VNDK stable API provided by libc
}:dir *;
neverallow {
neverallow {
domain
domain
-coredomain
-coredomain
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment