From owner-freebsd-hackers@FreeBSD.ORG Sat May 6 11:39:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82E3B16A409 for ; Sat, 6 May 2006 11:39:39 +0000 (UTC) (envelope-from phoemix@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A626243D49 for ; Sat, 6 May 2006 11:39:38 +0000 (GMT) (envelope-from phoemix@harmless.hu) Received: from localhost (localhost [127.0.0.1]) by marvin (Postfix) with ESMTP id BBB3620001CA for ; Sat, 6 May 2006 13:39:37 +0200 (CEST) Received: from marvin.harmless.hu ([127.0.0.1]) by localhost (marvin [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03947-09 for ; Sat, 6 May 2006 13:39:36 +0200 (CEST) Received: by marvin (Postfix, from userid 1000) id 3CC1E20001C9; Sat, 6 May 2006 13:39:36 +0200 (CEST) Date: Sat, 6 May 2006 13:39:36 +0200 To: freebsd-hackers@freebsd.org Message-ID: <20060506113936.GA13287@marvin.harmless.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline User-Agent: Mutt/1.5.9i From: phoemix@harmless.hu (Gergely CZUCZY) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at harmless.hu Subject: syscall calling question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 11:39:54 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline hello, There's an issue on jails i've decided to look into (jails keep on stucking into the system). Yet, i examining the 6-STABLE tree, and there is a point i don't understands in libc.so.6 there is jail_attach (i've picked a call) defined, while i was unable to find any jail-related functions defined in lib/libc. The only place they are defined is under kern/kern_jail.c, which has a different prototype than the one in the libc (according to the manual page and the source of jexec(8)). my question is, from a userland libcall, how does a kernel-functions be invoked? i couldn't figure it out by looking at the source, and also the developers handbook hadn't told this to me. Bye, Gergely Czuczy mailto: gergely.czuczy@harmless.hu PGP: http://phoemix.harmless.hu/phoemix.pgp Weenies test. Geniuses solve problems that arise. --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEXIr4bBsEN0U7BV0RAi+ZAKCsZ2bnLRU67crzWrEwuDBPjOLd2QCfb21X 3rNhcT0HMGG7WFP2x727d9w= =hBAi -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--