freebsd-dev/lib/libc
Konstantin Belousov f6ef11cc75 Report _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX which show parameters
of the current usermode implementation of the POSIX semaphores.

For NSEMS_MAX, return -1 without changing errno, which indicates that
the variable has no limit.  Before, sysconf(3) returned parameters
queried from the ksem(9) legacy implementation, which apparently has
low defaults for NSEMS_MAX.

Reported and tested by:	jbeich
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2017-04-12 19:27:14 +00:00
..
aarch64 Do not use b.cs instruction to jump to cerror. 2017-04-07 22:58:20 +00:00
amd64 Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
arm Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
capability Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
compat-43 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
db Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
gdtoa For now, compile all of contrib/gdtoa without requiring strict aliasing, 2017-02-13 20:13:29 +00:00
gen Report _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX which show parameters 2017-04-12 19:27:14 +00:00
gmon Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
i386 Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
iconv libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
include Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
inet libc: remove use of archaic __P() macro 2017-03-30 01:03:07 +00:00
isc libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
locale Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
md Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
mips Replace SOFTFLOAT with __mips_soft_float, which gcc/clang define for us. 2017-03-16 21:05:21 +00:00
nameser libc: spelling fixes. 2016-04-30 01:24:24 +00:00
net libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
nls Use current locale (f.e. set by thread). It was global locale always 2016-08-24 16:44:27 +00:00
posix1e Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
powerpc Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
powerpc64 Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
powerpcspe Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
quad Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
regex libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
resolv Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
riscv Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
rpc libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
secure libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
softfloat Add full softfloat and hardfloat support for RISC-V. 2016-11-16 15:21:32 +00:00
sparc64 Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
stdio libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
stdlib Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
stdtime Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
string Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
sys clock_gettime.2: add some clock IDs 2017-03-22 00:50:36 +00:00
tests Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
uuid libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
x86/sys Remove unneeded variable initialization from r314319. 2017-02-26 22:15:39 +00:00
xdr libc/xdr: unsign some loop indexes. 2016-05-06 16:03:40 +00:00
yp Use on crypto.x and rpc.x from the source tree. 2016-06-28 19:53:16 +00:00
libc_nossp.ldscript Add different libc ldscript: the one without libssp -- 2016-10-12 13:19:21 +00:00
libc.ldscript Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
Versions.def Create namespace for the symbols added during 12-CURRENT cycle. 2016-08-06 13:28:58 +00:00