From owner-freebsd-questions@FreeBSD.ORG Mon Jun 19 10:21:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 837F316A47F for ; Mon, 19 Jun 2006 10:21:54 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8437743D72 for ; Mon, 19 Jun 2006 10:21:52 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1FsGtD-0004EK-Im; Mon, 19 Jun 2006 11:21:51 +0100 Received: from [82.41.34.175] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1FsGtC-0003HS-Jt; Mon, 19 Jun 2006 11:21:50 +0100 Message-ID: <44967ABE.3030503@dial.pipex.com> Date: Mon, 19 Jun 2006 11:21:50 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Jim Stapleton References: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com> <4495C1DF.9040506@dial.pipex.com> <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> <449663A8.5070203@dial.pipex.com> <80f4f2b20606190255g6e742279r18fed593af119106@mail.gmail.com> In-Reply-To: <80f4f2b20606190255g6e742279r18fed593af119106@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: smoke and mirrors - any way to trick an app into thinking I'm running linux? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 10:21:54 -0000 Jim Stapleton wrote: > OK, that was easier than expected. These blobs appeared around > everything "linux", but don't look horribly useful. I'll check later > to see if I can find anything else. is there anything I should be > looking for aside from linux? What you want to find is the error message you got about "Only runs on Linux". I was assuming this is just a single binary, but if there is lots of stuff including sh scripts and stuff then a grep for some part of the string in all the files might point you in the right direction. I think Linux was all caps so a case-sensitive grep (i.e. not -i) for Linux should do the trick. If in doubt try to find the earliest word in the error string since ktrace will chop off long strings. (Sorry, lost your original post already and can't exactly remember the string). > I really want to proove to these people that the port will not be a > $60k effor, more like a $20 effort. Better not tell you my hourly rate then ;-) --Alex