Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753774AbXCSJ5s (ORCPT ); Mon, 19 Mar 2007 05:57:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753782AbXCSJ5s (ORCPT ); Mon, 19 Mar 2007 05:57:48 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:47181 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753774AbXCSJ5r (ORCPT ); Mon, 19 Mar 2007 05:57:47 -0400 Date: Sun, 18 Mar 2007 20:55:23 +0000 From: Alan Cox To: ebiederm@xmission.com (Eric W. Biederman) Cc: Andrew Morton , "Linux Kernel Mailing List" , "Catalin Marinas" , Stephen Smalley Subject: Re: [PATCH 3/4] tty: Introduce no_tty and use it in selinux Message-ID: <20070318205523.39473bd0@lxorguk.ukuu.org.uk> In-Reply-To: References: X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 18 Mar 2007 13:08:34 -0600 ebiederm@xmission.com (Eric W. Biederman) wrote: > > While researching the tty layer pid leaks I found a weird case in > selinux when we drop a controlling tty because of inadequate > permissions we don't do the normal hangup processing. Which is a > problem if it happens the session leader has exec'd something that > can no longer access the tty. Acked-by: Alan Cox