security/integrity: constify some read-only data
Constify some static data that is never modified, so that it is placed in .rodata. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
@@ -88,7 +88,7 @@ struct ima_template_desc {
|
||||
char *name;
|
||||
char *fmt;
|
||||
int num_fields;
|
||||
struct ima_template_field **fields;
|
||||
const struct ima_template_field **fields;
|
||||
};
|
||||
|
||||
struct ima_template_entry {
|
||||
|
Reference in New Issue
Block a user