/linux-2.6.21.1-rsbac-1.3.4/rsbac/adf/daz/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.

Data Structures

struct  xp_daemon_id
struct  xp_file
struct  xp_mutex
struct  xp_atomic
struct  xp_file_struct
struct  xp_queue
struct  xp_rwlock

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_attr_fd(), get_target_name(), rsbac_acl_get_rights(), rsbac_acl_get_single_right(), rsbac_acl_sys_add_to_acl_entry(), rsbac_acl_sys_remove_acl_entry(), rsbac_acl_sys_remove_from_acl_entry(), rsbac_acl_sys_set_acl_entry(), rsbac_acl_sys_set_mask(), rsbac_adf_request_jail(), rsbac_adf_set_attr_res(), rsbac_free_dat_dentries(), rsbac_kmalloc(), rsbac_stats(), rsbac_vkmalloc(), rsbac_write_open(), sys_rsbac_get_attr(), sys_rsbac_set_attr(), 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(), 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 Wed May 16 11:54:09 2007 for RSBAC by  doxygen 1.5.1