Searched refs:stat (Results 1 – 6 of 6) sorted by relevance
| /security/tomoyo/ |
| A D | audit.c | 186 struct tomoyo_mini_stat *stat; in tomoyo_print_header() local 192 stat = &obj->stat[i]; in tomoyo_print_header() 193 dev = stat->dev; in tomoyo_print_header() 194 mode = stat->mode; in tomoyo_print_header() 200 from_kuid(&init_user_ns, stat->uid), in tomoyo_print_header() 202 (unsigned long)stat->ino, in tomoyo_print_header() 203 stat->mode & S_IALLUGO); in tomoyo_print_header() 209 from_kuid(&init_user_ns, stat->uid), in tomoyo_print_header() 210 from_kgid(&init_user_ns, stat->gid), in tomoyo_print_header() 211 (unsigned long)stat->ino, in tomoyo_print_header() [all …]
|
| A D | condition.c | 740 struct tomoyo_mini_stat *stat = &obj->stat[i]; in tomoyo_get_attributes() local 742 stat->uid = inode->i_uid; in tomoyo_get_attributes() 743 stat->gid = inode->i_gid; in tomoyo_get_attributes() 744 stat->ino = inode->i_ino; in tomoyo_get_attributes() 745 stat->mode = inode->i_mode; in tomoyo_get_attributes() 747 stat->rdev = inode->i_rdev; in tomoyo_get_attributes() 993 stat = &obj->stat[stat_index]; in tomoyo_condition() 1011 value = stat->ino; in tomoyo_condition() 1015 value = MAJOR(stat->dev); in tomoyo_condition() 1019 value = MINOR(stat->dev); in tomoyo_condition() [all …]
|
| A D | Makefile | 8 $(foreach x, profile exception_policy domain_policy manager stat, \
|
| A D | common.h | 598 struct tomoyo_mini_stat stat[TOMOYO_MAX_PATH_STAT]; member
|
| /security/integrity/ima/ |
| A D | ima_api.c | 252 struct kstat stat; in ima_collect_measurement() local 275 result = vfs_getattr_nosec(&file->f_path, &stat, STATX_CHANGE_COOKIE, in ima_collect_measurement() 277 if (!result && (stat.result_mask & STATX_CHANGE_COOKIE)) in ima_collect_measurement() 278 i_version = stat.change_cookie; in ima_collect_measurement()
|
| A D | ima_main.c | 194 struct kstat stat; in ima_check_last_writer() local 201 vfs_getattr_nosec(&file->f_path, &stat, in ima_check_last_writer() 204 !(stat.result_mask & STATX_CHANGE_COOKIE) || in ima_check_last_writer() 205 stat.change_cookie != iint->real_inode.version) { in ima_check_last_writer()
|
Completed in 13 milliseconds