Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 17:47:49 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        ache@nagual.pp.ru
Subject:   Re: phk malloc() sometimes forget to set errno
Message-ID:  <200208110047.g7B0lnKa065701@vashon.polstra.com>
In-Reply-To: <20020809080524.GA3293@nagual.pp.ru>
References:  <20020807232750.GA1168@nagual.pp.ru> <10593.1028877062@critter.freebsd.dk> <20020809080524.GA3293@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020809080524.GA3293@nagual.pp.ru>,
Andrey A. Chernov <ache@nagual.pp.ru> 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




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