History log of /netbsd-src/lib/libc/gen/sysctl.c (Results 1 – 25 of 38)
Revision Date Author Comments
# bc7a3fe2 30-Mar-2021 rillig <rillig@NetBSD.org>

libc/gen: fix hack for previously unsupported lint initializers

Supported since init.c 1.182 from 2021-03-30.


# 33bc134a 16-May-2018 joerg <joerg@NetBSD.org>

Avoid complicated arithmetic involving NULL.


# 6ddfa6c0 10-Jan-2017 christos <christos@NetBSD.org>

simplify cast.


# 20f70894 05-Feb-2015 christos <christos@NetBSD.org>

add a couple of casts.


# 804dc5f9 16-May-2014 martin <martin@NetBSD.org>

Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.


# 5dd9bd30 16-May-2014 martin <martin@NetBSD.org>

When creating the descriptions for the "user" node, advance the output
pointer properly.


# cf884af3 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 definitions.
Remove use of __P


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

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 t

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@

show more ...


# 80a59323 27-Aug-2008 christos <christos@NetBSD.org>

setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko


# 39222faf 24-Feb-2006 drochner <drochner@NetBSD.org>

complete constification of the sysctl() user side


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 190b2e4c 07-Sep-2004 jrf <jrf@NetBSD.org>

Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.


# 990f278f 25-Apr-2004 atatat <atatat@NetBSD.org>

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.


# 30f13a87 11-Apr-2004 he <he@NetBSD.org>

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.


# 11d2a718 08-Apr-2004 atatat <atatat@NetBSD.org>

Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3).


# 9e1e88e1 26-Mar-2004 he <he@NetBSD.org>

Introduce sysc_init_field() and use it to make the code a little less ugly.
Also, fix another gcc2-unfriendly initialization.


# 2f47eb75 26-Mar-2004 he <he@NetBSD.org>

Modify this so that it actually compiles with gcc2.


# 44afe14c 25-Mar-2004 atatat <atatat@NetBSD.org>

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.


# ce0d7254 24-Mar-2004 atatat <atatat@NetBSD.org>

Description framework for user-level sysctl nodes. Still haven't
written the descriptions.


# c6abd47f 24-Mar-2004 atatat <atatat@NetBSD.org>

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.


# d42aae36 24-Mar-2004 atatat <atatat@NetBSD.org>

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.


# 9b4aa5d4 24-Mar-2004 atatat <atatat@NetBSD.org>

Remove my private hack for watching how sysctl works. That's not
supposed to be there.


# 19af35fd 24-Mar-2004 atatat <atatat@NetBSD.org>

Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.


# 6fc962bc 04-Dec-2003 atatat <atatat@NetBSD.org>

oops


# fcc5d1a7 04-Dec-2003 atatat <atatat@NetBSD.org>

Adapt userland sysctl goop to new world order, permitting dynamic
discovery.


12