Hello,
I wrote a small program in assembler that run system exit function from linux 
kernel API.
This program is:
 movl $1, %eax
 movl $2, %ebx
 int $0x80
After compiling and running in BrandZ, the program return 0 not 2, why ?
I test this by:
perl -e '$res = system("./exit"); $res >>= 8;print "res to $res\n";'
On live systems return 2.

Regards,
Maciej
 
 
This message posted from opensolaris.org

Reply via email to