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
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
21582f73
Commit
21582f73
authored
Apr 25, 2017
by
nharold
Committed by
android-build-merger
Apr 25, 2017
Browse files
Options
Downloads
Plain Diff
Merge "Allow UDP Sockets to be returned from IpSecService" am:
327d7cb9
am:
a9be5320
am:
cda872a8
Change-Id: I364c5cc081f9c906e92844a9d456b78ae90a3895
parents
c29f6955
cda872a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
private/untrusted_app.te
+8
-0
8 additions, 0 deletions
private/untrusted_app.te
with
8 additions
and
0 deletions
private/untrusted_app.te
+
8
−
0
View file @
21582f73
...
@@ -24,6 +24,14 @@ untrusted_app_domain(untrusted_app)
...
@@ -24,6 +24,14 @@ untrusted_app_domain(untrusted_app)
net_domain(untrusted_app)
net_domain(untrusted_app)
bluetooth_domain(untrusted_app)
bluetooth_domain(untrusted_app)
# allow untrusted apps to use UDP sockets provided by the system server but not
# modify them other than to connect
allow untrusted_app system_server:udp_socket { connect getattr read recvfrom sendto write };
# Allow the allocation and use of ptys
# Allow the allocation and use of ptys
# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm
# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm
create_pty(untrusted_app)
create_pty(untrusted_app)
neverallow untrusted_app system_server:udp_socket {
accept append bind create getopt ioctl listen lock name_bind
relabelfrom relabelto setattr setopt shutdown };
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