From owner-freebsd-questions Wed Mar 13 14:45:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.undp.org (rock.undp.org [192.124.42.30]) by hub.freebsd.org (Postfix) with ESMTP id 713C437B437; Wed, 13 Mar 2002 14:45:38 -0800 (PST) Received: from belka.undp.org (belka.undp.org [192.124.42.51]) by relay2.undp.org (8.11.1/8.11.1/1.16) with ESMTP id g2DMjXA23770; Wed, 13 Mar 2002 17:45:33 -0500 (EST) Received: from belka.undp.org (localhost [127.0.0.1]) by belka.undp.org (8.10.0/8.10.0) with ESMTP id g2DMjSo19833; Wed, 13 Mar 2002 17:45:28 -0500 (EST) Received: from inet02.hq.undp.org (strelka.undp.org [192.124.42.50]) by belka.undp.org (8.10.0/8.10.0) with ESMTP id g2DMjRl19807; Wed, 13 Mar 2002 17:45:27 -0500 (EST) Received: from undp.org ([127.0.0.1]) by inet02.hq.undp.org (Netscape Messaging Server 4.15) with ESMTP id GSXOJQ00.F6F; Wed, 13 Mar 2002 17:45:26 -0500 From: "Ugen Antsilevitch" To: developers@freebsd.org Cc: questions@freebsd.org Message-ID: <89b39b89d655.89d65589b39b@undp.org> Date: Wed, 13 Mar 2002 17:45:26 -0500 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: en Subject: Re: Kernel module and syscall locking. X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey! Any takers? On the related note, in the /proc//file we make file point to the binary image of the process. However (as of 4.2) vfs_cache.c:text_fullpath() stops at "fdp->fd_rdir" (which is what chroot/jail will make the root for the process, right?). CURRENT seems to have similar code in vn_fullpath(). This is fine for things like getcwd() etc but in the /proc imho a link should point to the actual binary image. If i see /bin/ls i'd like to know it is not /some/chroot/bin/ls which in fact is not /bin/ls at all and does something evil quietly:))))) > 3) 4.2 (and 4.X in general) are still single "thread" kernels, > right? what about 5.0 ? (that may be an ignorance question but > i can't download the source tree now, with the modem connection > being the only one available). Got this on my own :) 4.x is fine, no need to worry and i will deal with reentrant kernel when i'll have to. Ideas?:) --Ugen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message