> Also, is there perhaps a sideeffect dealing with the size of a char on
> FreeBSD vs Linux?
>
> That's a pretty badass way to load assembler instructions on the stack :).
>
> Thanks!
> -Garrett


For what it is worth I ran the test code on one of my NetBSD amd64 Xen
Dom0 servers
it generated "trapped" as expected

# gcc test.c -o test
# ./test
trapped
# uname -a
NetBSD  5.99.27 NetBSD 5.99.27 (XEN3_DOM0) #0: Tue Apr 20 21:04:16 CDT
2010  root@:/usr/objdir/sys/arch/amd64/compile/XEN3_DOM0 amd64


-- 

Sam Fourman Jr.
Fourman Networks
http://www.fourmannetworks.com
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to