dazuko_linux.h File Reference

#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/unistd.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <asm/atomic.h>

Go to the source code of this file.

Defines

#define KERNEL_VERSION(a, b, c)   ((a)*65536+(b)*256+(c))
#define DEVICE_NAME   "dazuko"
#define XP_ERROR_PERMISSION   -EPERM;
#define XP_ERROR_INTERRUPT   -EINTR;
#define XP_ERROR_BUSY   -EBUSY;
#define XP_ERROR_FAULT   -EFAULT;
#define XP_ERROR_INVALID   -EINVAL;


Define Documentation

#define DEVICE_NAME   "dazuko"
 

Definition at line 59 of file dazuko_linux.h.

Referenced by xp_sys_hook(), and xp_sys_unhook().

#define KERNEL_VERSION a,
b,
 )     ((a)*65536+(b)*256+(c))
 

Definition at line 37 of file dazuko_linux.h.

Referenced by get_target_name(), and writable().

#define XP_ERROR_BUSY   -EBUSY;
 

Definition at line 63 of file dazuko_linux.h.

Referenced by dazuko_register_daemon().

#define XP_ERROR_FAULT   -EFAULT;
 

Definition at line 64 of file dazuko_linux.h.

Referenced by dazuko_add_hash(), dazuko_handle_user_request(), dazuko_handle_user_request_compat1(), dazuko_handle_user_request_compat12(), dazuko_insert_path_fs(), dazuko_register_daemon(), dazuko_register_security(), dazuko_unregister_security(), linux_dazuko_device_read(), and linux_dazuko_device_write().

#define XP_ERROR_INTERRUPT   -EINTR;
 

Definition at line 62 of file dazuko_linux.h.

Referenced by dazuko_handle_request(), dazuko_handle_request_get_an_access(), dazuko_handle_user_request_compat1(), dazuko_handle_user_request_compat12(), dazuko_process_access(), dazuko_register_daemon(), dazuko_return_access(), dazuko_run_daemon(), dazuko_slot_state(), dazuko_sys_pre(), and linux_dazuko_device_write().

#define XP_ERROR_INVALID   -EINVAL;
 

Definition at line 65 of file dazuko_linux.h.

Referenced by dazuko_handle_request(), dazuko_handle_user_request_compat1(), dazuko_handle_user_request_compat12(), dazuko_insert_path_fs(), dazuko_set_option(), linux_dazuko_device_read(), and xp_sys_hook().

#define XP_ERROR_PERMISSION   -EPERM;
 

Definition at line 61 of file dazuko_linux.h.

Referenced by dazuko_handle_user_request(), dazuko_handle_user_request_compat1(), dazuko_process_access(), dazuko_register_daemon(), dazuko_register_security(), dazuko_return_access(), dazuko_set_option(), dazuko_sys_generic(), dazuko_sys_pre(), and dazuko_unregister_security().


Generated on Sun May 21 14:31:01 2006 for RSBAC by  doxygen 1.4.2