Re: Questions on intercepting execve syscall

2003-11-16 Thread Kai Zhu
Thanks Murat! I have tried your example, and fixed the problem of my code accordingly. Murat Balaban <[EMAIL PROTECTED]> wrote: Hi, It might be that you have some bad address in the execve index of sysent array. See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c for a simple example

Re: Observations on make release process?

2003-11-16 Thread Clifton Royston
On Sat, Nov 15, 2003 at 10:14:35PM -0800, Wes Peters wrote: > Patches or additions to existing documentation, or even just providing > text to one of our many dedicated doco contributors, would be greatly > appreciated. What can you do for FreeBSD today? ;^) That's all I needed to hear. I'l

Re: Questions on intercepting execve syscall

2003-11-16 Thread Murat Balaban
Hi, It might be that you have some bad address in the execve index of sysent array. See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c for a simple example. PS: don't mind the naming :). On Sun, Nov 16, 2003 at 07:53:30AM -0800, Kai Zhu wrote: > Hello all, > > I am writing a KLD

Re: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)

2003-11-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Adrian Steinmann writes: >Soren > >We seem to have localized the loader reboot hang back to the first >far jump happening in btx.s: > ><[EMAIL PROTECTED]> observed: > > warm boot (writes 0x1234 to 0x472) and then jumps to the BIOS reboot > > handler: > > -

Questions on intercepting execve syscall

2003-11-16 Thread Kai Zhu
Hello all, I am writing a KLD module to intercept execve() as following: static int my_execve(struct thread *td, struct execve_args *uap) { return(execve(td,uap)); } As you can see, I first just want to make sure that my_execve won't affect the original execve, then I will add some new log

Re: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)

2003-11-16 Thread Adrian Steinmann
Soren We seem to have localized the loader reboot hang back to the first far jump happening in btx.s: <[EMAIL PROTECTED]> observed: > warm boot (writes 0x1234 to 0x472) and then jumps to the BIOS reboot > handler: > - ljmp $0x,$0x0 # reboot the machine >

Re: Loading a shared Linux library from a FreeBSD program?

2003-11-16 Thread Daniel O'Connor
On Sunday 16 November 2003 20:58, Kris Kennaway wrote: > > Is there any way to load a shared Linux library from a FreeBSD program? > > I don't think so. With a bit of effort, you can compile your source > as a Linux binary on FreeBSD. This has been discussed a number of > times in the past - see

Websehri.com Açýldý

2003-11-16 Thread websehri
www.websehri.com Websehri.com Acildi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Loading a shared Linux library from a FreeBSD program?

2003-11-16 Thread Kris Kennaway
On Sun, Nov 16, 2003 at 11:55:30AM +0200, Markus Niemist? wrote: > Hi, > > Is there any way to load a shared Linux library from a FreeBSD program? I don't think so. With a bit of effort, you can compile your source as a Linux binary on FreeBSD. This has been discussed a number of times in the p

Loading a shared Linux library from a FreeBSD program?

2003-11-16 Thread Markus Niemistö
Hi, Is there any way to load a shared Linux library from a FreeBSD program? I need to get one freeware (but not open source) library only available for Linux working with my native FreeBSD program. I hear there is somekind of a wrapper for Linux browser plugins. What kind of technique it uses? I