commit | 1ecd2d8bdee56c0e99550b0f644937d71b7fef01 | [log] [tgz] |
---|---|---|
author | Conner Huff <chuff@codeaurora.org> | Fri Apr 20 11:12:35 2018 -0700 |
committer | Conner Huff <chuff@codeaurora.org> | Thu Apr 26 11:25:41 2018 -0700 |
tree | 172a64b1a2367d99d57954d5f615d15e6400b7ca | |
parent | 48ccbdb018f773e9c9074fe6d6514eeffa740d70 [diff] |
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