tomoyo_io_buffer
void tomoyo_read_log(struct tomoyo_io_buffer *head)
static int tomoyo_write_domain(struct tomoyo_io_buffer *head)
static bool tomoyo_print_condition(struct tomoyo_io_buffer *head,
static void tomoyo_set_group(struct tomoyo_io_buffer *head,
static bool tomoyo_print_entry(struct tomoyo_io_buffer *head,
static bool tomoyo_read_domain2(struct tomoyo_io_buffer *head,
static void tomoyo_read_domain(struct tomoyo_io_buffer *head)
static int tomoyo_write_pid(struct tomoyo_io_buffer *head)
static void tomoyo_read_pid(struct tomoyo_io_buffer *head)
static int tomoyo_write_exception(struct tomoyo_io_buffer *head)
static bool tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx)
static bool tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx)
static void tomoyo_read_exception(struct tomoyo_io_buffer *head)
static bool tomoyo_flush(struct tomoyo_io_buffer *head)
static void tomoyo_read_query(struct tomoyo_io_buffer *head)
static int tomoyo_write_answer(struct tomoyo_io_buffer *head)
static void tomoyo_read_version(struct tomoyo_io_buffer *head)
static void tomoyo_read_stat(struct tomoyo_io_buffer *head)
static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string)
static int tomoyo_write_stat(struct tomoyo_io_buffer *head)
struct tomoyo_io_buffer *head = kzalloc_obj(*head, GFP_NOFS);
static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
struct tomoyo_io_buffer *head = file->private_data;
static inline void tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head)
static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
static inline bool tomoyo_has_more_namespace(struct tomoyo_io_buffer *head)
ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer,
static int tomoyo_parse_policy(struct tomoyo_io_buffer *head, char *line)
ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head,
void tomoyo_close_control(struct tomoyo_io_buffer *head)
struct tomoyo_io_buffer head = { };
static void tomoyo_set_space(struct tomoyo_io_buffer *head)
static bool tomoyo_set_lf(struct tomoyo_io_buffer *head)
static void tomoyo_set_slash(struct tomoyo_io_buffer *head)
static void tomoyo_print_namespace(struct tomoyo_io_buffer *head)
static void tomoyo_print_name_union(struct tomoyo_io_buffer *head,
static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head,
tomoyo_print_number_union_nospace(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr)
static void tomoyo_print_number_union(struct tomoyo_io_buffer *head,
static int tomoyo_write_profile(struct tomoyo_io_buffer *head)
static void tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config)
static void tomoyo_read_profile(struct tomoyo_io_buffer *head)
static int tomoyo_write_manager(struct tomoyo_io_buffer *head)
static void tomoyo_read_manager(struct tomoyo_io_buffer *head)
static bool tomoyo_select_domain(struct tomoyo_io_buffer *head,
void tomoyo_close_control(struct tomoyo_io_buffer *head);
ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer,
ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head,
void tomoyo_notify_gc(struct tomoyo_io_buffer *head, const bool is_register);
void tomoyo_read_log(struct tomoyo_io_buffer *head) __must_hold(&head->io_sem);
void (*read)(struct tomoyo_io_buffer *head);
int (*write)(struct tomoyo_io_buffer *head);
struct tomoyo_io_buffer *head;
struct tomoyo_io_buffer *head;
struct tomoyo_io_buffer *tmp;
void tomoyo_notify_gc(struct tomoyo_io_buffer *head, const bool is_register)
struct tomoyo_io_buffer *head;