----- Original Message -----
> From: chru...@suse.cz
> To: "Jan Stancek" <jstan...@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Tuesday, 26 August, 2014 12:55:16 PM
> Subject: Re: [LTP] [PATCH] tst_ncpus_max: use kernel_max if available
>
> Hi!
> > These two are still open / under discussion:
> > [PATCH] sbrk02: check for ret code in setup()
> > [PATCH] mmap15: don't fail if mmap returns EINVAL
> >
> > mmap15 looks like old issue, so it could wait after release.
>
> Agreed.
>
> > sbrk02 can loop indefinitely in setup(), which is worse IMO.
>
> Ok.
>
> So the issue there is that sbrk() does not fail in setup() because
> the increment overflows.
>
> Does it work if we stop increasing the increment before that happen? Or
> does sbrk() fails to fail there?
It starts failing with -1, but never sets errno to ENOMEM, so it keeps looping
forever, waiting for condition that does not happen (which looks like genuine
bug in sbrk).
>
> --
> Cyril Hrubis
> chru...@suse.cz
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list