Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
154657f0
Commit
154657f0
authored
9 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "sepolicy: Fix 'avc denied' issues for the emulators"
parents
66745738
36a76ec0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
target/board/generic/sepolicy/domain.te
target/board/generic/sepolicy/domain.te
+2
-0
target/board/generic/sepolicy/goldfish_setup.te
target/board/generic/sepolicy/goldfish_setup.te
+2
-0
target/board/generic/sepolicy/netd.te
target/board/generic/sepolicy/netd.te
+1
-0
No files found.
target/board/generic/sepolicy/domain.te
View file @
154657f0
# For /sys/qemu_trace files in the emulator.
allow domain sysfs_writable:file rw_file_perms;
allow domain qemu_device:chr_file rw_file_perms;
get_prop(domain, qemu_prop)
This diff is collapsed.
Click to expand it.
target/board/generic/sepolicy/goldfish_setup.te
View file @
154657f0
...
...
@@ -13,6 +13,8 @@ allow goldfish_setup toolbox_exec:file rx_file_perms;
allow goldfish_setup self:capability { net_admin net_raw };
allow goldfish_setup self:udp_socket create_socket_perms;
net_domain(goldfish_setup)
# Set net.eth0.dns*, debug.sf.nobootanimation
set_prop(goldfish_setup, system_prop)
set_prop(goldfish_setup, debug_prop)
...
...
This diff is collapsed.
Click to expand it.
target/board/generic/sepolicy/netd.te
0 → 100644
View file @
154657f0
dontaudit netd self:capability sys_module;
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment