From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 30 22:27:28 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1891E106564A for ; Wed, 30 Jun 2010 22:27:28 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id C2A958FC17 for ; Wed, 30 Jun 2010 22:27:27 +0000 (UTC) Received: by qwg5 with SMTP id 5so558648qwg.13 for ; Wed, 30 Jun 2010 15:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=oVgPI6Jza3FQsNpTpkD8GGKFaEBwBFNJtEBxtxmf2c4=; b=j3Aq+5bwo0mU7QlOFz+zQtHL3CtXFkNVBagR7ZhTeIPTXrZnAzWAOm27p2Oyh+tqIi rBPt5FxFj+255CC4T5c05LNBdfADyyaZzgEaD3C6QTu3YcLkaKEflA38ieu/f48ZypYR 5Ezo5SZVZCrU5uTJgrSxjWPgz8iu+Qpp1ITbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CJeTMZQ/v1VmO2jWrZZ2auT7HH1hCSyqqnYPLmE4GRxZuZh5A2ixbnJGGlbxZTm9YR EtD5CEwB2XUFZzp6Km94KFUVCsUNMJJp3DofvyIklnnMA21gl02lpALQbISm2skXaQLi vMvNZGjYEX/HngNrEDNHzyVxXxTZRy7Bf7DjY= MIME-Version: 1.0 Received: by 10.224.113.91 with SMTP id z27mr6577512qap.142.1277936842567; Wed, 30 Jun 2010 15:27:22 -0700 (PDT) Received: by 10.229.41.203 with HTTP; Wed, 30 Jun 2010 15:27:22 -0700 (PDT) In-Reply-To: References: <20100630105027.GJ13238@deviant.kiev.zoral.com.ua> Date: Wed, 30 Jun 2010 17:27:22 -0500 Message-ID: From: "Sam Fourman Jr." To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Cc: Kostik Belousov , freebsd-hackers@freebsd.org Subject: Re: kernel patch needed for wine? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 22:27:28 -0000 > 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