ima_main.c (ca31fef11dc83e672415d5925a134749761329bd) | ima_main.c (91ccbbac1747eea155632a1c6bb100052309b215) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Integrity Measurement Architecture 4 * 5 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 6 * 7 * Authors: 8 * Reiner Sailer <sailer@watson.ibm.com> --- 971 unchanged lines hidden (view full) --- 980{ 981 if (!event_name || !event_label || !buf || !buf_len) 982 return; 983 984 process_buffer_measurement(&init_user_ns, NULL, buf, buf_len, event_name, 985 CRITICAL_DATA, 0, event_label, 986 hash); 987} | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Integrity Measurement Architecture 4 * 5 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 6 * 7 * Authors: 8 * Reiner Sailer <sailer@watson.ibm.com> --- 971 unchanged lines hidden (view full) --- 980{ 981 if (!event_name || !event_label || !buf || !buf_len) 982 return; 983 984 process_buffer_measurement(&init_user_ns, NULL, buf, buf_len, event_name, 985 CRITICAL_DATA, 0, event_label, 986 hash); 987} |
988EXPORT_SYMBOL_GPL(ima_measure_critical_data); |
|
988 989static int __init init_ima(void) 990{ 991 int error; 992 993 ima_appraise_parse_cmdline(); 994 ima_init_template_list(); 995 hash_setup(CONFIG_IMA_DEFAULT_HASH); --- 25 unchanged lines hidden --- | 989 990static int __init init_ima(void) 991{ 992 int error; 993 994 ima_appraise_parse_cmdline(); 995 ima_init_template_list(); 996 hash_setup(CONFIG_IMA_DEFAULT_HASH); --- 25 unchanged lines hidden --- |