#include <libc.h>
#include <core.h>
#include <libtimer.h>
#include "propvar.h"
Defines | |
#define | DEBUG_STORE (1<<0) |
#define | DEBUG_FETCH (1<<1) |
#define | DEBUG_MISC (1<<2) |
#define | DEBUG_CAST (1<<3) |
#define | DEBUG_ACCESS (1<<4) |
#define | DEBUG (DEBUG_CAST) |
#define | PROP_HSIZE 1021 |
#define | PROP_USAGE "usage: prop [-v]" |
Functions | |
void | prop_dump_i (char *s) |
void | sys_prop_dump (t_tcb *caller) |
t_prop * | prop_get (char *kbuf, int klen, struct s_ucred *ucred, u_int32_t prop_trust) |
void | prop_del (t_prop *prop) |
int | prop_access (t_prop *prop, struct s_ucred *ucred, int mode) |
void | sys_prop_store (t_tcb *caller) |
void | sys_prop_fetch (t_tcb *caller) |
void | sys_prop_update (t_tcb *caller) |
void | sys_prop_delete (t_tcb *caller) |
void | sys_prop_attach (t_tcb *caller) |
void | sys_prop_detach (t_tcb *caller) |
void | do_propsrv_syscall () |
void | propsrv_syscall () |
void | treat_dead (pid_t deadpid) |
void | signotify (int sig) |
void | sigalrm (int sig) |
void | propd_main () |
pid_t | create_propd () |
void | create_propsrv () |
int | main (int argc, char **argv) |
Variables | |
t_prop_list | props [PROP_HSIZE] |
pid_t | notify_pid = (pid_t)-1 |
__cpu_simple_lock_t | prop_lock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
allocate a task for prop server |
|
allocate a task for prop server |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|