lin
2025-06-05 ed3dd9d3e7519a82bb871d5eedb24a2fa0c91f47
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LINUX_FIVM_H
#define _LINUX_FIVM_H
 
#include <linux/fs.h>
#define CONFIG_FILE_INTEGRITY
struct fivm_operation {
   int (*mmap_verify)(struct file *, unsigned long);
   int (*open_verify)(struct file *, const char *, int);
};
 
extern int fivm_mmap_verify(struct file *file, unsigned long prot);
extern int fivm_open_verify(struct file *file, const char *pathname, int mask);
#endif /*_LINUX_FIVM_H*/