Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2010 17:27:22 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: kernel patch needed for wine?
Message-ID:  <AANLkTilnwZvw0eukGpuOxn8o7U7Oscw6kfYcTiwaYbS8@mail.gmail.com>
In-Reply-To: <AANLkTiksgnem7qiGzpJIVQp7Dxsu0dfasF10STzSwxBf@mail.gmail.com>
References:  <AANLkTik5Owwpk5O6eUbSKgHxpjvcEXwilGECgtX0hx5a@mail.gmail.com> <20100630105027.GJ13238@deviant.kiev.zoral.com.ua> <AANLkTikDxVGpc6LfYlqFZLo-QiJFr8lbj2MVZMUci-lI@mail.gmail.com> <AANLkTilusilVimfscZdj3QAOOFYs3Gh3pt5V6SXe3VHP@mail.gmail.com> <AANLkTinNMaMH_5TSUL8PN1D0J-IBjIZV8K_sBTeB1H64@mail.gmail.com> <AANLkTiksgnem7qiGzpJIVQp7Dxsu0dfasF10STzSwxBf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilnwZvw0eukGpuOxn8o7U7Oscw6kfYcTiwaYbS8>