[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1365488677.3887.117.camel@edumazet-glaptop>
Date: Mon, 08 Apr 2013 23:24:37 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Casey Schaufler <casey@...aufler-ca.com>
Cc: Paul Moore <pmoore@...hat.com>, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org, mvadkert@...hat.com,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH] selinux: add a skb_owned_by() hook
On Mon, 2013-04-08 at 21:29 -0700, Casey Schaufler wrote:
> I don't understand what this hook does.
It documents that security modules might need to get an sk pointer from
an skb, especially for TCP SYNACK messages.
> Does it affect Smack (which uses NetLabel) as well?
> How can I find out?
If you ask the question, thats is probably because Smack is not
affected.
selinux uses netfilter hooks, not Smack. selinux could probably refine
the need to set skb->sk based on CONFIG_NETFILTER, but I leave that
for a future change.
Just try the patch, and add your 'Tested-by', that will be fine.
If you believe Smack has an issue, tell us why, and we'll add the
follow-up patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists