From owner-freebsd-current Sat Aug 10 17:48:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC18D37B400 for ; Sat, 10 Aug 2002 17:48:12 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E0543E5E for ; Sat, 10 Aug 2002 17:48:12 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g7B0lof37136; Sat, 10 Aug 2002 17:47:50 -0700 (PDT) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.4/8.12.4/Submit) id g7B0lnKa065701; Sat, 10 Aug 2002 17:47:49 -0700 (PDT) (envelope-from jdp) Date: Sat, 10 Aug 2002 17:47:49 -0700 (PDT) Message-Id: <200208110047.g7B0lnKa065701@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: ache@nagual.pp.ru Subject: Re: phk malloc() sometimes forget to set errno In-Reply-To: <20020809080524.GA3293@nagual.pp.ru> References: <20020807232750.GA1168@nagual.pp.ru> <10593.1028877062@critter.freebsd.dk> <20020809080524.GA3293@nagual.pp.ru> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020809080524.GA3293@nagual.pp.ru>, Andrey A. Chernov wrote: > > I doubt about choosed EPERM code. According to intro(2) it refers to some > priviledges required for operation, but recursive call is not restricted > due to priviledges. What about of other code, like EFAULT? Not EFAULT -- it has a very specific meaning. It is for addresses which in userland would cause a SIGBUS or SIGSEGV. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message