• Home
  • Raw
  • Download

Lines Matching refs:profile

491 (struct tomoyo_policy_namespace *ns, const unsigned int profile)  in tomoyo_assign_profile()  argument
496 if (profile >= TOMOYO_MAX_PROFILES) in tomoyo_assign_profile()
498 ptr = ns->profile_ptr[profile]; in tomoyo_assign_profile()
504 ptr = ns->profile_ptr[profile]; in tomoyo_assign_profile()
517 ns->profile_ptr[profile] = ptr; in tomoyo_assign_profile()
535 const u8 profile) in tomoyo_profile() argument
538 struct tomoyo_profile *ptr = ns->profile_ptr[profile]; in tomoyo_profile()
595 struct tomoyo_profile *profile) in tomoyo_set_mode() argument
602 config = profile->default_config; in tomoyo_set_mode()
621 config = profile->config[i]; in tomoyo_set_mode()
661 profile->config[i] = config; in tomoyo_set_mode()
663 profile->default_config = config; in tomoyo_set_mode()
679 struct tomoyo_profile *profile; in tomoyo_write_profile() local
688 profile = tomoyo_assign_profile(head->w.ns, i); in tomoyo_write_profile()
689 if (!profile) in tomoyo_write_profile()
704 old_comment = profile->comment; in tomoyo_write_profile()
705 profile->comment = new_comment; in tomoyo_write_profile()
712 tomoyo_set_uint(&profile->pref[i], cp, in tomoyo_write_profile()
716 return tomoyo_set_mode(data, cp, profile); in tomoyo_write_profile()
749 const struct tomoyo_profile *profile; in tomoyo_read_profile() local
755 profile = ns->profile_ptr[index]; in tomoyo_read_profile()
778 profile->comment; in tomoyo_read_profile()
789 profile->pref[i]); in tomoyo_read_profile()
798 tomoyo_print_config(head, profile->default_config); in tomoyo_read_profile()
807 const u8 config = profile->config[i]; in tomoyo_read_profile()
1201 domain->profile = (u8) idx; in tomoyo_write_domain()
1636 domain->profile); in tomoyo_read_domain()
1726 tomoyo_io_printf(head, "%u %u ", pid, domain->profile); in tomoyo_read_pid()
2782 const u8 profile = domain->profile; in tomoyo_check_profile() local
2793 else if (!ns->profile_ptr[profile]) in tomoyo_check_profile()
2795 profile, domain->domainname->name); in tomoyo_check_profile()