Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/sysctlgetmibinfo.c
RevisionDateAuthorComments
 1.16  20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.15  19-Apr-2022  rillig lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.
 1.14  27-Aug-2019  kamil Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
 1.13  30-Sep-2016  dholland branches: 1.13.14; 1.13.16;
Be more careful about preserving errno. Might conceivably be related
to PR 51432.
 1.12  30-Sep-2016  dholland Be consistent about returning -1 on error. Don't return random errnos
instead.
 1.11  16-May-2014  martin branches: 1.11.6;
Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.
 1.10  13-Mar-2012  christos branches: 1.10.2; 1.10.8;
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@
 1.9  13-Dec-2010  pooka branches: 1.9.6;
Don't __weak_alias non-existent symbols. Apparently the alpha
compiler doesn't like it.
 1.8  05-Nov-2010  pooka make sysctl(8) work as a rump client
 1.7  12-Feb-2009  lukem sign-compare fixes
 1.6  29-Apr-2008  martin branches: 1.6.8; 1.6.10;
Convert to new 2 clause license
 1.5  12-Jun-2005  lukem branches: 1.5.18;
Add missing __RCSID()
 1.4  09-Feb-2005  kleink Use strtoimax(), incidentally removing the only libc-internal use of
strtoq().
 1.3  08-Apr-2004  atatat Weak aliases for sysctlfoobar() functions.
 1.2  26-Mar-2004  he branches: 1.2.2;
Introduce sysc_init_field() and use it to make the code a little less ugly.
Also, fix another gcc2-unfriendly initialization.
 1.1  25-Mar-2004  atatat Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump. Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc. That oughta cover it.
 1.2.2.1  08-Apr-2004  jdc Pull up revision 1.3 (requested by atatat in ticket #90)

Weak aliases for sysctlfoobar() functions.
 1.5.18.1  18-May-2008  yamt sync with head.
 1.6.10.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6.8.2  29-Apr-2008  martin Convert to new 2 clause license
 1.6.8.1  29-Apr-2008  martin file sysctlgetmibinfo.c was added on branch christos-time_t on 2008-04-29 06:53:02 +0000
 1.9.6.1  17-Apr-2012  yamt sync with head
 1.10.8.1  10-Aug-2014  tls Rebase.
 1.10.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.6.1  04-Nov-2016  pgoyette Sync with HEAD
 1.13.16.1  01-Sep-2019  martin Pull up following revision(s) (requested by kamil in ticket #126):

external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile: revision 1.3
external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile: revision 1.3
external/gpl2/lvm2/lvm2tools.mk: revision 1.5
common/lib/libc/gmon/mcount.c: revision 1.14
Makefile: revision 1.331
share/mk/Makefile: revision 1.51
external/bsd/fetch/lib/Makefile: revision 1.12
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile: revision 1.3
tests/lib/libc/net/Makefile: revision 1.12
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile: revision 1.3
external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile: revision 1.3
distrib/sets/lists/base/mi: revision 1.1213
share/mk/bsd.lib.mk: revision 1.380
external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile: revision 1.3
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile: revision 1.3
share/mk/bsd.sanitizer.mk: revision 1.1
share/mk/bsd.prog.mk: revision 1.323
external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile: revision 1.3
external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile: revision 1.3
lib/libc/gen/sysctlgetmibinfo.c: revision 1.14

Enhance the support of LLVM sanitizers

Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.

Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
 1.13.14.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed