3 |
* |
* |
4 |
* Copyright (C) 2005-2011 NTT DATA CORPORATION |
* Copyright (C) 2005-2011 NTT DATA CORPORATION |
5 |
* |
* |
6 |
* Version: 1.8.2-pre 2011/05/22 |
* Version: 1.8.2-pre 2011/06/01 |
7 |
*/ |
*/ |
8 |
|
|
9 |
#include "internal.h" |
#include "internal.h" |
520 |
struct ccs_domain_info *domain; |
struct ccs_domain_info *domain; |
521 |
const int idx = ccs_read_lock(); |
const int idx = ccs_read_lock(); |
522 |
ccs_policy_loaded = true; |
ccs_policy_loaded = true; |
523 |
printk(KERN_INFO "CCSecurity: 1.8.2-pre 2011/05/22\n"); |
printk(KERN_INFO "CCSecurity: 1.8.2-pre 2011/06/01\n"); |
524 |
list_for_each_entry_srcu(domain, &ccs_domain_list, list, &ccs_ss) { |
list_for_each_entry_srcu(domain, &ccs_domain_list, list, &ccs_ss) { |
525 |
const u8 profile = domain->profile; |
const u8 profile = domain->profile; |
526 |
const struct ccs_policy_namespace *ns = domain->ns; |
const struct ccs_policy_namespace *ns = domain->ns; |
1959 |
|
|
1960 |
/* String table for domain transition control keywords. */ |
/* String table for domain transition control keywords. */ |
1961 |
static const char * const ccs_transition_type[CCS_MAX_TRANSITION_TYPE] = { |
static const char * const ccs_transition_type[CCS_MAX_TRANSITION_TYPE] = { |
|
[CCS_TRANSITION_CONTROL_NAMESPACE] = "move_namespace ", |
|
1962 |
[CCS_TRANSITION_CONTROL_NO_NAMESPACE] = "no_move_namespace ", |
[CCS_TRANSITION_CONTROL_NO_NAMESPACE] = "no_move_namespace ", |
1963 |
[CCS_TRANSITION_CONTROL_INITIALIZE] = "initialize_domain ", |
[CCS_TRANSITION_CONTROL_NAMESPACE] = "move_namespace ", |
1964 |
[CCS_TRANSITION_CONTROL_NO_INITIALIZE] = "no_initialize_domain ", |
[CCS_TRANSITION_CONTROL_NO_INITIALIZE] = "no_initialize_domain ", |
1965 |
[CCS_TRANSITION_CONTROL_INITIALIZE] = "initialize_domain ", |
[CCS_TRANSITION_CONTROL_INITIALIZE] = "initialize_domain ", |
1966 |
[CCS_TRANSITION_CONTROL_NO_KEEP] = "no_keep_domain ", |
[CCS_TRANSITION_CONTROL_NO_KEEP] = "no_keep_domain ", |