[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.1.10.0809051908020.2526@tundra.namei.org>
Date: Fri, 5 Sep 2008 19:08:17 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Paul Moore <paul.moore@...com>
cc: selinux@...ho.nsa.gov, netdev@...r.kernel.org,
linux-security-module@...r.kernel.org
Subject: Re: [RFC PATCH v4 10/14] selinux: Set socket NetLabel based on
connection endpoint
On Tue, 2 Sep 2008, Paul Moore wrote:
> Previous work enabled the use of address based NetLabel selectors, which while
> highly useful, brought the potential for additional per-packet overhead when
> used. This patch attempts to solve that by applying NetLabel socket labels
> when sockets are connect()'d. This should alleviate the per-packet NetLabel
> labeling for all connected sockets (yes, it even works for connected DGRAM
> sockets).
>
> Signed-off-by: Paul Moore <paul.moore@...com>
> ---
>
> include/net/cipso_ipv4.h | 5 ++
> include/net/netlabel.h | 13 ++++++
> net/ipv4/cipso_ipv4.c | 47 +++++++++++++++++++++
> net/netlabel/netlabel_kapi.c | 77 +++++++++++++++++++++++++++++++++++
> security/selinux/hooks.c | 4 +-
> security/selinux/include/netlabel.h | 8 ++++
> security/selinux/include/objsec.h | 3 +
> security/selinux/netlabel.c | 48 +++++++++++++++++++++-
> 8 files changed, 201 insertions(+), 4 deletions(-)
Acked-by: James Morris <jmorris@...ei.org>
--
James Morris
<jmorris@...ei.org>
--
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