Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
cdf186e4
Commit
cdf186e4
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "hal_configstore: use crash_dump fallback path" into oc-mr1-dev
parents
cf627a49
c5884836
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/domain.te
+0
-7
0 additions, 7 deletions
public/domain.te
public/hal_configstore.te
+7
-0
7 additions, 0 deletions
public/hal_configstore.te
with
7 additions
and
7 deletions
public/domain.te
+
0
−
7
View file @
cdf186e4
...
@@ -775,13 +775,6 @@ neverallow {
...
@@ -775,13 +775,6 @@ neverallow {
-mediaextractor
-mediaextractor
} tombstoned_crash_socket:unix_stream_socket connectto;
} tombstoned_crash_socket:unix_stream_socket connectto;
neverallow {
domain
-crash_dump
-mediacodec
-mediaextractor
} tombstoned_crash_socket:sock_file write;
# Never allow anyone except dumpstate or the system server to connect or write to
# Never allow anyone except dumpstate or the system server to connect or write to
# the tombstoned intercept socket.
# the tombstoned intercept socket.
neverallow { domain -dumpstate -system_server } tombstoned_intercept_socket:sock_file write;
neverallow { domain -dumpstate -system_server } tombstoned_intercept_socket:sock_file write;
...
...
This diff is collapsed.
Click to expand it.
public/hal_configstore.te
+
7
−
0
View file @
cdf186e4
...
@@ -8,6 +8,10 @@ add_hwservice(hal_configstore_server, hal_configstore_ISurfaceFlingerConfigs)
...
@@ -8,6 +8,10 @@ add_hwservice(hal_configstore_server, hal_configstore_ISurfaceFlingerConfigs)
# this HAL should be restricted to different clients. Thus, the allow rules for
# this HAL should be restricted to different clients. Thus, the allow rules for
# clients are defined in the .te files of the clients.
# clients are defined in the .te files of the clients.
# hal_configstore runs with a strict seccomp filter. Use crash_dump's
# fallback path to collect crash data.
crash_dump_fallback(hal_configstore_server)
###
###
### neverallow rules
### neverallow rules
###
###
...
@@ -33,11 +37,14 @@ neverallow hal_configstore_server {
...
@@ -33,11 +37,14 @@ neverallow hal_configstore_server {
-hal_configstore_server
-hal_configstore_server
-logd
-logd
userdebug_or_eng(`-su')
userdebug_or_eng(`-su')
-tombstoned
}:{ unix_dgram_socket unix_stream_socket } *;
}:{ unix_dgram_socket unix_stream_socket } *;
# Should never need access to anything on /data
# Should never need access to anything on /data
neverallow hal_configstore_server {
neverallow hal_configstore_server {
data_file_type
data_file_type
-anr_data_file # for crash dump collection
-tombstone_data_file # for crash dump collection
-zoneinfo_data_file # granted to domain
-zoneinfo_data_file # granted to domain
}:{ file fifo_file sock_file } *;
}:{ file fifo_file sock_file } *;
...
...
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