History log of /dflybsd-src/lib/libc/gen/sysconf.c (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 806a5ed7 15-Nov-2019 Sascha Wildner <saw@online.de>

libc: Add more namespace.h/un-namespace.h.


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2
# 94f03308 22-Feb-2019 Sascha Wildner <saw@online.de>

Remove <sys/semaphore.h> so that we have <semaphore.h> only.

There is no point for us to go through the kernel for getting at
SEM_VALUE_MAX from sysconf(3), so return it directly and remove
the asso

Remove <sys/semaphore.h> so that we have <semaphore.h> only.

There is no point for us to go through the kernel for getting at
SEM_VALUE_MAX from sysconf(3), so return it directly and remove
the associated p1003_1b.sem_value_max sysctl.

Beyond that, the kernel didn't need this header. I've found no
ports that need it, either.

For safety, bump __DragonFly_version anyway.

show more ...


Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# 32f8d3b4 19-Dec-2017 Sascha Wildner <saw@online.de>

libc/sysconf: Add _SC_LEVEL1_DCACHE_LINESIZE.

nginx can make use of it (see http://hg.nginx.org/nginx/rev/057adb2a9d23).

Requested-by: sephe


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0
# 10afbee5 06-Jul-2016 Sascha Wildner <saw@online.de>

sysconf(3): Fix _SC_GET{GR,PW}_R_SIZE_MAX.

The standard allows to return -1 if there is no hard limit on the size
of the buffers.


# ded2cbe5 05-Jul-2016 Sascha Wildner <saw@online.de>

sysconf(3): Add _SC_THREAD_SPORADIC_SERVER.


Revision tags: v4.4.3, v4.4.2
# 4c2cc5d2 05-Jan-2016 Sascha Wildner <saw@online.de>

<unistd.h>: Add _POSIX_THREAD_ROBUST_PRIO_{INHERIT,PROTECT} definitions.

Also adjust sysconf(3) and getconf(1) accordingly.


Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc
# 2f6482ab 25-Oct-2015 Sascha Wildner <saw@online.de>

libc/sysconf: Simplify sysconf(_SC_XOPEN_SHM) a bit.

We never had sysv_shm as a module like FreeBSD, only as a kernel
option (SYSVSHM), which was made a no-op when we started to compile
it into our

libc/sysconf: Simplify sysconf(_SC_XOPEN_SHM) a bit.

We never had sysv_shm as a module like FreeBSD, only as a kernel
option (SYSVSHM), which was made a no-op when we started to compile
it into our kernels by default over a year ago (see 10ceb70237a5).

The sysctl check in the sysconf(3) code was only there to check if
it was compiled into the kernel or (in FreeBSD's case) if it was
loaded as a module, when it was still optional.

So the worst thing that could happen after this commit is a wrong
return value for sysconf(_SC_XOPEN_SHM) if someone was running a
kernel without "options SYSVSHM" from earlier than July 29, 2014
in combination with a current world. This all looks quite unlikely,
so remove the check.

Also, return the right variable from <unistd.h>.

show more ...


# 84b31f29 18-Oct-2015 Sascha Wildner <saw@online.de>

Add support for various sysconf(3) / confstr(3) / getconf(1) constants.

_SC_V7_ILP32_OFF32
_SC_V7_ILP32_OFFBIG
_SC_V7_LP64_OFF64
_SC_V7_LPBIG_OFFBIG
_CS_POSIX_V7_ILP32_OFF32_CFLAGS
_CS_POSIX_V7_ILP3

Add support for various sysconf(3) / confstr(3) / getconf(1) constants.

_SC_V7_ILP32_OFF32
_SC_V7_ILP32_OFFBIG
_SC_V7_LP64_OFF64
_SC_V7_LPBIG_OFFBIG
_CS_POSIX_V7_ILP32_OFF32_CFLAGS
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS
_CS_POSIX_V7_ILP32_OFF32_LIBS
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
_CS_POSIX_V7_ILP32_OFFBIG_LIBS
_CS_POSIX_V7_LP64_OFF64_CFLAGS
_CS_POSIX_V7_LP64_OFF64_LDFLAGS
_CS_POSIX_V7_LP64_OFF64_LIBS
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS
_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS

show more ...


Revision tags: v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3
# dc71b7ab 31-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadl

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadler.com>

show more ...


Revision tags: v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0
# 1973ed78 06-Nov-2009 Stathis Kamperis <beket@dragonflybsd.org>

mqueues: Let the world know we support them.

There are two ways to determine whether we support the message
passing interface, as described in POSIX 1003.1B standard.

The standard way is to use sys

mqueues: Let the world know we support them.

There are two ways to determine whether we support the message
passing interface, as described in POSIX 1003.1B standard.

The standard way is to use sysconf(3) and the DragonFly-specific
way is to check the value of p1003_1b.message_passing sysctl.

We make sure that both return consistent results with respect to
each other.

show more ...


# d8c823ac 06-Nov-2009 Stathis Kamperis <beket@dragonflybsd.org>

Whitespace removal.


# 60601fa0 06-Nov-2009 Stathis Kamperis <beket@dragonflybsd.org>

mqueues: Add support for _SC_MQ_OPEN_MAX in sysconf(3).

P1B_SYSCTL() / p31b_setcfg() as found in kern/kern_posix4_mib.c
don't fit well for writeable sysctls.


# d2506be8 05-Nov-2009 Stathis Kamperis <beket@dragonflybsd.org>

mqueues: Add support for _SC_MQ_PRIO_MAX in sysconf(3).


Revision tags: v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2
# 2cb20498 07-Jul-2009 Matthew Dillon <dillon@apollo.backplane.com>

Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly


# ba5ec713 06-Jul-2009 Peter Avalos <pavalos@theshell.com>

Merge branch 'master' of /home/www-data/gitweb/dragonfly


# 0490f058 06-Jul-2009 Hasso Tepper <hasso@estpak.ee>

"Sync" threading libaries.

* Introduce stubs returning error into libc_r for functions which don't
exist there, but are there in libthread_xu.
* Compile POSIX spinlocks implementation in libthread

"Sync" threading libaries.

* Introduce stubs returning error into libc_r for functions which don't
exist there, but are there in libthread_xu.
* Compile POSIX spinlocks implementation in libthread_xu.
* Define _POSIX_BARRIERS and _POSIX_SPIN_LOCKS and modify sysconf(3)
accordingly.

show more ...


Revision tags: v2.3.1, v2.2.1
# afbbe4d0 24-Apr-2009 Matthew Dillon <dillon@apollo.backplane.com>

Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly


# b91668fc 24-Apr-2009 Hasso Tepper <hasso@estpak.ee>

No barriers and spinlocks.


# e28f12ac 07-Apr-2009 Matthew Dillon <dillon@apollo.backplane.com>

Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly


# 9d66746c 04-Apr-2009 Peter Avalos <pavalos@dragonflybsd.org>

Clean up sysconf and associated headers.

* Fixes for amd64.

* Implement more keys.

* Namespace cleanups for the include files. Move definitions that are
implemented in userspace from sys/unistd.h

Clean up sysconf and associated headers.

* Fixes for amd64.

* Implement more keys.

* Namespace cleanups for the include files. Move definitions that are
implemented in userspace from sys/unistd.h to unistd.h.

* Try to avoid using sysctl and just provide the constants direct.

Obtained-from: FreeBSD

show more ...


Revision tags: v2.2.0, v2.3.0, v2.1.1, v2.0.1
# dd47c5d8 21-Feb-2008 Hasso Tepper <hasso@dragonflybsd.org>

Add _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN variables to the
sysconf(3). These are nonstandard, but implemented in many systems.


# 0f52d283 13-Nov-2005 Sascha Wildner <swildner@dragonflybsd.org>

Cleanup:

- Add $DragonFly$.
- Ansify function definitions.
- Remove (void) casts for discarded return values.
- In function definitions, move the type on a line of its own.
- Remove __P.


# cbd0496d 09-Nov-2004 Joerg Sonnenberger <joerg@dragonflybsd.org>

Define IOV_MAX for userland too and make it available via sysctl and
getconf/sysconf. This is kind of a hack, but too much code wants it.

Obtained-from: FreeBSD


# 1de703da 17-Jun-2003 Matthew Dillon <dillon@dragonflybsd.org>

Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
ids have been removed from !lint sections and moved into comment sections.


12