Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | tomoyo_log |
Functions | |
char * | tomoyo_init_log (struct tomoyo_request_info *r, int len, const char *fmt, va_list args) |
void | tomoyo_write_log2 (struct tomoyo_request_info *r, int len, const char *fmt, va_list args) |
void | tomoyo_write_log (struct tomoyo_request_info *r, const char *fmt,...) |
void | tomoyo_read_log (struct tomoyo_io_buffer *head) |
unsigned int | tomoyo_poll_log (struct file *file, poll_table *wait) |
tomoyo_init_log - Allocate buffer for audit logs.
: Pointer to "struct tomoyo_request_info". : Buffer size needed for and . : The printf()'s format string. : va_list structure for .
Returns pointer to allocated memory.
This function uses kzalloc(), so caller must kfree() if this function didn't return NULL.
unsigned int tomoyo_poll_log | ( | struct file * | file, |
poll_table * | wait | ||
) |
void tomoyo_read_log | ( | struct tomoyo_io_buffer * | head | ) |
void tomoyo_write_log | ( | struct tomoyo_request_info * | r, |
const char * | fmt, | ||
... | |||
) |