Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 07 Oct 2013 16:29:53 -0700
From: Michael Forney <>
Subject: Re: [PATCH] getcwd: Set errno to EINVAL when size == 0

On Mon, 07 Oct 2013 12:21:57 -0400, Rich Felker <> wrote:
> In principle the kernel should be generating the EINVAL if size is 0,
> but maybe it does the wrong thing...?

Yeah, from what I could tell, it returns ERANGE in all cases where it
can't fit the cwd into the buffer.

Michael Forney <>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.