The NetBSD Project

CVS log for src/usr.bin/getconf/getconf.c

[BACK] Up to [cvs.netbsd.org] / src / usr.bin / getconf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:12 2008 UTC (16 months, 3 weeks ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 27 08:56:49 2008 UTC (17 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, HEAD
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:06 2008 UTC (20 months, 3 weeks ago) by yamt
Branch: yamt-pf42
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:13 2008 UTC (21 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.32 / (download) - annotate - [select for diffs], Wed Apr 9 18:38:12 2008 UTC (22 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

s/_POSIX_MESSAGE_PASSING/_SC_MESSAGE_PASSING/ in value.

Revision 1.27.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:49:01 2008 UTC (22 months, 2 weeks ago) by matt
Branch: matt-armv6
Changes since 1.27.4.2: +3 -2 lines
Diff to previous 1.27.4.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 15 03:37:12 2008 UTC (2 years ago) by rmind
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 02:00:42 2008 UTC (2 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.27.4.1: +3 -3 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored)

sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Sat Dec 15 19:44:50 2007 UTC (2 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

convert __attribute__s to applicable cdefs.h macros

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:46 2007 UTC (2 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.27: +14 -3 lines
Diff to previous 1.27 (colored)

sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 15 14:12:54 2007 UTC (2 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.28: +8 -2 lines
Diff to previous 1.28 (colored)

Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These
are extensions but are provided by many Unix systems.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 7 18:56:14 2007 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.27: +8 -3 lines
Diff to previous 1.27 (colored)

Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 1 01:01:37 2007 UTC (2 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.26: +7 -2 lines
Diff to previous 1.26 (colored)

- Create sysctl nodes for AIO.
- Add POSIX defined system variables and constants of AIO_LISTIO_MAX and
  AIO_MAX values.  Both with _POSIX_ASYNCHRONOUS_IO, provide them in
  sysconf(3) and getconf(1) interfaces.
- Clean up sysconf(3) for handling sysctl nodes dynamically.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 6 12:02:02 2006 UTC (3 years, 2 months ago) by mjf
Branch: MAIN
Changes since 1.25: +19 -7 lines
Diff to previous 1.25 (colored)

PR/35194: 0 is returned from confstr(3) in two cases:
		- when an error occurred and errno is set appropriately
		- when the variable is undefined.

Thanks to Guy Harris for pointing this out.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 6 11:05:32 2006 UTC (3 years, 2 months ago) by mjf
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

PR/35194: confstr(3) returns 0 on failure, not -1.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 10 15:36:04 2006 UTC (3 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.23: +37 -42 lines
Diff to previous 1.23 (colored)

PR/35027: Nicolas Joly: getconf argument parsing broken.
While there:
	- don't print numbern, print number\n
	- don't leak memory
	- consistently return EXIT_FAILURE
	- fix error checking
	- pass lint

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 7 15:20:44 2006 UTC (3 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.22: +88 -39 lines
Diff to previous 1.22 (colored)

PR/31053: Roland Illig: Enhancement: getconf -a to list all applicable
variables

Thanks for the patch!

Revision 1.22 / (download) - annotate - [select for diffs], Wed Nov 10 04:02:52 2004 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

Implement sysconf(3) _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX for
the 1003.1-2001 Thread Safe Functions (TSF) getgrnam_r(3) and getpwnam_r(3).

These are not implemented in sysctl(3) "user.*", since that adds a lot
of complexity in the implementation for no real benefit.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 10 00:29:07 2004 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

fix an error message

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 2 20:33:10 2003 UTC (7 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.19: +10 -2 lines
Diff to previous 1.19 (colored)

Add sysconf(3) knobs for recent additions.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 19 23:31:57 2002 UTC (7 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)

Add a sysconf(3) knob for {ATEXIT_MAX}.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Wed Sep 4 02:50:29 2002 UTC (7 years, 5 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

pullup 1.17-1.18 (tron)
Fix acient cut and paste error which made "_POSIX_PATH_MAX" actually
return "_POSIX_PIPE_BUF".

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon Aug 5 07:08:56 2002 UTC (7 years, 6 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.14.2.1: +3 -3 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Pull up revision 1.18 (requested by tron in ticket #622):
Fix typo in last commit.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Aug 5 07:08:05 2002 UTC (7 years, 6 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Pull up revision 1.17 (requested by tron in ticket #622):
Fix acient cut and paste error which made "_POSIX_PATH_MAX" actually
return "_POSIX_PIPE_BUF".

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 5 06:35:44 2002 UTC (7 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Fix typo in last commit.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 5 06:24:23 2002 UTC (7 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Fix acient cut and paste error which made "_POSIX_PATH_MAX" actually
return "_POSIX_PIPE_BUF".

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 4 18:06:54 2002 UTC (7 years, 6 months ago) by soren
Branch: MAIN
Changes since 1.15: +3 -0 lines
Diff to previous 1.15 (colored)

Back out previous - I was confused.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 4 12:59:13 2002 UTC (7 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.14: +2 -5 lines
Diff to previous 1.14 (colored)

Remove obsolete fields "_POSIX_LINK_MAX", "_POSIX_NAME_MAX" and
_POSIX_PATH_MAX".

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 31 00:32:48 2002 UTC (8 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Add {POSIX_MONOTONIC_CLOCK} variables.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 3 02:51:17 2000 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Make gcc 2.96 (and maybe earlier) happier.  Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 20 00:41:20 2000 UTC (9 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored)

We have _SC_2_C_BIND now, enable POSIX2_C_BIND.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:00 1999 UTC (10 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up to last week's -current.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 27 16:24:41 1999 UTC (10 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

1003.1c: add {LOGIN_NAME_MAX}.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 24 14:18:12 1999 UTC (10 years, 7 months ago) by kleink
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.9: +6 -3 lines
Diff to previous 1.9 (colored)

Add compile-time and run-time feature test knobs for the 1003.1 Mapped Files,
Process Memory Locking, Range Memory Locking and Memory Protection options.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 22 19:18:10 1999 UTC (10 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Support {FILESIZEBITS}.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 3 14:48:40 1998 UTC (11 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.7: +11 -8 lines
Diff to previous 1.7 (colored)

Add support to query _POSIX_SYNCHRONIZED_IO, _POSIX_SYNC_IO and IOV_MAX;
rearrange the table a bit.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 24 20:12:28 1998 UTC (11 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.6: +11 -2 lines
Diff to previous 1.6 (colored)

Add support to query PAGESIZE, PAGE_SIZE, _POSIX_FSYNC and _XOPEN_SHM via
sysconf().

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 19 02:13:41 1997 UTC (12 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +10 -7 lines
Diff to previous 1.5 (colored)

WARNSify, fix .Nm usage

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 8 22:26:30 1997 UTC (12 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Fix tipo inherited from old version of TNF copyright template.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 9 20:19:44 1997 UTC (13 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

RCS ID police

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 20 01:15:14 1996 UTC (13 years, 9 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.2: +23 -24 lines
Diff to previous 1.2 (colored)

Update copyright notices, this has been assigned to the NetBSD Foundation.
Fix bug where err() was called instead of errx().

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 10 00:04:12 1994 UTC (15 years, 9 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +1 -28 lines
Diff to previous 1.1 (colored)

We now have sysconf() & pathconf

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 27 19:50:54 1994 UTC (15 years, 9 months ago) by jtc
Branch: MAIN

Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().
Manpage coming soon.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>