<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/gen/sysconf.c, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2002-11-17T08:54:29Z</updated>
<entry>
<title>goto break; != break;</title>
<updated>2002-11-17T08:54:29Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2002-11-17T08:54:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7fd268cce65858ddad48271c9302dceb2251b2b2'/>
<id>urn:sha1:7fd268cce65858ddad48271c9302dceb2251b2b2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Rework the sysconf(3) interaction with aio:</title>
<updated>2002-11-17T04:15:34Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-11-17T04:15:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f51c1e897d8ca640a0c8f4be276f067117767d9c'/>
<id>urn:sha1:f51c1e897d8ca640a0c8f4be276f067117767d9c</id>
<content type='text'>
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().
</content>
</entry>
<entry>
<title>Provide more correct default values for sysconf(3) reporting of the AIO</title>
<updated>2002-11-16T06:35:20Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-11-16T06:35:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d8ce33a50d2ddac133ac799f4334d5b73f0b218'/>
<id>urn:sha1:3d8ce33a50d2ddac133ac799f4334d5b73f0b218</id>
<content type='text'>
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 &lt;rodrigc@attbi.com&gt;
</content>
</entry>
<entry>
<title>Update limits and configuration parameters for 1003.1/TC1/D6.</title>
<updated>2002-10-27T18:03:02Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2002-10-27T18:03:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=188c541ceb9c752d22378cf9508d18c17b045947'/>
<id>urn:sha1:188c541ceb9c752d22378cf9508d18c17b045947</id>
<content type='text'>
Implement new sysconf keys.  Change the implenentation of
_SC_ASYNCHRONOUS_IO in preparation for the next set of changes.

Move some limits which had been in &lt;sys/syslimits.h&gt; to &lt;limits.h&gt; where
they belong.  They had only ever been in syslimits.h to provide for the
kernel implementation of the CTL_USER MIB branch, which went away with
newsysctl years ago.  (There is a #error in &lt;sys/syslimits.h&gt; which I
will downgrade in the next commit.)
</content>
</entry>
<entry>
<title>Initiate deorbit burn sequence for sysctl CTL_USER MIB branch.</title>
<updated>2002-09-21T02:14:04Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2002-09-21T02:14:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b32a813fa742365e3bb54c0196b96e504b3a5dd'/>
<id>urn:sha1:0b32a813fa742365e3bb54c0196b96e504b3a5dd</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Don't bother asking the kernel about _SC_FSYNC; it's not optional.</title>
<updated>2002-07-15T20:42:05Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2002-07-15T20:42:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45d2fcfaae091425ca78b4cbb9a5eb7ccc64a7db'/>
<id>urn:sha1:45d2fcfaae091425ca78b4cbb9a5eb7ccc64a7db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A break after a return is useless.</title>
<updated>2002-03-24T08:38:21Z</updated>
<author>
<name>Dima Dorfman</name>
<email>dd@FreeBSD.org</email>
</author>
<published>2002-03-24T08:38:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e10bdff354870be1dcf13cc410b0f3075f3437fc'/>
<id>urn:sha1:e10bdff354870be1dcf13cc410b0f3075f3437fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SCM ID's.</title>
<updated>2002-02-01T00:57:29Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-02-01T00:57:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e'/>
<id>urn:sha1:ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).</title>
<updated>2001-12-01T12:07:42Z</updated>
<author>
<name>Joseph Koshy</name>
<email>jkoshy@FreeBSD.org</email>
</author>
<published>2001-12-01T12:07:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d44f0b5a3a126151a7bb12d8b8fd89abb95bd52'/>
<id>urn:sha1:4d44f0b5a3a126151a7bb12d8b8fd89abb95bd52</id>
<content type='text'>
This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix.

PR:		bin/27489
Submitted by:	Arun Sharma &lt;arun@sharma-home.net&gt;
Reviewed by:	bde (prior version)
</content>
</entry>
<entry>
<title>After one too many PRs on the subject, bite the bullet and define IOV_MAX</title>
<updated>2001-06-18T20:24:54Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2001-06-18T20:24:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37336173d35a97285def1fbf91f77b7db95a2f1a'/>
<id>urn:sha1:37336173d35a97285def1fbf91f77b7db95a2f1a</id>
<content type='text'>
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
</content>
</entry>
</feed>
