From owner-freebsd-security Sun Sep 26 8:18:59 1999 Delivered-To: freebsd-security@freebsd.org Received: from relay2.aha.ru (relay2.aha.ru [195.2.64.35]) by hub.freebsd.org (Postfix) with ESMTP id 53D0F14C2B; Sun, 26 Sep 1999 08:18:52 -0700 (PDT) (envelope-from abb@zenon.net) Received: from pb.hq.zenon.net (pb [195.2.64.18]) by relay2.aha.ru (8.9.3/8.9.3/aha-r/0.04B) with ESMTP id TAA84042; Sun, 26 Sep 1999 19:18:05 +0400 (MSD) Received: from mp.hq.zenon.net (mp [192.168.9.150]) by pb.hq.zenon.net (8.9.3/8.9.3) with ESMTP id TAA24369; Sun, 26 Sep 1999 19:18:05 +0400 (MSD) Received: (from abb@localhost) by mp.hq.zenon.net (8.9.3/8.9.3) id TAA65181; Sun, 26 Sep 1999 19:18:05 +0400 (MSD) Message-ID: <19990926191804.B57967@zenon.net> Date: Sun, 26 Sep 1999 19:18:04 +0400 From: Alexander Bezroutchko To: "Daniel C. Sobral" Cc: Poul-Henning Kamp , freebsd-security@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: about jail References: <19990925171712.A80535@zenon.net> <11744.938266471@critter.freebsd.dk> <19990926015928.C22850@zenon.net> <37EE0D35.6D0A0343@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <37EE0D35.6D0A0343@newsguy.com>; from Daniel C. Sobral on Sun, Sep 26, 1999 at 09:10:29PM +0900 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > And your point is? Do the base system or another jail show qwerty too? I think we are talking about slightly different things. I know that jailed process can not change base system's hostname. But it can change it's own. Sometimes it is necessary to obtain the list of processes which belongs to some jail. How will you obtain it ? You can not rely on last field in /proc/PID/status file because it is writable for jailed process. How can you identify a jail the process belongs to ? > > -- > Daniel C. Sobral (8-DCS) > dcs@newsguy.com > dcs@freebsd.org > > Rule 69: Do unto other's code as you'd have it do unto yours > -- Alexander Bezroutchko, Systems Administrator, Zenon N.S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message