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
18ab99f6
Commit
18ab99f6
authored
7 years ago
by
Tom Cherry
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Disallow vendor_init from accessing core_data_file_type" am:
bb694aac
am:
255f1fb5
Change-Id: I003f8134948e52ce68b197e4ea7462941be13cf3
parents
a2f243dc
255f1fb5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/vendor_init.te
+7
-87
7 additions, 87 deletions
public/vendor_init.te
with
7 additions
and
87 deletions
public/vendor_init.te
+
7
−
87
View file @
18ab99f6
...
@@ -33,127 +33,47 @@ allow vendor_init self:global_capability_class_set { chown fowner fsetid };
...
@@ -33,127 +33,47 @@ allow vendor_init self:global_capability_class_set { chown fowner fsetid };
allow vendor_init {
allow vendor_init {
file_type
file_type
-app_data_file
-core_data_file_type
-bluetooth_data_file
-dalvikcache_data_file
-exec_type
-exec_type
-incident_data_file
-keystore_data_file
-misc_logd_file
-network_watchlist_data_file
-nfc_data_file
-property_data_file
-radio_data_file
-shell_data_file
-system_app_data_file
-system_file
-system_file
-system_ndebug_socket
-unlabeled
-unlabeled
-vendor_file_type
-vendor_file_type
-vold_data_file
}:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom };
-zoneinfo_data_file
}:dir { create search getattr open read setattr ioctl };
allow vendor_init {
allow vendor_init {
file_type
file_type
-app_data_file
-core_data_file_type
-bluetooth_data_file
-dalvikcache_data_file
-exec_type
-exec_type
-incident_data_file
-keystore_data_file
-misc_logd_file
-network_watchlist_data_file
-nfc_data_file
-property_data_file
-radio_data_file
-shell_data_file
-system_app_data_file
-system_file
-system_ndebug_socket
-unlabeled
-vendor_file_type
-vold_data_file
-zoneinfo_data_file
}:dir { write add_name remove_name rmdir relabelfrom };
allow vendor_init {
file_type
-app_data_file
-bluetooth_data_file
-dalvikcache_data_file
-runtime_event_log_tags_file
-runtime_event_log_tags_file
-exec_type
-incident_data_file
-keystore_data_file
-misc_logd_file
-network_watchlist_data_file
-nfc_data_file
-property_data_file
-radio_data_file
-shell_data_file
-system_app_data_file
-system_file
-system_file
-system_ndebug_socket
-unlabeled
-unlabeled
-vendor_file_type
-vendor_file_type
-vold_data_file
-zoneinfo_data_file
}:file { create getattr open read write setattr relabelfrom unlink };
}:file { create getattr open read write setattr relabelfrom unlink };
allow vendor_init {
allow vendor_init {
file_type
file_type
-app_data_file
-core_data_file_type
-bluetooth_data_file
-dalvikcache_data_file
-exec_type
-exec_type
-incident_data_file
-keystore_data_file
-misc_logd_file
-network_watchlist_data_file
-nfc_data_file
-property_data_file
-radio_data_file
-shell_data_file
-system_app_data_file
-system_file
-system_file
-system_ndebug_socket
-unlabeled
-unlabeled
-vendor_file_type
-vendor_file_type
-vold_data_file
-zoneinfo_data_file
}:{ sock_file fifo_file } { create getattr open read setattr relabelfrom unlink };
}:{ sock_file fifo_file } { create getattr open read setattr relabelfrom unlink };
allow vendor_init {
allow vendor_init {
file_type
file_type
-app_data_file
-core_data_file_type
-bluetooth_data_file
-dalvikcache_data_file
-exec_type
-exec_type
-incident_data_file
-keystore_data_file
-misc_logd_file
-network_watchlist_data_file
-nfc_data_file
-property_data_file
-radio_data_file
-shell_data_file
-system_app_data_file
-system_file
-system_file
-system_ndebug_socket
-unlabeled
-unlabeled
-vendor_file_type
-vendor_file_type
-vold_data_file
-zoneinfo_data_file
}:lnk_file { create getattr setattr relabelfrom unlink };
}:lnk_file { create getattr setattr relabelfrom unlink };
allow vendor_init {
allow vendor_init {
file_type
file_type
-core_data_file_type
-exec_type
-system_file
-system_file
-vendor_file_type
-vendor_file_type
-exec_type
-vold_data_file
-keystore_data_file
}:dir_file_class_set relabelto;
}:dir_file_class_set relabelto;
allow vendor_init dev_type:dir create_dir_perms;
allow vendor_init dev_type:dir create_dir_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