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

Go to the source code of this file.

Functions

int tomoyo_env_perm (struct tomoyo_request_info *r, const char *env)
 
int tomoyo_write_misc (struct tomoyo_acl_param *param)
 

Function Documentation

int tomoyo_env_perm ( struct tomoyo_request_info r,
const char env 
)

tomoyo_env_perm - Check permission for environment variable's name.

: Pointer to "struct tomoyo_request_info". : The name of environment variable.

Returns 0 on success, negative value otherwise.

Caller holds tomoyo_read_lock().

Definition at line 49 of file environ.c.

int tomoyo_write_misc ( struct tomoyo_acl_param param)

tomoyo_write_misc - Update environment variable list.

Parameters
Pointer to "struct tomoyo_acl_param".

Returns 0 on success, negative value otherwise.

Definition at line 117 of file environ.c.