Date: Thu, 13 Jul 2006 18:12:40 +0200 From: Divacky Roman <xdivac02@stud.fit.vutbr.cz> To: hackers@freebsd.org Subject: [SoC]: question about execve() Message-ID: <20060713161240.GA68016@stud.fit.vutbr.cz>
next in thread | raw e-mail | index | archive | help
hi, durin my work on SoC I happened to be in a need of "catching" the transition of execve() from fbsd binary to linux binary and back. Kostik Belousov suggested using the process_exit handler event but it doesnt contain information necessary to distinguish such a switch. He proposes extending typedef void (*execlist_fn)(void *, struct proc *); with a 3rd param "struct image_params" and extending this structure with a brand info. That would let us see such brand switches by investigating p->p_sysent and imgp->brand_type. is this ok? or is there any better solution? thnx for answer roman ---------------------- www.liberalnistrana.cz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060713161240.GA68016>