1
#ifndef __MODULEINTERFACE_H
2
#define __MODULEINTERFACE_H
4
/* Codes of the types of basic structures that are understood */
5
#define AA_CODE_BYTE (sizeof(u8))
6
#define INTERFACE_ID "INTERFACE"
8
#define APPARMOR_INTERFACE_VERSION 2
15
AA_NAME, /* same as string except it is items name */
26
/* aa_ext tracks the kernel buffer and read position in it. The interface
27
* data is copied into a kernel buffer in apparmorfs and then handed off to
28
* the activate routines.
33
void *pos; /* pointer to current position in the buffer */
37
#endif /* __MODULEINTERFACE_H */