Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261853AbUKRRzO (ORCPT ); Thu, 18 Nov 2004 12:55:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262803AbUKRRxb (ORCPT ); Thu, 18 Nov 2004 12:53:31 -0500 Received: from clock-tower.bc.nu ([81.2.110.250]:26601 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S262828AbUKRRwf (ORCPT ); Thu, 18 Nov 2004 12:52:35 -0500 Subject: Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET From: Alan Cox To: James Morris Cc: Ross Kendall Axe , netdev@oss.sgi.com, Stephen Smalley , lkml , Chris Wright , "David S. Miller" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1100796518.6019.11.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 18 Nov 2004 16:49:00 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 14 On Iau, 2004-11-18 at 08:27, James Morris wrote: > 2) Ensure that unix_dgram_sendmsg() fails for SOCK_SEQPACKET sockets which > are not connected, otherwise someone could bypass LSM by sending on an > unconnected socket. What about half closed and other connected states ? This patch seems inadequate for things like X.25 - 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/