Lines Matching refs:mode
118 static inline const char *tomoyo_filetype(const umode_t mode) in tomoyo_filetype() argument
120 switch (mode & S_IFMT) { in tomoyo_filetype()
168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], in tomoyo_print_header()
188 umode_t mode; in tomoyo_print_header() local
194 mode = stat->mode; in tomoyo_print_header()
203 stat->mode & S_IALLUGO); in tomoyo_print_header()
213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
333 u8 mode; in tomoyo_get_audit() local
346 mode = p->config[index]; in tomoyo_get_audit()
347 if (mode == TOMOYO_CONFIG_USE_DEFAULT) in tomoyo_get_audit()
348 mode = p->config[category]; in tomoyo_get_audit()
349 if (mode == TOMOYO_CONFIG_USE_DEFAULT) in tomoyo_get_audit()
350 mode = p->default_config; in tomoyo_get_audit()
352 return mode & TOMOYO_CONFIG_WANT_GRANT_LOG; in tomoyo_get_audit()
353 return mode & TOMOYO_CONFIG_WANT_REJECT_LOG; in tomoyo_get_audit()