tomoyo_log
static LIST_HEAD(tomoyo_log);
struct tomoyo_log *entry;
list_add_tail(&entry->list, &tomoyo_log);
struct tomoyo_log *ptr = NULL;
if (!list_empty(&tomoyo_log)) {
ptr = list_entry(tomoyo_log.next, typeof(*ptr), list);