Lines Matching refs:mode
115 static inline const char *tomoyo_filetype(const umode_t mode) in tomoyo_filetype() argument
117 switch (mode & S_IFMT) { in tomoyo_filetype()
167 tomoyo_mode[r->mode], tomoyo_yesno(r->granted), gpid, in tomoyo_print_header()
186 umode_t mode; in tomoyo_print_header() local
191 mode = stat->mode; in tomoyo_print_header()
200 stat->mode & S_IALLUGO); in tomoyo_print_header()
210 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
211 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
326 u8 mode; in tomoyo_get_audit() local
338 mode = p->config[index]; in tomoyo_get_audit()
339 if (mode == TOMOYO_CONFIG_USE_DEFAULT) in tomoyo_get_audit()
340 mode = p->config[category]; in tomoyo_get_audit()
341 if (mode == TOMOYO_CONFIG_USE_DEFAULT) in tomoyo_get_audit()
342 mode = p->default_config; in tomoyo_get_audit()
344 return mode & TOMOYO_CONFIG_WANT_GRANT_LOG; in tomoyo_get_audit()
345 return mode & TOMOYO_CONFIG_WANT_REJECT_LOG; in tomoyo_get_audit()