Skip to content
Snippets Groups Projects
Commit 1ecd2d8b authored by Conner Huff's avatar Conner Huff
Browse files

librmnetctl: Fix for avc denial in netmgrd

tcontext=u:r:netmgrd:s0 tclass=netlink_socket permissive=0
netmgr calls librmnetctl init where librmnetctl creates socket.
Need to add SOCK_CLOEXEC flag while creating socket.
SOCK_CLOEXEC sets the close-on-exec (FD_CLOEXEC)
flag on the new file descriptor.

Change-Id: I7497737140ae7b0bd8eca27960fec2af209200c7
parent 48ccbdb0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment