[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Xine.LNX.4.64.0804110805370.1313@us.intercode.com.au>
Date: Fri, 11 Apr 2008 08:06:04 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Paul Moore <paul.moore@...com>
cc: linux-security-module@...r.kernel.org, netdev@...r.kernel.org,
selinux@...ho.nsa.gov
Subject: Re: [RFC PATCH v2 1/2] NetLabel: Allow passing the LSM domain as a
shared pointer
On Wed, 9 Apr 2008, Paul Moore wrote:
> Smack doesn't have the need to create a private copy of the LSM "domain" when
> setting NetLabel security attributes like SELinux, however, the current
> NetLabel code requires a private copy of the LSM "domain". This patches fixes
> that by letting the LSM determine how it wants to pass the domain value.
>
> * NETLBL_SECATTR_DOMAIN_CPY
> The current behavior, NetLabel assumes that the domain value is a copy and
> frees it when done
>
> * NETLBL_SECATTR_DOMAIN
> New, Smack-friendly behavior, NetLabel assumes that the domain value is a
> reference to a string managed by the LSM and does not free it when done
>
> Signed-off-by: Paul Moore <paul.moore@...com>
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