[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070110204922.GA1652@gondor.apana.org.au>
Date: Thu, 11 Jan 2007 07:49:22 +1100
From: Herbert Xu <herbert.xu@...hat.com>
To: Venkat Yekkirala <vyekkirala@...stedcs.com>
Cc: 'James Morris' <jmorris@...ei.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Paul Moore <paul.moore@...com>
Subject: Re: [IPSEC] flow: Cache negative results
On Wed, Jan 10, 2007 at 11:41:07AM -0600, Venkat Yekkirala wrote:
>
> Only, on a security policy denial (-ESRCH from the LSM hook), a 0
> is returned by the resolver to signify no applicable policy since
> a negative result is akin to no policy. And I see the "no policy"
> case is already cached.
I'm not talking about an xfrm policy lookup failure, that exists
with or without SELinux. I'm talking about an error returned from
security_xfrm_policy_lookup(), i.e., whether a policy can be used
or not. For that case, we only cache positive results currently.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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