pm_types.h File Reference

#include <linux/types.h>
#include <rsbac/pm_ticket.h>

Go to the source code of this file.

Defines

#define RSBAC_PM_A_READ   1
#define RSBAC_PM_A_WRITE   2
#define RSBAC_PM_A_DELETE   4
#define RSBAC_PM_A_CREATE   8
#define RSBAC_PM_A_APPEND   16
#define RSBAC_PM_A_ALL   31
#define RSBAC_PM_A_WRITING
#define RSBAC_PM_A_WRITE_TO_FILE   (RSBAC_PM_A_WRITE | RSBAC_PM_A_APPEND)
#define RSBAC_PM_ROOT_TASK_SET_ID   (rsbac_pm_task_set_id_t) -1
#define RSBAC_PM_IPC_OBJECT_CLASS_ID   (rsbac_pm_object_class_id_t) 60000
#define RSBAC_PM_DEV_OBJECT_CLASS_ID   (rsbac_pm_object_class_id_t) 60001

Typedefs

typedef __u32 rsbac_pm_task_id_t
typedef __u32 rsbac_pm_task_set_id_t
typedef __u32 rsbac_pm_tp_id_t
typedef __u32 rsbac_pm_tp_set_id_t
typedef __u32 rsbac_pm_ru_set_id_t
typedef __u32 rsbac_pm_purpose_id_t
typedef __s32 rsbac_pm_pp_set_id_t
typedef rsbac_pid_t rsbac_pm_in_pp_set_id_t
typedef rsbac_pm_in_pp_set_id_t rsbac_pm_out_pp_set_id_t
typedef __u32 rsbac_pm_object_class_id_t
typedef __u32 rsbac_pm_tkt_id_t
typedef rsbac_time_t rsbac_pm_time_stamp_t
typedef __u8 rsbac_pm_accesses_t
typedef rsbac_enum_t rsbac_pm_role_int_t
typedef rsbac_enum_t rsbac_pm_process_type_int_t
typedef rsbac_enum_t rsbac_pm_object_type_int_t
typedef rsbac_pm_process_type_int_t rsbac_pm_program_type_int_t

Enumerations

enum  rsbac_pm_list_t {
  PL_task, PL_class, PL_na, PL_cs,
  PL_tp, PL_pp, PL_tkt, PL_none
}
enum  rsbac_pm_all_list_t {
  PA_task, PA_class, PA_na, PA_cs,
  PA_tp, PA_pp, PA_tkt, PA_task_set,
  PA_tp_set, PA_ru_set, PA_pp_set, PA_in_pp_set,
  PA_out_pp_set, PA_none
}
enum  rsbac_pm_role_t {
  PR_user, PR_security_officer, PR_data_protection_officer, PR_tp_manager,
  PR_system_admin, PR_none
}
enum  rsbac_pm_process_type_t { PP_none, PP_TP }
enum  rsbac_pm_object_type_t {
  PO_none, PO_TP, PO_personal_data, PO_non_personal_data,
  PO_ipc, PO_dir
}


Define Documentation

#define RSBAC_PM_A_ALL   31
 

Definition at line 37 of file pm_types.h.

#define RSBAC_PM_A_APPEND   16
 

Definition at line 36 of file pm_types.h.

Referenced by rsbac_adf_request_pm(), and rsbac_adf_set_attr_pm().

#define RSBAC_PM_A_CREATE   8
 

Definition at line 35 of file pm_types.h.

Referenced by rsbac_adf_request_pm(), and rsbac_pm_create_file().

#define RSBAC_PM_A_DELETE   4
 

Definition at line 34 of file pm_types.h.

Referenced by rsbac_adf_request_pm().

#define RSBAC_PM_A_READ   1
 

Definition at line 32 of file pm_types.h.

Referenced by adjust_in_out_pp(), adjust_in_out_pp_ipc(), na_and_pp_ipc(), na_and_pp_or_cs(), rsbac_adf_request_pm(), and rsbac_adf_set_attr_pm().

#define RSBAC_PM_A_WRITE   2
 

Definition at line 33 of file pm_types.h.

Referenced by rsbac_adf_request_pm(), and rsbac_adf_set_attr_pm().

#define RSBAC_PM_A_WRITE_TO_FILE   (RSBAC_PM_A_WRITE | RSBAC_PM_A_APPEND)
 

Definition at line 40 of file pm_types.h.

Referenced by adjust_in_out_pp(), adjust_in_out_pp_ipc(), na_and_pp_ipc(), and na_and_pp_or_cs().

#define RSBAC_PM_A_WRITING
 

Value:

Definition at line 38 of file pm_types.h.

Referenced by na_and_pp_ipc().

#define RSBAC_PM_DEV_OBJECT_CLASS_ID   (rsbac_pm_object_class_id_t) 60001
 

Definition at line 44 of file pm_types.h.

Referenced by rsbac_pm(), rsbac_pm_create_file(), and rsbac_pm_exists().

#define RSBAC_PM_IPC_OBJECT_CLASS_ID   (rsbac_pm_object_class_id_t) 60000
 

Definition at line 43 of file pm_types.h.

Referenced by na_and_pp_ipc(), na_ipc(), rsbac_pm(), rsbac_pm_create_file(), and rsbac_pm_exists().

#define RSBAC_PM_ROOT_TASK_SET_ID   (rsbac_pm_task_set_id_t) -1
 

Definition at line 42 of file pm_types.h.

Referenced by rsbac_pm().


Typedef Documentation

typedef __u8 rsbac_pm_accesses_t
 

Definition at line 31 of file pm_types.h.

typedef rsbac_pid_t rsbac_pm_in_pp_set_id_t
 

Definition at line 24 of file pm_types.h.

typedef __u32 rsbac_pm_object_class_id_t
 

Definition at line 27 of file pm_types.h.

typedef rsbac_enum_t rsbac_pm_object_type_int_t
 

Definition at line 65 of file pm_types.h.

typedef rsbac_pm_in_pp_set_id_t rsbac_pm_out_pp_set_id_t
 

Definition at line 25 of file pm_types.h.

typedef __s32 rsbac_pm_pp_set_id_t
 

Definition at line 23 of file pm_types.h.

typedef rsbac_enum_t rsbac_pm_process_type_int_t
 

Definition at line 61 of file pm_types.h.

typedef rsbac_pm_process_type_int_t rsbac_pm_program_type_int_t
 

Definition at line 67 of file pm_types.h.

typedef __u32 rsbac_pm_purpose_id_t
 

Definition at line 22 of file pm_types.h.

typedef rsbac_enum_t rsbac_pm_role_int_t
 

Definition at line 58 of file pm_types.h.

typedef __u32 rsbac_pm_ru_set_id_t
 

Definition at line 21 of file pm_types.h.

typedef __u32 rsbac_pm_task_id_t
 

Definition at line 17 of file pm_types.h.

typedef __u32 rsbac_pm_task_set_id_t
 

Definition at line 18 of file pm_types.h.

typedef rsbac_time_t rsbac_pm_time_stamp_t
 

Definition at line 29 of file pm_types.h.

typedef __u32 rsbac_pm_tkt_id_t
 

Definition at line 28 of file pm_types.h.

typedef __u32 rsbac_pm_tp_id_t
 

Definition at line 19 of file pm_types.h.

typedef __u32 rsbac_pm_tp_set_id_t
 

Definition at line 20 of file pm_types.h.


Enumeration Type Documentation

enum rsbac_pm_all_list_t
 

Enumeration values:
PA_task 
PA_class 
PA_na 
PA_cs 
PA_tp 
PA_pp 
PA_tkt 
PA_task_set 
PA_tp_set 
PA_ru_set 
PA_pp_set 
PA_in_pp_set 
PA_out_pp_set 
PA_none 

Definition at line 50 of file pm_types.h.

enum rsbac_pm_list_t
 

Enumeration values:
PL_task 
PL_class 
PL_na 
PL_cs 
PL_tp 
PL_pp 
PL_tkt 
PL_none 

Definition at line 48 of file pm_types.h.

enum rsbac_pm_object_type_t
 

Enumeration values:
PO_none 
PO_TP 
PO_personal_data 
PO_non_personal_data 
PO_ipc 
PO_dir 

Definition at line 63 of file pm_types.h.

enum rsbac_pm_process_type_t
 

Enumeration values:
PP_none 
PP_TP 

Definition at line 60 of file pm_types.h.

enum rsbac_pm_role_t
 

Enumeration values:
PR_user 
PR_security_officer 
PR_data_protection_officer 
PR_tp_manager 
PR_system_admin 
PR_none 

Definition at line 54 of file pm_types.h.


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