From owner-freebsd-hackers Wed Mar 13 11:38:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 0A3A537B417 for ; Wed, 13 Mar 2002 11:38:17 -0800 (PST) Received: from pool0228.cvx15-bradley.dialup.earthlink.net ([209.179.44.228] helo=sm.socccd.cc.ca.us) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16lEZg-0000fe-00; Wed, 13 Mar 2002 11:38:12 -0800 Message-ID: <3C8FAAF1.4DE9F67@sm.socccd.cc.ca.us> Date: Wed, 13 Mar 2002 11:39:29 -0800 From: Farooq Mela X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Cc: Alfred Perlstein , tlambert2@mindspring.com Subject: Re: Recv() to a mmap'ed file? References: <3C8E6CD5.67F23CF2@sm.socccd.cc.ca.us> <20020312214851.GK92565@elvis.mu.org> <3C8EEA50.C3E17315@sm.socccd.cc.ca.us> <20020313060553.GF32410@elvis.mu.org> <3C8F1635.B6E3FA5A@sm.socccd.cc.ca.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Farooq Mela wrote: > region, but it will get a SIGBUS if it tries to write to it. It would > be better to return -1 and set errno to EFAULT than to have this brain > damage imho. eep... that should be EINVAL... maybe i can be forgiven, though, given the time at which i wrote the message :-) > Date: Wed, 13 Mar 2002 01:04:53 -0800 -- Farooq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message