#
1.38 |
|
30-Mar-2021 |
rillig |
libc/gen: fix hack for previously unsupported lint initializers
Supported since init.c 1.182 from 2021-03-30.
|
Revision tags: netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
|
#
1.37 |
|
16-May-2018 |
joerg |
Avoid complicated arithmetic involving NULL.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base
|
#
1.36 |
|
10-Jan-2017 |
christos |
branches: 1.36.12; simplify cast.
|
Revision tags: pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.35 |
|
05-Feb-2015 |
christos |
branches: 1.35.2; add a couple of casts.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.34 |
|
16-May-2014 |
martin |
Get rid of all sysc_init_field uses - initialize fields directly in C99 notation.
|
#
1.33 |
|
16-May-2014 |
martin |
When creating the descriptions for the "user" node, advance the output pointer properly.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.32 |
|
20-Mar-2012 |
matt |
branches: 1.32.2; 1.32.8; Use C89 definitions. Remove use of __P
|
#
1.31 |
|
13-Mar-2012 |
christos |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.30 |
|
27-Aug-2008 |
christos |
branches: 1.30.2; 1.30.6; setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
24-Feb-2006 |
drochner |
branches: 1.29.20; complete constification of the sysctl() user side
|
#
1.28 |
|
29-Nov-2005 |
christos |
WARNS=4
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.27 |
|
07-Sep-2004 |
jrf |
Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
#
1.26 |
|
25-Apr-2004 |
atatat |
Remove dynamic sysctl node version 0 from the tree. It seemed okay at first, but quickly showed its shortcomings. The version 1 node we're now using should be good for a while.
|
#
1.25 |
|
11-Apr-2004 |
he |
Avoid using preprocessing conditionals in a macro argument list at least as long as all ports have not yet been converted to using gcc 3.3.3.
Build bug discovered when building for vax.
|
#
1.24 |
|
08-Apr-2004 |
atatat |
Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3).
|
Revision tags: netbsd-2-0-base
|
#
1.23 |
|
26-Mar-2004 |
he |
branches: 1.23.2; Introduce sysc_init_field() and use it to make the code a little less ugly. Also, fix another gcc2-unfriendly initialization.
|
#
1.22 |
|
26-Mar-2004 |
he |
Modify this so that it actually compiles with gcc2.
|
#
1.21 |
|
25-Mar-2004 |
atatat |
Unwind the nested designators for fields within structs within structs (or unions). This should really be put back once we're all using gcc3 for everything, since that makes it look a *lot* cleaner.
|
#
1.20 |
|
24-Mar-2004 |
atatat |
Description framework for user-level sysctl nodes. Still haven't written the descriptions.
|
#
1.19 |
|
24-Mar-2004 |
atatat |
New node version and layout. This should take care of the netbsd32 emulation problem, formalizes the versioning (should it ever be needed again), and provides a slot for descriptions.
|
#
1.18 |
|
24-Mar-2004 |
atatat |
The new sysctl query interface returns the same information as the old one, but you must pass in an empty node that indicates the version you're using.
|
#
1.17 |
|
24-Mar-2004 |
atatat |
Remove my private hack for watching how sysctl works. That's not supposed to be there.
|
#
1.16 |
|
24-Mar-2004 |
atatat |
Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
#
1.15 |
|
04-Dec-2003 |
atatat |
oops
|
#
1.14 |
|
04-Dec-2003 |
atatat |
Adapt userland sysctl goop to new world order, permitting dynamic discovery.
|
#
1.13 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.12 |
|
19-Dec-2002 |
kleink |
Add a sysconf(3) knob for {ATEXIT_MAX}.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.11 |
|
22-Jan-2000 |
mycroft |
branches: 1.11.6; Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.10 |
|
20-Sep-1999 |
lukem |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
1.9 |
|
16-Sep-1999 |
lukem |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.8 |
|
18-Nov-1998 |
kleink |
Now that it's delinted, make it compile on LP64 platforms again. (Using a size_t for namelen isn't strictly appropriate/necessary anyhow.)
|
#
1.7 |
|
13-Nov-1998 |
christos |
delint
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.6 |
|
21-Jul-1997 |
jtc |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
#
1.5 |
|
13-Jul-1997 |
christos |
Include "extern.h" to pick up prototype for sysctl. Fix RCSID's
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.4 |
|
13-May-1995 |
jtc |
branches: 1.4.4; #include appropriate header files to bring prototypes into scope
|
#
1.3 |
|
04-Mar-1995 |
cgd |
fix up some RCS Id's i botched.
|
#
1.2 |
|
27-Feb-1995 |
cgd |
merge with 4.4-Lite, keeping local changes. clean up Ids
|
#
1.1 |
|
07-May-1994 |
cgd |
branches: 1.1.1; Initial revision
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
|
#
1.37 |
|
16-May-2018 |
joerg |
Avoid complicated arithmetic involving NULL.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base
|
#
1.36 |
|
10-Jan-2017 |
christos |
branches: 1.36.12; simplify cast.
|
Revision tags: pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.35 |
|
05-Feb-2015 |
christos |
branches: 1.35.2; add a couple of casts.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.34 |
|
16-May-2014 |
martin |
Get rid of all sysc_init_field uses - initialize fields directly in C99 notation.
|
#
1.33 |
|
16-May-2014 |
martin |
When creating the descriptions for the "user" node, advance the output pointer properly.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.32 |
|
20-Mar-2012 |
matt |
branches: 1.32.2; 1.32.8; Use C89 definitions. Remove use of __P
|
#
1.31 |
|
13-Mar-2012 |
christos |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.30 |
|
27-Aug-2008 |
christos |
branches: 1.30.2; 1.30.6; setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
24-Feb-2006 |
drochner |
branches: 1.29.20; complete constification of the sysctl() user side
|
#
1.28 |
|
29-Nov-2005 |
christos |
WARNS=4
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.27 |
|
07-Sep-2004 |
jrf |
Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
#
1.26 |
|
25-Apr-2004 |
atatat |
Remove dynamic sysctl node version 0 from the tree. It seemed okay at first, but quickly showed its shortcomings. The version 1 node we're now using should be good for a while.
|
#
1.25 |
|
11-Apr-2004 |
he |
Avoid using preprocessing conditionals in a macro argument list at least as long as all ports have not yet been converted to using gcc 3.3.3.
Build bug discovered when building for vax.
|
#
1.24 |
|
08-Apr-2004 |
atatat |
Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3).
|
Revision tags: netbsd-2-0-base
|
#
1.23 |
|
26-Mar-2004 |
he |
branches: 1.23.2; Introduce sysc_init_field() and use it to make the code a little less ugly. Also, fix another gcc2-unfriendly initialization.
|
#
1.22 |
|
26-Mar-2004 |
he |
Modify this so that it actually compiles with gcc2.
|
#
1.21 |
|
25-Mar-2004 |
atatat |
Unwind the nested designators for fields within structs within structs (or unions). This should really be put back once we're all using gcc3 for everything, since that makes it look a *lot* cleaner.
|
#
1.20 |
|
24-Mar-2004 |
atatat |
Description framework for user-level sysctl nodes. Still haven't written the descriptions.
|
#
1.19 |
|
24-Mar-2004 |
atatat |
New node version and layout. This should take care of the netbsd32 emulation problem, formalizes the versioning (should it ever be needed again), and provides a slot for descriptions.
|
#
1.18 |
|
24-Mar-2004 |
atatat |
The new sysctl query interface returns the same information as the old one, but you must pass in an empty node that indicates the version you're using.
|
#
1.17 |
|
24-Mar-2004 |
atatat |
Remove my private hack for watching how sysctl works. That's not supposed to be there.
|
#
1.16 |
|
24-Mar-2004 |
atatat |
Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
#
1.15 |
|
04-Dec-2003 |
atatat |
oops
|
#
1.14 |
|
04-Dec-2003 |
atatat |
Adapt userland sysctl goop to new world order, permitting dynamic discovery.
|
#
1.13 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.12 |
|
19-Dec-2002 |
kleink |
Add a sysconf(3) knob for {ATEXIT_MAX}.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.11 |
|
22-Jan-2000 |
mycroft |
branches: 1.11.6; Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.10 |
|
20-Sep-1999 |
lukem |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
1.9 |
|
16-Sep-1999 |
lukem |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.8 |
|
18-Nov-1998 |
kleink |
Now that it's delinted, make it compile on LP64 platforms again. (Using a size_t for namelen isn't strictly appropriate/necessary anyhow.)
|
#
1.7 |
|
13-Nov-1998 |
christos |
delint
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.6 |
|
21-Jul-1997 |
jtc |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
#
1.5 |
|
13-Jul-1997 |
christos |
Include "extern.h" to pick up prototype for sysctl. Fix RCSID's
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.4 |
|
13-May-1995 |
jtc |
branches: 1.4.4; #include appropriate header files to bring prototypes into scope
|
#
1.3 |
|
04-Mar-1995 |
cgd |
fix up some RCS Id's i botched.
|
#
1.2 |
|
27-Feb-1995 |
cgd |
merge with 4.4-Lite, keeping local changes. clean up Ids
|
#
1.1 |
|
07-May-1994 |
cgd |
branches: 1.1.1; Initial revision
|
#
1.36 |
|
10-Jan-2017 |
christos |
simplify cast.
|
Revision tags: pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.35 |
|
05-Feb-2015 |
christos |
add a couple of casts.
|
Revision tags: netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.34 |
|
16-May-2014 |
martin |
Get rid of all sysc_init_field uses - initialize fields directly in C99 notation.
|
#
1.33 |
|
16-May-2014 |
martin |
When creating the descriptions for the "user" node, advance the output pointer properly.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.32 |
|
20-Mar-2012 |
matt |
branches: 1.32.2; 1.32.8; Use C89 definitions. Remove use of __P
|
#
1.31 |
|
13-Mar-2012 |
christos |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.30 |
|
27-Aug-2008 |
christos |
branches: 1.30.2; 1.30.6; setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
24-Feb-2006 |
drochner |
branches: 1.29.20; complete constification of the sysctl() user side
|
#
1.28 |
|
29-Nov-2005 |
christos |
WARNS=4
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.27 |
|
07-Sep-2004 |
jrf |
Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
#
1.26 |
|
25-Apr-2004 |
atatat |
Remove dynamic sysctl node version 0 from the tree. It seemed okay at first, but quickly showed its shortcomings. The version 1 node we're now using should be good for a while.
|
#
1.25 |
|
11-Apr-2004 |
he |
Avoid using preprocessing conditionals in a macro argument list at least as long as all ports have not yet been converted to using gcc 3.3.3.
Build bug discovered when building for vax.
|
#
1.24 |
|
08-Apr-2004 |
atatat |
Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3).
|
Revision tags: netbsd-2-0-base
|
#
1.23 |
|
26-Mar-2004 |
he |
branches: 1.23.2; Introduce sysc_init_field() and use it to make the code a little less ugly. Also, fix another gcc2-unfriendly initialization.
|
#
1.22 |
|
26-Mar-2004 |
he |
Modify this so that it actually compiles with gcc2.
|
#
1.21 |
|
25-Mar-2004 |
atatat |
Unwind the nested designators for fields within structs within structs (or unions). This should really be put back once we're all using gcc3 for everything, since that makes it look a *lot* cleaner.
|
#
1.20 |
|
24-Mar-2004 |
atatat |
Description framework for user-level sysctl nodes. Still haven't written the descriptions.
|
#
1.19 |
|
24-Mar-2004 |
atatat |
New node version and layout. This should take care of the netbsd32 emulation problem, formalizes the versioning (should it ever be needed again), and provides a slot for descriptions.
|
#
1.18 |
|
24-Mar-2004 |
atatat |
The new sysctl query interface returns the same information as the old one, but you must pass in an empty node that indicates the version you're using.
|
#
1.17 |
|
24-Mar-2004 |
atatat |
Remove my private hack for watching how sysctl works. That's not supposed to be there.
|
#
1.16 |
|
24-Mar-2004 |
atatat |
Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
#
1.15 |
|
04-Dec-2003 |
atatat |
oops
|
#
1.14 |
|
04-Dec-2003 |
atatat |
Adapt userland sysctl goop to new world order, permitting dynamic discovery.
|
#
1.13 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.12 |
|
19-Dec-2002 |
kleink |
Add a sysconf(3) knob for {ATEXIT_MAX}.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.11 |
|
22-Jan-2000 |
mycroft |
branches: 1.11.6; Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.10 |
|
20-Sep-1999 |
lukem |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
1.9 |
|
16-Sep-1999 |
lukem |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.8 |
|
18-Nov-1998 |
kleink |
Now that it's delinted, make it compile on LP64 platforms again. (Using a size_t for namelen isn't strictly appropriate/necessary anyhow.)
|
#
1.7 |
|
13-Nov-1998 |
christos |
delint
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.6 |
|
21-Jul-1997 |
jtc |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
#
1.5 |
|
13-Jul-1997 |
christos |
Include "extern.h" to pick up prototype for sysctl. Fix RCSID's
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.4 |
|
13-May-1995 |
jtc |
branches: 1.4.4; #include appropriate header files to bring prototypes into scope
|
#
1.3 |
|
04-Mar-1995 |
cgd |
fix up some RCS Id's i botched.
|
#
1.2 |
|
27-Feb-1995 |
cgd |
merge with 4.4-Lite, keeping local changes. clean up Ids
|
#
1.1 |
|
07-May-1994 |
cgd |
branches: 1.1.1; Initial revision
|