UbixOS  2.0
kern_sysctl.c File Reference
#include <sys/kern_sysctl.h>
#include <sys/sysproto_posix.h>
#include <sys/thread.h>
#include <ubixos/endtask.h>
#include <ubixos/kpanic.h>
#include <lib/kprintf.h>
#include <lib/kmalloc.h>
#include <assert.h>
#include <string.h>
#include <ubixos/errno.h>
#include <lib/kern_trie.h>
Include dependency graph for kern_sysctl.c:

Go to the source code of this file.

Functions

int __sysctl (struct thread *td, struct sysctl_args *uap)
 
int sys_sysctl (struct thread *td, struct sys_sysctl_args *args)
 
int sysctl_add (int *name, int namelen, char *str_name, void *buf, int buf_size)
 
int sysctl_init ()
 

Variables

struct Triesysctl_headTrie = 0x0
 

Function Documentation

◆ __sysctl()

int __sysctl ( struct thread td,
struct sysctl_args uap 
)

Definition at line 255 of file kern_sysctl.c.

◆ sys_sysctl()

int sys_sysctl ( struct thread td,
struct sys_sysctl_args args 
)

Definition at line 286 of file kern_sysctl.c.

◆ sysctl_add()

int sysctl_add ( int *  name,
int  namelen,
char *  str_name,
void *  buf,
int  buf_size 
)

Definition at line 418 of file kern_sysctl.c.

◆ sysctl_init()

int sysctl_init ( )

Definition at line 147 of file kern_sysctl.c.

Variable Documentation

◆ sysctl_headTrie

struct Trie* sysctl_headTrie = 0x0

Definition at line 46 of file kern_sysctl.c.