Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
apparmorfs.h File Reference

Go to the source code of this file.

Data Structures

struct  aa_fs_entry
 

Macros

#define AA_FS_FILE_BOOLEAN(_name, _value)
 
#define AA_FS_FILE_STRING(_name, _value)
 
#define AA_FS_FILE_U64(_name, _value)
 
#define AA_FS_FILE_FOPS(_name, _mode, _fops)
 
#define AA_FS_DIR(_name, _value)   { .name = (_name), .v_type = AA_FS_TYPE_DIR, .v.files = (_value) }
 

Enumerations

enum  aa_fs_type {
  AA_FS_TYPE_BOOLEAN, AA_FS_TYPE_STRING, AA_FS_TYPE_U64, AA_FS_TYPE_FOPS,
  AA_FS_TYPE_DIR
}
 

Functions

void __init aa_destroy_aafs (void)
 

Variables

struct file_operations aa_fs_seq_file_ops
 

Macro Definition Documentation

#define AA_FS_DIR (   _name,
  _value 
)    { .name = (_name), .v_type = AA_FS_TYPE_DIR, .v.files = (_value) }

Definition at line 59 of file apparmorfs.h.

#define AA_FS_FILE_BOOLEAN (   _name,
  _value 
)
Value:
{ .name = (_name), .mode = 0444, \
.v_type = AA_FS_TYPE_BOOLEAN, .v.boolean = (_value), \
.file_ops = &aa_fs_seq_file_ops }

Definition at line 44 of file apparmorfs.h.

#define AA_FS_FILE_FOPS (   _name,
  _mode,
  _fops 
)
Value:
{ .name = (_name), .v_type = AA_FS_TYPE_FOPS, \
.mode = (_mode), .file_ops = (_fops) }

Definition at line 56 of file apparmorfs.h.

#define AA_FS_FILE_STRING (   _name,
  _value 
)
Value:
{ .name = (_name), .mode = 0444, \
.v_type = AA_FS_TYPE_STRING, .v.string = (_value), \
.file_ops = &aa_fs_seq_file_ops }

Definition at line 48 of file apparmorfs.h.

#define AA_FS_FILE_U64 (   _name,
  _value 
)
Value:
{ .name = (_name), .mode = 0444, \
.v_type = AA_FS_TYPE_U64, .v.u64 = (_value), \
.file_ops = &aa_fs_seq_file_ops }

Definition at line 52 of file apparmorfs.h.

Enumeration Type Documentation

enum aa_fs_type
Enumerator:
AA_FS_TYPE_BOOLEAN 
AA_FS_TYPE_STRING 
AA_FS_TYPE_U64 
AA_FS_TYPE_FOPS 
AA_FS_TYPE_DIR 

Definition at line 18 of file apparmorfs.h.

Function Documentation

void __init aa_destroy_aafs ( void  )

aa_destroy_aafs - cleanup and free aafs

releases dentries allocated by aa_create_aafs

Definition at line 314 of file apparmorfs.c.

Variable Documentation

struct file_operations aa_fs_seq_file_ops

Definition at line 177 of file apparmorfs.c.