[PATCH] sysconf: Use conservative default for _SC_NPROCESSORS_ONLN [BZ #21542]

Florian Weimer fweimer@redhat.com
Sun Jun 25 14:27:00 GMT 2017


On 06/02/2017 04:21 PM, Florian Weimer wrote:
> 2017-06-02  Florian Weimer  <fweimer@redhat.com>
> 
> 	[BZ #21542]
> 	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
> 	two if no accurate information is available.
> 	* posix/tst-sysconf-empty-chroot.c: New file.
> 	* posix/Makefile (tests): Add it.

Any further comments?  I'll commit this next week otherwise.

Thanks,
Florian



More information about the Libc-alpha mailing list