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
5faa0c2a
Commit
5faa0c2a
authored
6 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Neverallow unexpected domains to access bluetooth_prop and wifi_prop" into pi-dev
parents
ad3529a8
dce86b3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/property.te
+65
-4
65 additions, 4 deletions
public/property.te
with
65 additions
and
4 deletions
public/property.te
+
65
−
4
View file @
5faa0c2a
...
@@ -154,7 +154,6 @@ compatible_property_only(`
...
@@ -154,7 +154,6 @@ compatible_property_only(`
-coredomain
-coredomain
-appdomain
-appdomain
-hal_nfc_server
-hal_nfc_server
-vendor_init
} {
} {
nfc_prop
nfc_prop
}:property_service set;
}:property_service set;
...
@@ -167,11 +166,57 @@ compatible_property_only(`
...
@@ -167,11 +166,57 @@ compatible_property_only(`
-vendor_init
-vendor_init
} {
} {
exported_radio_prop
exported_radio_prop
exported2_radio_prop
exported3_radio_prop
exported3_radio_prop
}:property_service set;
neverallow {
domain
-coredomain
-appdomain
-hal_telephony_server
} {
exported2_radio_prop
radio_prop
radio_prop
}:property_service set;
}:property_service set;
neverallow {
domain
-coredomain
-bluetooth
-hal_bluetooth
} {
bluetooth_prop
}:property_service set;
neverallow {
domain
-coredomain
-bluetooth
-hal_bluetooth
-vendor_init
} {
exported_bluetooth_prop
}:property_service set;
neverallow {
domain
-coredomain
-hal_wifi
-wificond
} {
wifi_prop
}:property_service set;
neverallow {
domain
-coredomain
-hal_wifi
-wificond
-vendor_init
} {
exported_wifi_prop
}:property_service set;
# Prevent properties from being read
# Prevent properties from being read
neverallow {
neverallow {
domain
domain
...
@@ -200,7 +245,6 @@ compatible_property_only(`
...
@@ -200,7 +245,6 @@ compatible_property_only(`
-coredomain
-coredomain
-appdomain
-appdomain
-hal_nfc_server
-hal_nfc_server
-vendor_init
} {
} {
nfc_prop
nfc_prop
}:file no_rw_file_perms;
}:file no_rw_file_perms;
...
@@ -210,8 +254,25 @@ compatible_property_only(`
...
@@ -210,8 +254,25 @@ compatible_property_only(`
-coredomain
-coredomain
-appdomain
-appdomain
-hal_telephony_server
-hal_telephony_server
-vendor_init
} {
} {
radio_prop
radio_prop
}:file no_rw_file_perms;
}:file no_rw_file_perms;
neverallow {
domain
-coredomain
-bluetooth
-hal_bluetooth
} {
bluetooth_prop
}:file no_rw_file_perms;
neverallow {
domain
-coredomain
-hal_wifi
-wificond
} {
wifi_prop
}:file no_rw_file_perms;
')
')
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