On Sat, May 05, 2018 at 02:24:32AM +0000, Christos Zoulas wrote:
> In article <20180504224415.ga11...@britannica.bec.de>,
> Joerg Sonnenberger  <jo...@bec.de> wrote:
> >On Fri, May 04, 2018 at 03:56:59PM -0400, Christos Zoulas wrote:
> >> Module Name:       src
> >> Committed By:      christos
> >> Date:              Fri May  4 19:56:59 UTC 2018
> >> 
> >> Modified Files:
> >>    src/sys/kern: uipc_sem.c
> >> 
> >> Log Message:
> >> bump the pathname size to NAME_MAX as POSIX wants.
> >
> >Placing NAME_MAX on the stack is not really desirable, is it?
> >I don't think POSIX really requires them to be allowed either, but the
> >spec is a bit unclear...
> 
> It's only 512 and the spec says ENAMETOOLONG if >= NAME_MAX or PATH_MAX...

Sure, but it is calling other functions, so it can sum up. The
conditions for POSIX errors are sufficient conditions, they are not
exhaustive.

Joerg

Reply via email to