Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756780Ab1CWWQv (ORCPT ); Wed, 23 Mar 2011 18:16:51 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:45237 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753945Ab1CWWQt (ORCPT ); Wed, 23 Mar 2011 18:16:49 -0400 From: Paul Moore Organization: Hewlett-Packard To: Pat Kane Subject: Re: [PATCH v2] net/unix: Add secdata to unix_stream msgs Date: Wed, 23 Mar 2011 18:16:46 -0400 User-Agent: KMail/1.13.6 (Linux/2.6.35-gentoo-r15; KDE/4.6.1; x86_64; ; ) Cc: Casey Schaufler , Eric Paris , David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, cxzhang@watson.ibm.com, sds@tycho.nsa.gov, jmorris@namei.org, eparis@parisplace.org, LSM References: <1300840717-4413-1-git-send-email-pekane52@gmail.com> <4D8A1BB4.4030709@schaufler-ca.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201103231816.46266.paul.moore@hp.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 22 On Wednesday, March 23, 2011 4:23:35 PM Pat Kane wrote: > >> On Tue, 2011-03-22 at 19:32 -0700, David Miller wrote: > >>> The SELINUX hook implementations even have "_dgram()" in their names. > > The LSM hook that I am having problems with, and that the patch fixes > is "secid_to_secctx()" not "socket_getpeersec_dgram()". Can you explain the problem you are having? I'm specifically interested in who is calling secid_to_secctx() on a AF_UNIX stream packet. Adding the secid token to a AF_UNIX stream packet isn't likely to be the right solution, although until we hear what the core problem is, I'm not sure we can offer any fixes. -- paul moore linux @ hp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/