|
@@ -45,7 +45,8 @@ static ssize_t ima_show_htable_violations(struct file *filp,
|
|
|
}
|
|
|
|
|
|
static const struct file_operations ima_htable_violations_ops = {
|
|
|
- .read = ima_show_htable_violations
|
|
|
+ .read = ima_show_htable_violations,
|
|
|
+ .llseek = generic_file_llseek,
|
|
|
};
|
|
|
|
|
|
static ssize_t ima_show_measurements_count(struct file *filp,
|
|
@@ -57,7 +58,8 @@ static ssize_t ima_show_measurements_count(struct file *filp,
|
|
|
}
|
|
|
|
|
|
static const struct file_operations ima_measurements_count_ops = {
|
|
|
- .read = ima_show_measurements_count
|
|
|
+ .read = ima_show_measurements_count,
|
|
|
+ .llseek = generic_file_llseek,
|
|
|
};
|
|
|
|
|
|
/* returns pointer to hlist_node */
|
|
@@ -319,7 +321,8 @@ static int ima_release_policy(struct inode *inode, struct file *file)
|
|
|
static const struct file_operations ima_measure_policy_ops = {
|
|
|
.open = ima_open_policy,
|
|
|
.write = ima_write_policy,
|
|
|
- .release = ima_release_policy
|
|
|
+ .release = ima_release_policy,
|
|
|
+ .llseek = generic_file_llseek,
|
|
|
};
|
|
|
|
|
|
int __init ima_fs_init(void)
|