Re: calling syscalls directly from asm

2007-07-15 Thread Marcus Watts
Date:Sat, 14 Jul 2007 18:48:46 +0200 To: misc@openbsd.org From:Vincent GROSS [EMAIL PROTECTED] Subject: calling syscalls directly from asm Hi folks, I would like to call write(2) without going through the libc functions. I wrote this little thing to test, it does

Re: calling syscalls directly from asm

2007-07-15 Thread Vincent GROSS
On 7/15/07, Marcus Watts [EMAIL PROTECTED] wrote: Date:Sat, 14 Jul 2007 18:48:46 +0200 To: misc@openbsd.org From:Vincent GROSS [EMAIL PROTECTED] Subject: calling syscalls directly from asm Hi folks, I would like to call write(2) without going through the libc functions. I

calling syscalls directly from asm

2007-07-14 Thread Vincent GROSS
Hi folks, I would like to call write(2) without going through the libc functions. I wrote this little thing to test, it does not print anything, but friends say it works just fine with linux. I did check the addresses and operands in the resulting binary with objdump, everything has the correct