Lines Matching defs:config
503 memset(ptr->config, TOMOYO_CONFIG_USE_DEFAULT,
504 sizeof(ptr->config));
588 u8 config;
591 config = profile->default_config;
593 config = 0;
608 config = profile->config[i];
617 config = TOMOYO_CONFIG_USE_DEFAULT;
624 * 'config' from 'TOMOYO_CONFIG_USE_DEAFULT'.
626 config = (config & ~7) | mode;
627 if (config != TOMOYO_CONFIG_USE_DEFAULT) {
630 config |= TOMOYO_CONFIG_WANT_GRANT_LOG;
633 config &= ~TOMOYO_CONFIG_WANT_GRANT_LOG;
638 config |= TOMOYO_CONFIG_WANT_REJECT_LOG;
641 config &= ~TOMOYO_CONFIG_WANT_REJECT_LOG;
647 profile->config[i] = config;
648 else if (config != TOMOYO_CONFIG_USE_DEFAULT)
649 profile->default_config = config;
707 * @config: Mode for that functionality.
713 static void tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config)
716 tomoyo_mode[config & 3],
717 tomoyo_yesno(config & TOMOYO_CONFIG_WANT_GRANT_LOG),
718 tomoyo_yesno(config & TOMOYO_CONFIG_WANT_REJECT_LOG));
789 const u8 config = profile->config[i];
790 if (config == TOMOYO_CONFIG_USE_DEFAULT)
802 tomoyo_print_config(head, config);