Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Jul 2002 07:40:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Jul 2002 07:40:28 -0400 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:56588 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Mon, 29 Jul 2002 07:40:27 -0400 Date: Mon, 29 Jul 2002 07:37:50 -0400 (EDT) From: Bill Davidsen To: Shaya Potter cc: linux-kernel@vger.kernel.org Subject: Re: file descriptor passing (jail related question) In-Reply-To: <1027115899.2161.110.camel@zaphod> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 23 On 19 Jul 2002, Shaya Potter wrote: > If it can be transmited over IP, its a much more serious issue, as all > one has to do is crack a jail (root inside the jail), crack the local > system (regular user) run a program that talks to the local system over > ip, and have the cracked regular user pass a fd in. But of course you would have no more access outside the jail than the cracked user. I would expect connections into the jail to behave as if they were on another machine, which would prevent fd passing. At least the last time I played with fd passing it didn't work between machines, that may have been a bug rather than a security features, of course. -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/