jail_syscalls.c File Reference

#include <linux/string.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/version.h>
#include <linux/syscalls.h>
#include <linux/file.h>
#include <rsbac/types.h>
#include <rsbac/aci.h>
#include <rsbac/error.h>
#include <rsbac/rkmem.h>
#include <rsbac/debug.h>
#include <rsbac/helpers.h>
#include <rsbac/getname.h>
#include <rsbac/network.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Functions

int rsbac_jail_sys_jail (rsbac_version_t version, char *path, rsbac_jail_ip_t ip, rsbac_jail_flags_t flags, rsbac_cap_vector_t max_caps)

Variables

static rsbac_jail_id_t next_id = 1


Function Documentation

int rsbac_jail_sys_jail rsbac_version_t  version,
char *  path,
rsbac_jail_ip_t  ip,
rsbac_jail_flags_t  flags,
rsbac_cap_vector_t  max_caps
 

Definition at line 51 of file jail_syscalls.c.

References A_jail_flags, A_jail_id, A_jail_ip, A_jail_max_caps, A_jail_role, JAIL, rsbac_attribute_value_t::jail_flags, rsbac_attribute_value_t::jail_id, rsbac_attribute_value_t::jail_ip, rsbac_attribute_value_t::jail_max_caps, next_id, rsbac_target_id_t::process, RSBAC_EINVALIDVERSION, RSBAC_EREADFAILED, RSBAC_EWRITEFAILED, rsbac_get_attr, rsbac_get_full_path(), RSBAC_JAIL_VERSION, rsbac_kfree(), rsbac_kmalloc(), RSBAC_MAXNAMELEN, rsbac_set_attr, SR_user, rsbac_attribute_value_t::system_role, T_PROCESS, T_USER, TRUE, and rsbac_target_id_t::user.

Referenced by sys_rsbac(), and sys_rsbac_jail().


Variable Documentation

rsbac_jail_id_t next_id = 1 [static]
 

Definition at line 34 of file jail_syscalls.c.

Referenced by rsbac_jail_sys_jail().


Generated on Fri Jun 17 09:45:29 2005 for RSBAC by  doxygen 1.4.2