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
1d18ef44
Commit
1d18ef44
authored
Nov 22, 2016
by
Nick Kralevich
Committed by
android-build-merger
Nov 22, 2016
Browse files
Options
Downloads
Plain Diff
access_vectors: Remove unused permission definitions
am:
11dc03e5
Change-Id: Ie2c7f871c47d378cc3b8399e174b229439511452
parents
2c2ee695
11dc03e5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/access_vectors
+0
-26
0 additions, 26 deletions
private/access_vectors
public/te_macros
+1
-1
1 addition, 1 deletion
public/te_macros
with
1 addition
and
27 deletions
private/access_vectors
+
0
−
26
View file @
1d18ef44
...
...
@@ -24,7 +24,6 @@ common file
link
rename
execute
swapon
quotaon
mounton
}
...
...
@@ -57,8 +56,6 @@ common socket
shutdown
recvfrom
sendto
recv_msg
send_msg
name_bind
}
...
...
@@ -97,7 +94,6 @@ class filesystem
getattr
relabelfrom
relabelto
transition
associate
quotamod
quotaget
...
...
@@ -184,9 +180,6 @@ inherits socket
class tcp_socket
inherits socket
{
connectto
newconn
acceptfrom
node_bind
name_connect
}
...
...
@@ -205,29 +198,12 @@ inherits socket
class node
{
tcp_recv
tcp_send
udp_recv
udp_send
rawip_recv
rawip_send
enforce_dest
dccp_recv
dccp_send
recvfrom
sendto
}
class netif
{
tcp_recv
tcp_send
udp_recv
udp_send
rawip_recv
rawip_send
dccp_recv
dccp_send
ingress
egress
}
...
...
@@ -245,8 +221,6 @@ class unix_stream_socket
inherits socket
{
connectto
newconn
acceptfrom
}
class unix_dgram_socket
...
...
...
...
This diff is collapsed.
Click to expand it.
public/te_macros
+
1
−
1
View file @
1d18ef44
...
...
@@ -237,7 +237,7 @@ define(`selinux_check_access', `
r_dir_file($1, selinuxfs)
allow $1 selinuxfs:file w_file_perms;
allow $1 kernel:security compute_av;
allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto
recv_msg send_msg
name_bind };
allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind };
')
#####################################
...
...
...
...
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
sign in
to comment