lkml.org 
[lkml]   [2015]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.2 029/164] selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO
    3.2.70-rc1 review patch.  If anyone has any objections, please let me know.

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

    From: Nicolas Dichtel <nicolas.dichtel@6wind.com>

    commit 5b5800fad072133e4a9c2efbf735baaac83dec86 upstream.

    These commands are missing.

    Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.")
    Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    [bwh: Backported to 3.2: adjust context]
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    security/selinux/nlmsgtab.c | 2 ++
    1 file changed, 2 insertions(+)

    --- a/security/selinux/nlmsgtab.c
    +++ b/security/selinux/nlmsgtab.c
    @@ -100,6 +100,8 @@ static struct nlmsg_perm nlmsg_xfrm_perm
    { XFRM_MSG_FLUSHPOLICY, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
    { XFRM_MSG_NEWAE, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
    { XFRM_MSG_GETAE, NETLINK_XFRM_SOCKET__NLMSG_READ },
    + { XFRM_MSG_NEWSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    + { XFRM_MSG_GETSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    { XFRM_MSG_GETSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
    };



    \
     
     \ /
      Last update: 2015-08-02 03:01    [W:4.119 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site