Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 12:05:25 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: phk malloc() sometimes forget to set errno
Message-ID:  <20020809080524.GA3293@nagual.pp.ru>
In-Reply-To: <10593.1028877062@critter.freebsd.dk>
References:  <20020807232750.GA1168@nagual.pp.ru> <10593.1028877062@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 09, 2002 at 09:11:02 +0200, Poul-Henning Kamp wrote:
> In message <20020807232750.GA1168@nagual.pp.ru>, "Andrey A. Chernov" writes:
> >I found at least one case:
> 
> Try this patch:

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?

Other than that it looks good, please commit.

-- 
Andrey A. Chernov
http://ache.pp.ru/

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?20020809080524.GA3293>