Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
audit_tree.c File Reference
#include "audit.h"
#include <linux/fsnotify_backend.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <linux/kthread.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  audit_tree
 
struct  audit_chunk
 
struct  audit_chunk::node
 

Enumerations

enum  { HASH_SIZE = 128 }
 

Functions

const charaudit_tree_path (struct audit_tree *tree)
 
void audit_put_chunk (struct audit_chunk *chunk)
 
struct audit_chunkaudit_tree_lookup (const struct inode *inode)
 
int audit_tree_match (struct audit_chunk *chunk, struct audit_tree *tree)
 
int audit_remove_tree_rule (struct audit_krule *rule)
 
void audit_trim_trees (void)
 
int audit_make_tree (struct audit_krule *rule, char *pathname, u32 op)
 
void audit_put_tree (struct audit_tree *tree)
 
int audit_add_tree_rule (struct audit_krule *rule)
 
int audit_tag_tree (char *old, char *new)
 
void audit_kill_trees (struct list_head *list)
 
 __initcall (audit_tree_init)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
HASH_SIZE 

Definition at line 160 of file audit_tree.c.

Function Documentation

__initcall ( audit_tree_init  )
int audit_add_tree_rule ( struct audit_krule rule)

Definition at line 646 of file audit_tree.c.

void audit_kill_trees ( struct list_head list)

Definition at line 840 of file audit_tree.c.

int audit_make_tree ( struct audit_krule rule,
char pathname,
u32  op 
)

Definition at line 621 of file audit_tree.c.

void audit_put_chunk ( struct audit_chunk chunk)

Definition at line 119 of file audit_tree.c.

void audit_put_tree ( struct audit_tree tree)

Definition at line 635 of file audit_tree.c.

int audit_remove_tree_rule ( struct audit_krule rule)

Definition at line 544 of file audit_tree.c.

int audit_tag_tree ( char old,
char new 
)

Definition at line 709 of file audit_tree.c.

struct audit_chunk* audit_tree_lookup ( const struct inode inode)
read

Definition at line 183 of file audit_tree.c.

int audit_tree_match ( struct audit_chunk chunk,
struct audit_tree tree 
)

Definition at line 198 of file audit_tree.c.

const char* audit_tree_path ( struct audit_tree tree)

Definition at line 103 of file audit_tree.c.

void audit_trim_trees ( void  )

Definition at line 573 of file audit_tree.c.