| /security/tomoyo/ |
| A D | util.c | 250 char *filename; in tomoyo_parse_name_union() local 260 ptr->filename = tomoyo_get_name(filename); in tomoyo_parse_name_union() 549 return tomoyo_correct_path2(filename, strlen(filename)); in tomoyo_correct_path() 640 if (!filename) in tomoyo_const_part_length() 647 c = *filename++; in tomoyo_const_part_length() 656 c = *filename++; in tomoyo_const_part_length() 659 c = *filename++; in tomoyo_const_part_length() 713 c = *filename; in tomoyo_file_matches_pattern2() 721 filename++; in tomoyo_file_matches_pattern2() 752 filename += 3; in tomoyo_file_matches_pattern2() [all …]
|
| A D | file.c | 70 tomoyo_put_name(ptr->filename); in tomoyo_put_name_union() 88 return ptr->filename; in tomoyo_compare_name_union() 170 r->param.path.filename->name); in tomoyo_audit_path_log() 200 r->param.mkdev.filename->name, in tomoyo_audit_mkdev_log() 237 r->param.path_number.filename->name, buffer); in tomoyo_audit_path_number_log() 574 const struct tomoyo_path_info *filename) in tomoyo_path_permission() argument 583 r->param.path.filename = filename; in tomoyo_path_permission() 603 const struct tomoyo_path_info *filename) in tomoyo_execute_permission() argument 613 r->param.path.filename = filename; in tomoyo_execute_permission() 730 r.param.path_number.filename = &buf; in tomoyo_path_number_perm() [all …]
|
| A D | load_policy.c | 85 void tomoyo_load_policy(const char *filename) in tomoyo_load_policy() argument 95 if (strcmp(filename, tomoyo_trigger)) in tomoyo_load_policy()
|
| A D | common.h | 435 const struct tomoyo_path_info *filename; member 448 const struct tomoyo_path_info *filename; member 456 const struct tomoyo_path_info *filename; member 521 const struct tomoyo_path_info *filename; member 934 bool tomoyo_correct_path(const char *filename); 950 bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, 974 const struct tomoyo_path_info *filename); 1053 void tomoyo_load_policy(const char *filename); 1233 return a->filename == b->filename && a->group == b->group; in tomoyo_same_name_union()
|
| A D | condition.c | 282 char *filename = param->data; in tomoyo_parse_name_union_quoted() local 284 if (*filename == '@') in tomoyo_parse_name_union_quoted() 286 ptr->filename = tomoyo_get_dqword(filename); in tomoyo_parse_name_union_quoted() 287 return ptr->filename != NULL; in tomoyo_parse_name_union_quoted()
|
| A D | tomoyo.c | 80 tomoyo_load_policy(bprm->filename); in tomoyo_bprm_creds_for_exec()
|
| A D | domain.c | 705 const char *original_name = bprm->filename; in tomoyo_find_next_domain()
|
| A D | common.c | 386 tomoyo_set_string(head, ptr->filename->name); in tomoyo_print_name_union() 406 tomoyo_set_string(head, ptr->filename->name); in tomoyo_print_name_union_quoted()
|
| /security/integrity/ima/ |
| A D | ima_api.c | 141 .filename = filename, in ima_add_violation() 155 filename, CONFIG_IMA_MEASURE_PCR_IDX); in ima_add_violation() 251 struct name_snapshot filename; in ima_collect_measurement() local 325 filename.name.name, "collect_data", in ima_collect_measurement() 328 release_dentry_name_snapshot(&filename); in ima_collect_measurement() 349 const unsigned char *filename, in ima_store_measurement() argument 361 .filename = filename, in ima_store_measurement() 393 const unsigned char *filename) in ima_audit_measurement() argument 417 audit_log_untrustedstring(ab, filename); in ima_audit_measurement() 441 struct name_snapshot filename; in ima_d_path() local [all …]
|
| A D | ima.h | 73 const unsigned char *filename; member 264 const unsigned char *filename); 271 void ima_add_violation(struct file *file, const unsigned char *filename, 392 const unsigned char *filename, 402 const unsigned char *filename); 408 const unsigned char *filename, int pcr); 410 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename); 442 struct file *file, const unsigned char *filename, 466 const unsigned char *filename, in ima_appraise_measurement() argument
|
| A D | ima_template_lib.c | 366 if ((const char *)event_data->filename == boot_aggregate_name) { in ima_eventdigest_init() 393 event_data->filename, "collect_data", in ima_eventdigest_init() 494 struct name_snapshot filename; in ima_eventname_init_common() local 499 BUG_ON(event_data->filename == NULL && event_data->file == NULL); in ima_eventname_init_common() 501 if (event_data->filename) { in ima_eventname_init_common() 502 cur_filename = event_data->filename; in ima_eventname_init_common() 503 cur_filename_len = strlen(event_data->filename); in ima_eventname_init_common() 510 take_dentry_name_snapshot(&filename, in ima_eventname_init_common() 513 cur_filename = filename.name.name; in ima_eventname_init_common() 526 release_dentry_name_snapshot(&filename); in ima_eventname_init_common()
|
| A D | ima_main.c | 108 char *filename) in mmap_violation_check() argument 120 filename); in mmap_violation_check() 142 char *filename) in ima_rdwr_violation_check() argument 173 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 245 char filename[NAME_MAX]; in process_measurement() local 290 &pathbuf, &pathname, filename); in process_measurement() 376 &pathname, filename); in process_measurement() 427 &pathname, filename); in process_measurement() 520 char filename[NAME_MAX]; in ima_file_mprotect() local 552 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect() [all …]
|
| A D | ima_queue.c | 168 const unsigned char *filename) in ima_add_template_entry() argument 218 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, in ima_add_template_entry()
|
| A D | ima_init.c | 49 .filename = boot_aggregate_name }; in ima_add_boot_aggregate()
|
| A D | ima_appraise.c | 493 struct file *file, const unsigned char *filename, in ima_appraise_measurement() argument 595 integrity_audit_msg(audit_msgno, inode, filename, in ima_appraise_measurement() 615 integrity_audit_msg(audit_msgno, inode, filename, in ima_appraise_measurement()
|
| /security/apparmor/ |
| A D | domain.c | 687 name = bprm->filename; in profile_transition() 827 xname = bprm->filename; in profile_onexec() 903 AA_MAY_ONEXEC, bprm->filename, NULL, in handle_onexec() 1009 bprm->filename); in apparmor_bprm_creds_for_exec() 1020 bprm->filename); in apparmor_bprm_creds_for_exec() 1040 bprm->filename, NULL, new, in apparmor_bprm_creds_for_exec()
|
| /security/ |
| A D | commoncap.c | 780 bprm->filename); in get_file_caps() 832 warn_setuid_and_fcaps_mixed(bprm->filename); in handle_privileged_root()
|