Revision tags: release/4.7.0_cvs |
|
#
0b32a813 |
| 21-Sep-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Initiate deorbit burn sequence for sysctl CTL_USER MIB branch. Use the correct constants directly from sysconf() rather than calling sysctl() to tell us the (still compiled-in) value. Leave the CTL_
Initiate deorbit burn sequence for sysctl CTL_USER MIB branch. Use the correct constants directly from sysconf() rather than calling sysctl() to tell us the (still compiled-in) value. Leave the CTL_POSIX1B stuff alone for now (but I'd like to see this replaced with a single structure returning all of the relevant information).
Implement all of the keys from 1003.1-2001 that we can. Ensure that the build will break if someone redefines an option constant to zero without implementing the necessary presence-detection logic here.
(4 of 5)
show more ...
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
45d2fcfa |
| 15-Jul-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Don't bother asking the kernel about _SC_FSYNC; it's not optional.
|
Revision tags: release/4.6.0_cvs |
|
#
e10bdff3 |
| 24-Mar-2002 |
Dima Dorfman <dd@FreeBSD.org> |
A break after a return is useless.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
ea8d448a |
| 01-Feb-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Fix SCM ID's.
|
#
4d44f0b5 |
| 01-Dec-2001 |
Joseph Koshy <jkoshy@FreeBSD.org> |
Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN). This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix.
PR: bin/27489 Submitted by: Arun Sharma <arun
Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN). This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix.
PR: bin/27489 Submitted by: Arun Sharma <arun@sharma-home.net> Reviewed by: bde (prior version)
show more ...
|
#
37336173 |
| 18-Jun-2001 |
Garrett Wollman <wollman@FreeBSD.org> |
After one too many PRs on the subject, bite the bullet and define IOV_MAX and its associated constants. Implement _SC_IOV_MAX in the usual way. Be a bit sloppy about the namespace question; this sho
After one too many PRs on the subject, bite the bullet and define IOV_MAX and its associated constants. Implement _SC_IOV_MAX in the usual way. Be a bit sloppy about the namespace question; this should get cleared up in time for 5.0.
MFC after: 1 month
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs, release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7 |
|
#
d4a7e4ca |
| 01-Jun-1998 |
Mike Smith <msmith@FreeBSD.org> |
Add a trivial mechanism for returning a useful default value if one is available and the kernel MIB setting is zero.
Return the result from getpagesize() if the p1003_1b.pagesize MIB value is zero.
Add a trivial mechanism for returning a useful default value if one is available and the kernel MIB setting is zero.
Return the result from getpagesize() if the p1003_1b.pagesize MIB value is zero.
Suggested by: Joerg Schilling <schilling@fokus.gmd.de>
show more ...
|
#
8a6472b7 |
| 28-Mar-1998 |
Peter Dufault <dufault@FreeBSD.org> |
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and _KPOSIX_PRIORITY_SCHEDULING options to work. Changes:
Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told i
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and _KPOSIX_PRIORITY_SCHEDULING options to work. Changes:
Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones;
Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;
Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;
Add options to LINT;
Minor fixes to P1003_1B code during testing.
show more ...
|
Revision tags: release/2.2.6 |
|
#
aac4ad2c |
| 08-Mar-1998 |
Peter Dufault <dufault@FreeBSD.org> |
Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L:
1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any
Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L:
1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files;
2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE
3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when:
_POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L
and vanish when:
_POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L.
4. Explain these in man 9 posix4;
5. Include _posix.h and conditionalize on new feature test.
show more ...
|
#
917e476d |
| 04-Mar-1998 |
Peter Dufault <dufault@FreeBSD.org> |
Reviewed by: msmith, bde long ago POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
|
Revision tags: release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs, release/2.1.0_cvs |
|
#
0b7a3159 |
| 08-Dec-1995 |
David Greenman <dg@FreeBSD.org> |
Include sys/time.h, not sys/user.h.
Submitted by: "Marc G. Fournier" <scrappy@hub.org>
|
#
d12f2120 |
| 28-Oct-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add #include <sys/user.h>.
|
#
8b102407 |
| 22-Oct-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Minor cleanup, mostly unused vars and missing #includes.
|
Revision tags: release/2.0.5_cvs |
|
#
6c06b4e2 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
66a96c4c |
| 03-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Include <time.h> instead of <sys/time.h> to get CLK_TCK. Including <sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL is not defined, but is ugly.
|
Revision tags: release/2.0, release/1.1.5.1_cvs |
|
#
58f0484f |
| 27-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Lib Sources
|
#
dcfeda61 |
| 26-Feb-2010 |
Edwin Groothuis <edwin@FreeBSD.org> |
Split the contributed code from libc/stdtime from lib/libc/stdtime to contrib/tzcode/stdtime.
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
6ca61b39 |
| 27-Feb-2008 |
Garrett Wollman <wollman@FreeBSD.org> |
stdio is currently limited to file descriptors not greater than {SHRT_MAX}, so {STREAM_MAX} should be no greater than that. (This does not exactly meet the letter of POSIX but comes reasonably close
stdio is currently limited to file descriptors not greater than {SHRT_MAX}, so {STREAM_MAX} should be no greater than that. (This does not exactly meet the letter of POSIX but comes reasonably close to it in spirit.)
MFC after: 14 days
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
e42e8df2 |
| 14-Apr-2007 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates on int, but in fact it should operate on long. - Introduce 'lvalue' variable, which is long. - Fix _SC_XOPEN_SHM for 64bit arch
Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates on int, but in fact it should operate on long. - Introduce 'lvalue' variable, which is long. - Fix _SC_XOPEN_SHM for 64bit archs. - Fix _SC_PHYS_PAGES for 64bit archs. Reported by: simokawa - Use lvalue for pathconf(3), as it returns long. - Cast value explicitly to long on return.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
c879ae35 |
| 09-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
#
a7e88f95 |
| 14-Dec-2006 |
Warner Losh <imp@FreeBSD.org> |
band-aide until _SC_PHYS_PAGES actually is defined
|
#
93a8a97c |
| 14-Dec-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add support for _SC_PHYS_PAGES, which is not standard, but can be found in Solaris and Linux.
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
7fd268cc |
| 17-Nov-2002 |
Doug Barton <dougb@FreeBSD.org> |
goto break; != break;
I've no idea if this is the right behavior for the library, but this at least fixes the build, and matches what seems to be alfred's intent in the commit message for 1.19.
|
#
f51c1e89 |
| 17-Nov-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Rework the sysconf(3) interaction with aio:
sysconf.c: Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0' return value from the kernel sysctl.
vfs_aio.c: Make aio reset
Rework the sysconf(3) interaction with aio:
sysconf.c: Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0' return value from the kernel sysctl.
vfs_aio.c: Make aio reset its configuration parameters to -1 after unloading instead of 0.
posix4_mib.c: Initialize the aio configuration parameters to -1 to indicate that it is not loaded. Add a facility (p31b_iscfg()) to determine if a posix4 facility has been initialized to avoid having to re-order the SYSINITs. Use p31b_iscfg() to determine if aio has had a chance to run yet which is likely if it is compiled into the kernel and avoid spamming its values. Introduce a macro P31B_VALID() instead of doing the same comparison over and over.
posix4.h: Prototype p31b_iscfg().
show more ...
|
#
3d8ce33a |
| 16-Nov-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Provide more correct default values for sysconf(3) reporting of the AIO subsystems capabilities:
_SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSI
Provide more correct default values for sysconf(3) reporting of the AIO subsystems capabilities:
_SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSIX_AIO_MAX _SC_AIO_PRIO_DELTA_MAX returns the default of 0
Without these adjustments the values returned are -1 even when the aio side of the kernel returns '0' for them which is incorrect.
Noticed by: Craig Rodrigues <rodrigc@attbi.com>
show more ...
|