• Home
  • Raw
  • Download

Lines Matching refs:r

147 static char *tomoyo_print_header(struct tomoyo_request_info *r)  in tomoyo_print_header()  argument
151 struct tomoyo_obj_info *obj = r->obj; in tomoyo_print_header()
168 stamp.day, stamp.hour, stamp.min, stamp.sec, r->profile, in tomoyo_print_header()
169 tomoyo_mode[r->mode], tomoyo_yesno(r->granted), gpid, in tomoyo_print_header()
243 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_init_log() argument
252 const char *domainname = r->domain->domainname->name; in tomoyo_init_log()
253 header = tomoyo_print_header(r); in tomoyo_init_log()
258 if (r->ee) { in tomoyo_init_log()
259 struct file *file = r->ee->bprm->file; in tomoyo_init_log()
261 bprm_info = tomoyo_print_bprm(r->ee->bprm, &r->ee->dump); in tomoyo_init_log()
266 } else if (r->obj && r->obj->symlink_target) { in tomoyo_init_log()
267 symlink = r->obj->symlink_target->name; in tomoyo_init_log()
278 struct linux_binprm *bprm = r->ee->bprm; in tomoyo_init_log()
360 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_write_log2() argument
366 if (!tomoyo_get_audit(r->domain->ns, r->profile, r->type, in tomoyo_write_log2()
367 r->matched_acl, r->granted)) in tomoyo_write_log2()
369 buf = tomoyo_init_log(r, len, fmt, args); in tomoyo_write_log2()
413 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...) in tomoyo_write_log() argument
421 tomoyo_write_log2(r, len, fmt, args); in tomoyo_write_log()
435 if (head->r.w_pos) in tomoyo_read_log()
449 head->r.w[head->r.w_pos++] = head->read_buf; in tomoyo_read_log()