Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
condition.c File Reference
#include "common.h"
#include <linux/slab.h>

Go to the source code of this file.

Macros

#define dprintk(...)   do { } while (0)
 

Functions

 LIST_HEAD (tomoyo_condition_list)
 
struct tomoyo_conditiontomoyo_get_condition (struct tomoyo_acl_param *param)
 
void tomoyo_get_attributes (struct tomoyo_obj_info *obj)
 
bool tomoyo_condition (struct tomoyo_request_info *r, const struct tomoyo_condition *cond)
 

Macro Definition Documentation

#define dprintk (   ...)    do { } while (0)

Definition at line 379 of file condition.c.

Function Documentation

LIST_HEAD ( tomoyo_condition_list  )

tomoyo_condition - Check condition part.

: Pointer to "struct tomoyo_request_info". : Pointer to "struct tomoyo_condition". Maybe NULL.

Returns true on success, false otherwise.

Caller holds tomoyo_read_lock().

Definition at line 744 of file condition.c.

void tomoyo_get_attributes ( struct tomoyo_obj_info obj)

tomoyo_get_attributes - Revalidate "struct inode".

: Pointer to "struct tomoyo_obj_info".

Returns nothing.

Definition at line 693 of file condition.c.

struct tomoyo_condition* tomoyo_get_condition ( struct tomoyo_acl_param param)
read

tomoyo_get_condition - Parse condition part.

Parameters
Pointer to "struct tomoyo_acl_param".

Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.

Definition at line 478 of file condition.c.