Date: Sat, 6 May 2006 13:39:36 +0200 From: phoemix@harmless.hu (Gergely CZUCZY) To: freebsd-hackers@freebsd.org Subject: syscall calling question Message-ID: <20060506113936.GA13287@marvin.harmless.hu>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060506113936.GA13287>