Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
helper.c File Reference
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sched.h>
#include <linux/limits.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <kern_util.h>
#include <os.h>
#include <um_malloc.h>

Go to the source code of this file.

Data Structures

struct  helper_data
 

Functions

int run_helper (void(*pre_exec)(void *), void *pre_data, char **argv)
 
int run_helper_thread (int(*proc)(void *), void *arg, unsigned int flags, unsigned long *stack_out)
 
int helper_wait (int pid)
 

Function Documentation

int helper_wait ( int  pid)

Definition at line 148 of file helper.c.

int run_helper ( void(*)(void *)  pre_exec,
void pre_data,
char **  argv 
)

Definition at line 42 of file helper.c.

int run_helper_thread ( int(*)(void *)  proc,
void arg,
unsigned int  flags,
unsigned long stack_out 
)

Definition at line 113 of file helper.c.