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
ca326e2c
Commit
ca326e2c
authored
11 years ago
by
repo sync
Browse files
Options
Downloads
Patches
Plain Diff
Add policy for ping.
Change-Id: I168f681d8c67f470b6e639f0b1bf39346c4eb396
parent
49dca3f0
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
file_contexts
+1
-0
1 addition, 0 deletions
file_contexts
ping.te
+12
-0
12 additions, 0 deletions
ping.te
with
13 additions
and
0 deletions
file_contexts
+
1
−
0
View file @
ca326e2c
...
@@ -148,6 +148,7 @@
...
@@ -148,6 +148,7 @@
/system/etc/dhcpcd(/.*)? u:object_r:dhcp_system_file:s0
/system/etc/dhcpcd(/.*)? u:object_r:dhcp_system_file:s0
/system/xbin/su u:object_r:su_exec:s0
/system/xbin/su u:object_r:su_exec:s0
/system/vendor/bin/gpsd u:object_r:gpsd_exec:s0
/system/vendor/bin/gpsd u:object_r:gpsd_exec:s0
/system/bin/ping u:object_r:ping_exec:s0
#############################
#############################
# Vendor files
# Vendor files
#
#
...
...
This diff is collapsed.
Click to expand it.
ping.te
0 → 100644
+
12
−
0
View file @
ca326e2c
type ping, domain;
type ping_exec, file_type;
domain_auto_trans(shell, ping_exec, ping)
allow ping self:capability net_raw;
allow ping self:rawip_socket create_socket_perms;
allow ping self:udp_socket create_socket_perms;
allow ping node:rawip_socket node_bind;
allow ping dnsproxyd_socket:sock_file write;
allow ping netd:unix_stream_socket connectto;
allow ping devpts:chr_file rw_file_perms;
allow ping shell:fd use;
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