lkml.org 
[lkml]   [2015]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 039/146] selinux/nlmsg: add XFRM_MSG_MAPPING
    Date
    From: Nicolas Dichtel <nicolas.dichtel@6wind.com>

    3.4.109-rc1 review patch. If anyone has any objections, please let me know.

    ------------------


    commit bd2cba07381a6dba60bc1c87ed8b37931d244da1 upstream.

    This command is missing.

    Fixes: 3a2dfbe8acb1 ("xfrm: Notify changes in UDP encapsulation via netlink")
    CC: Martin Willi <martin@strongswan.org>
    Reported-by: Stephen Smalley <sds@tycho.nsa.gov>
    Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Zefan Li <lizefan@huawei.com>
    ---
    security/selinux/nlmsgtab.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c
    index 2efba86..5776921 100644
    --- a/security/selinux/nlmsgtab.c
    +++ b/security/selinux/nlmsgtab.c
    @@ -105,6 +105,7 @@ static struct nlmsg_perm nlmsg_xfrm_perms[] =
    { XFRM_MSG_NEWSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    { XFRM_MSG_GETSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    { XFRM_MSG_GETSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    + { XFRM_MSG_MAPPING, NETLINK_XFRM_SOCKET__NLMSG_READ },
    };

    static struct nlmsg_perm nlmsg_audit_perms[] =
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-09-15 11:21    [W:4.094 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site