Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
load_policy.c File Reference
#include "common.h"

Go to the source code of this file.

Functions

 __setup ("TOMOYO_loader=", tomoyo_loader_setup)
 
void tomoyo_load_policy (const char *filename)
 

Function Documentation

__setup ( )
void tomoyo_load_policy ( const char filename)

tomoyo_load_policy - Run external policy loader to load policy.

: The program about to start.

This function checks whether is /sbin/init , and if so invoke /sbin/tomoyo-init and wait for the termination of /sbin/tomoyo-init and then continues invocation of /sbin/init. /sbin/tomoyo-init reads policy files in /etc/tomoyo/ directory and writes to /sys/kernel/security/tomoyo/ interfaces.

Returns nothing.

Definition at line 83 of file load_policy.c.