kern_sysctl.h
sys/sysproto.h
sys/thread.h
src/sys/include/ubixos/init.h
src/sys/kernel/kern_sysctl.c
src/sys/vmm/copyvirtualspace.c
sys/thread.h
ubixos/types.h
sys/_types.h
src/sys/include/sys/kern_sysctl.h
sys/sysproto.h
sys/signal.h
src/sys/kernel/kern_sysctl.c
src/sys/include/sys/kern_sysctl.h
src/sys/init/main.c
src/sys/include/ubixos/init.h
src/sys/vmm/copyvirtualspace.c
sysctl_entry
CTL_DEBUG
5
sysctl_init
CTL_HW
6
sysctl_init
CTL_KERN
1
sysctl_init
CTL_KERN_OPENFILES
1
CTL_MACHDEP
7
sysctl_init
CTL_MAXNAME
24
def_ctls
CTL_NET
4
sysctl_init
CTL_P1003_1B
9
sysctl_init
CTL_UBIX
10
sysctl_init
CTL_UNSPEC
0
sysctl_init
CTL_USER
8
sysctl_init
CTL_VFS
3
sysctl_init
CTL_VM
2
sysctl_init
EINVAL
-1
int int kern_sysctl (int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen, size_t *retval, int flags) kern_sysctl int * name u_int namelen void * old size_t * oldlenp void * new size_t newlen size_t * retval int flags
int int sysctl_add (int *, int, char *, void *, int) sysctl_add int * int char * void * int sysctl_entry::children sysctl_entry::id kmalloc kprintf memcpy sysctl_entry::name sysctl_entry::next sysctl_entry::prev sprintf sysctl_find sysctl_entry::val_len sysctl_entry::value def_ctls
int int sysctl_init () sysctl_init sysctl_entry::children CTL_DEBUG CTL_HW CTL_KERN CTL_MACHDEP CTL_NET CTL_P1003_1B CTL_UBIX CTL_UNSPEC CTL_USER CTL_VFS CTL_VM ctls def_ctls sysctl_entry::id kmalloc kprintf sysctl_entry::name sysctl_entry::next sysctl_entry::prev sprintf
bool bool sysctl_enabled sysctl_enabled

    /*****************************************************************************************
    Copyright(c)2002-2004TheUbixOSProject
    Allrightsreserved.

    Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,are
    permittedprovidedthatthefollowingconditionsaremet:

    Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistof
    conditions,thefollowingdisclaimerandthelistofauthors.Redistributionsinbinary
    formmustreproducetheabovecopyrightnotice,thislistofconditions,thefollowing
    disclaimerandthelistofauthorsinthedocumentationand/orothermaterialsprovided
    withthedistribution.NeitherthenameoftheUbixOSProjectnorthenamesofits
    contributorsmaybeusedtoendorseorpromoteproductsderivedfromthissoftware
    withoutspecificpriorwrittenpermission.

    THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANY
    EXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOF
    MERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALL
    THECOPYRIGHTOWNERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,
    SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENT
    OFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,OR
    TORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHIS
    SOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.

    $Id: kern__sysctl_8h.xml 88 2016-01-12 00:11:29Z reddawg $

    *****************************************************************************************/

    #ifndef_KERNSYSCTL_H
    #define_KERNSYSCTL_H

    #include<sys/sysproto.h>
    #include<sys/thread.h>

    #defineCTL_MAXNAME24/*largestnumberofcomponentssupported*/

    /*
    *Top-levelidentifiers
    */
    #defineCTL_UNSPEC0/*unused*/
    #defineCTL_KERN1/*"highkernel":proc,limits*/
    #defineCTL_VM2/*virtualmemory*/
    #defineCTL_VFS3/*filesystem,mounttypeisnext*/
    #defineCTL_NET4/*network,seesocket.h*/
    #defineCTL_DEBUG5/*debuggingparameters*/
    #defineCTL_HW6/*genericcpu/io*/
    #defineCTL_MACHDEP7/*machinedependent*/
    #defineCTL_USER8/*user-level*/
    #defineCTL_P1003_1B9/*POSIX1003.1B*/
    #defineCTL_UBIX10/*ubixos*/

    #defineCTL_KERN_OPENFILES1/*kernelopenfiles*/

    #defineEINVAL-1/**/

    structsysctl_entry{
    structsysctl_entry*prev;
    structsysctl_entry*next;
    structsysctl_entry*children;
    charname[32];
    intid;
    void*value;
    intval_len;
    };

    intkern_sysctl(int*name,u_intnamelen,void*old,size_t*oldlenp,void*new,size_tnewlen,size_t*retval,intflags);
    intsysctl_add(int*,int,char*,void*,int);
    intsysctl_init();

    externboolsysctl_enabled;
    #endif

    /***
    END
    ***/