|
Chris PeBenito |
e181fe |
# Copyright (C) 2005 Tresys Technology, LLC
|
|
Chris PeBenito |
c43097 |
## <module name="bootloader" layer="kernel">
|
|
Chris PeBenito |
c43097 |
## <summary>Policy for the kernel modules, kernel image, and bootloader.</summary>
|
|
Chris PeBenito |
c43097 |
|
|
Chris PeBenito |
c43097 |
########################################
|
|
Chris PeBenito |
c43097 |
## <interface name="bootloader_transition">
|
|
Chris PeBenito |
c43097 |
## <description>
|
|
Chris PeBenito |
c43097 |
## Execute bootloader in the bootloader domain.
|
|
Chris PeBenito |
c43097 |
## </description>
|
|
Chris PeBenito |
c43097 |
## <parameter name="domain">
|
|
Chris PeBenito |
c43097 |
## The type of the process performing this action.
|
|
Chris PeBenito |
c43097 |
## </parameter>
|
|
Chris PeBenito |
c43097 |
## <infoflow type="write" weight="10"/>
|
|
Chris PeBenito |
c43097 |
## </interface>
|
|
Chris PeBenito |
c43097 |
#
|
|
Chris PeBenito |
c43097 |
define(`bootloader_transition',`
|
|
Chris PeBenito |
c43097 |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
c43097 |
allow $1 bootloader_exec_t:file { getattr read execute };
|
|
Chris PeBenito |
c43097 |
allow $1 bootloader_t:process transition;
|
|
Chris PeBenito |
e7fcdc |
type_transition $1 bootloader_exec_t:process bootloader_t;
|
|
Chris PeBenito |
c43097 |
dontaudit $1 bootloader_t:process { noatsecure siginh rlimitinh };
|
|
Chris PeBenito |
c43097 |
')
|
|
Chris PeBenito |
c43097 |
|
|
Chris PeBenito |
c43097 |
define(`bootloader_transition_depend',`
|
|
Chris PeBenito |
c43097 |
type bootloader_t;
|
|
Chris PeBenito |
c43097 |
class file { getattr read execute };
|
|
Chris PeBenito |
c43097 |
class process { transition noatsecure siginh rlimitinh };
|
|
Chris PeBenito |
c43097 |
')
|
|
Chris PeBenito |
c43097 |
|
|
Chris PeBenito |
c43097 |
########################################
|
|
Chris PeBenito |
c43097 |
## <interface name="bootloader_transition_add_role_use_terminal">
|
|
Chris PeBenito |
c43097 |
## <description>
|
|
Chris PeBenito |
c43097 |
## Execute bootloader in the bootloader domain, and
|
|
Chris PeBenito |
c43097 |
## allow the specified role the bootloader domain,
|
|
Chris PeBenito |
c43097 |
## and use the caller's terminal.
|
|
Chris PeBenito |
c43097 |
## </description>
|
|
Chris PeBenito |
c43097 |
## <parameter name="domain">
|
|
Chris PeBenito |
c43097 |
## The type of the process performing this action.
|
|
Chris PeBenito |
c43097 |
## </parameter>
|
|
Chris PeBenito |
c43097 |
## <parameter name="role">
|
|
Chris PeBenito |
c43097 |
## The role to be allowed the bootloader domain.
|
|
Chris PeBenito |
c43097 |
## </parameter>
|
|
Chris PeBenito |
c43097 |
## <parameter name="terminal">
|
|
Chris PeBenito |
c43097 |
## The type of the terminal allow the bootloader domain to use.
|
|
Chris PeBenito |
c43097 |
## </parameter>
|
|
Chris PeBenito |
c43097 |
## <infoflow type="write" weight="10"/>
|
|
Chris PeBenito |
c43097 |
## </interface>
|
|
Chris PeBenito |
c43097 |
#
|
|
Chris PeBenito |
c43097 |
define(`bootloader_transition_add_role_use_terminal',`
|
|
Chris PeBenito |
c43097 |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
c43097 |
bootloader_transition($1)
|
|
Chris PeBenito |
c43097 |
role $2 types bootloader_t;
|
|
Chris PeBenito |
c43097 |
allow bootloader_t $3:chr_file { getattr read write ioctl };
|
|
Chris PeBenito |
c43097 |
')
|
|
Chris PeBenito |
c43097 |
|
|
Chris PeBenito |
c43097 |
define(`bootloader_transition_add_role_use_terminal_depend',`
|
|
Chris PeBenito |
c43097 |
type bootloader_t;
|
|
Chris PeBenito |
c43097 |
class chr_file { getattr read write ioctl };
|
|
Chris PeBenito |
c43097 |
')
|
|
Chris PeBenito |
e181fe |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
075c4f |
# bootloader_search_bootloader_data_directory(domain)
|
|
Chris PeBenito |
075c4f |
#
|
|
Chris PeBenito |
075c4f |
define(`bootloader_search_bootloader_data_directory',`
|
|
Chris PeBenito |
075c4f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
075c4f |
allow $1 boot_t:dir search;
|
|
Chris PeBenito |
075c4f |
')
|
|
Chris PeBenito |
075c4f |
|
|
Chris PeBenito |
075c4f |
define(`bootloader_search_bootloader_data_directory_depend',`
|
|
Chris PeBenito |
075c4f |
type boot_t;
|
|
Chris PeBenito |
075c4f |
class dir search;
|
|
Chris PeBenito |
075c4f |
')
|
|
Chris PeBenito |
075c4f |
|
|
Chris PeBenito |
075c4f |
########################################
|
|
Chris PeBenito |
075c4f |
#
|
|
Chris PeBenito |
075c4f |
# bootloader_ignore_search_bootloader_data_directory(domain)
|
|
Chris PeBenito |
075c4f |
#
|
|
Chris PeBenito |
075c4f |
define(`bootloader_ignore_search_bootloader_data_directory',`
|
|
Chris PeBenito |
075c4f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
075c4f |
dontaudit $1 boot_t:dir search;
|
|
Chris PeBenito |
075c4f |
')
|
|
Chris PeBenito |
075c4f |
|
|
Chris PeBenito |
075c4f |
define(`bootloader_ignore_search_bootloader_data_directory_depend',`
|
|
Chris PeBenito |
075c4f |
type boot_t;
|
|
Chris PeBenito |
075c4f |
class dir search;
|
|
Chris PeBenito |
075c4f |
')
|
|
Chris PeBenito |
075c4f |
|
|
Chris PeBenito |
075c4f |
########################################
|
|
Chris PeBenito |
075c4f |
#
|
|
Chris PeBenito |
dc771f |
# bootloader_modify_bootloader_data_directory_symbolic_links(domain)
|
|
Chris PeBenito |
dc771f |
#
|
|
Chris PeBenito |
dc771f |
define(`bootloader_modify_bootloader_data_directory_symbolic_links',`
|
|
Chris PeBenito |
dc771f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
dc771f |
allow $1 boot_t:dir { getattr search read };
|
|
Chris PeBenito |
dc771f |
allow $1 boot_t:lnk_file { getattr read write };
|
|
Chris PeBenito |
dc771f |
')
|
|
Chris PeBenito |
dc771f |
|
|
Chris PeBenito |
dc771f |
define(`bootloader_modify_bootloader_data_directory_symbolic_links_depend',`
|
|
Chris PeBenito |
dc771f |
type boot_t;
|
|
Chris PeBenito |
dc771f |
class dir { getattr search read };
|
|
Chris PeBenito |
dc771f |
')
|
|
Chris PeBenito |
dc771f |
|
|
Chris PeBenito |
dc771f |
########################################
|
|
Chris PeBenito |
dc771f |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_install_kernel(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_kernel',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:lnk_file { getattr read create unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_kernel_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
class lnk_file { getattr read create unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_install_initrd(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_initrd',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:lnk_file { getattr read create unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_initrd_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
class lnk_file { getattr read create unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_install_kernel_symbol_table(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_kernel_symbol_table',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 system_map_t:file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_install_kernel_symbol_table_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t, system_map_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write add_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read write create };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_read_kernel_symbol_table(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_read_kernel_symbol_table',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read };
|
|
Chris PeBenito |
b4cd15 |
allow $1 system_map_t:file { getattr read };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_read_kernel_symbol_table_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t, system_map_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_remove_kernel(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_remove_kernel',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write remove_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:file { getattr unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_remove_kernel_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write remove_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_remove_kernel_symbol_table(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_remove_kernel_symbol_table',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write remove_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 system_map_t:file { getattr unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_remove_kernel_symbol_table_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t, system_map_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write remove_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_read_config(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_read_config',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 bootloader_etc_t:file { getattr read };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_read_config_depend',`
|
|
Chris PeBenito |
b4cd15 |
type bootloader_etc_t;
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_modify_config(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_modify_bootloader_config',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 bootloader_etc_t:file { getattr read write append };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_modify_bootloader_config_depend',`
|
|
Chris PeBenito |
b4cd15 |
type bootloader_etc_t;
|
|
Chris PeBenito |
b4cd15 |
class file { getattr read write append };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
########################################
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
7bba9d |
# bootloader_modify_temporary_data(domain)
|
|
Chris PeBenito |
7bba9d |
#
|
|
Chris PeBenito |
7bba9d |
define(`bootloader_modify_temporary_data',`
|
|
Chris PeBenito |
7bba9d |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
7bba9d |
# FIXME: read tmp_t
|
|
Chris PeBenito |
7bba9d |
allow $1 bootloader_tmp_t:file { getattr read write };
|
|
Chris PeBenito |
7bba9d |
')
|
|
Chris PeBenito |
7bba9d |
|
|
Chris PeBenito |
7bba9d |
define(`bootloader_modify_temporary_data_depend',`
|
|
Chris PeBenito |
7bba9d |
type bootloader_tmp_t;
|
|
Chris PeBenito |
7bba9d |
class file { getattr read write setattr };
|
|
Chris PeBenito |
7bba9d |
')
|
|
Chris PeBenito |
7bba9d |
|
|
Chris PeBenito |
7bba9d |
########################################
|
|
Chris PeBenito |
7bba9d |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_create_runtime_data(domain)
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_create_runtime_data',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_t:dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
b4cd15 |
allow $1 boot_runtime_t:file { getattr create read write append unlink };
|
|
Chris PeBenito |
b4cd15 |
type_transition $1 boot_t:file boot_runtime_t;
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
define(`bootloader_create_runtime_data_depend',`
|
|
Chris PeBenito |
b4cd15 |
type boot_t, boot_runtime_t;
|
|
Chris PeBenito |
b4cd15 |
class dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
b4cd15 |
class file { getattr create read write append unlink };
|
|
Chris PeBenito |
b4cd15 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
########################################
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_list_kernel_modules(domain)
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_list_kernel_modules',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:dir { getattr search read };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_list_kernel_modules_depend',`
|
|
Chris PeBenito |
5f75f5 |
type modules_object_t;
|
|
Chris PeBenito |
5f75f5 |
class dir { getattr search read };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
########################################
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_read_kernel_modules(domain)
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_read_kernel_modules',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:dir { getattr search read };
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:{ lnk_file file } { getattr read };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_read_kernel_modules_depend',`
|
|
Chris PeBenito |
5f75f5 |
type modules_object_t;
|
|
Chris PeBenito |
5f75f5 |
class dir { getattr search read };
|
|
Chris PeBenito |
5f75f5 |
class lnk_file { getattr read };
|
|
Chris PeBenito |
5f75f5 |
class file { getattr read };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
########################################
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_modify_kernel_modules(domain)
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_modify_kernel_modules',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:file { getattr create read write setattr unlink };
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_modify_kernel_modules_depend',`
|
|
Chris PeBenito |
5f75f5 |
type modules_object_t;
|
|
Chris PeBenito |
5f75f5 |
class file { getattr create read write setattr unlink };
|
|
Chris PeBenito |
5f75f5 |
class dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
########################################
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
bd202f |
# bootloader_create_private_module_dir_entry(domain,privatetype,[class(es)])
|
|
Chris PeBenito |
5f75f5 |
#
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_create_private_module_dir_entry',`
|
|
Chris PeBenito |
bd202f |
requires_block_template(`$0'_depend)
|
|
Chris PeBenito |
5f75f5 |
allow $1 modules_object_t:dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
5f75f5 |
ifelse(`$3',`',`
|
|
Chris PeBenito |
5f75f5 |
type_transition $1 modules_object_t:file $2;
|
|
Chris PeBenito |
5f75f5 |
',`
|
|
Chris PeBenito |
5f75f5 |
type_transition $1 modules_object_t:$3 $2;
|
|
Chris PeBenito |
5f75f5 |
') dnl end ifelse
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
5f75f5 |
|
|
Chris PeBenito |
5f75f5 |
define(`bootloader_create_private_module_dir_entry_depend',`
|
|
Chris PeBenito |
5f75f5 |
type modules_object_t;
|
|
Chris PeBenito |
5f75f5 |
class dir { getattr search read write add_name remove_name };
|
|
Chris PeBenito |
5f75f5 |
')
|
|
Chris PeBenito |
c43097 |
|
|
Chris PeBenito |
c43097 |
## </module>
|