X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blobdiff_plain;f=include%2Flinux%2Fima.h;h=0e3f2a4c25f6ef0270f8e007a985a21cb74d6234;hp=b1b827d091a995e3d5b2e4a0d1e7f18e975e9319;hb=94e5d714f604d4cb4cb13163f01ede278e69258b;hpb=79b854c549c62c54fa27f87e04465c01db889f8d diff --git a/include/linux/ima.h b/include/linux/ima.h index b1b827d..0e3f2a4 100644 --- a/include/linux/ima.h +++ b/include/linux/ima.h @@ -24,6 +24,7 @@ extern int ima_path_check(struct path *path, int mask, int update_counts); extern void ima_file_free(struct file *file); extern int ima_file_mmap(struct file *file, unsigned long prot); extern void ima_counts_get(struct file *file); +extern void ima_counts_put(struct path *path, int mask); #else static inline int ima_bprm_check(struct linux_binprm *bprm) @@ -60,5 +61,10 @@ static inline void ima_counts_get(struct file *file) { return; } + +static inline void ima_counts_put(struct path *path, int mask) +{ + return; +} #endif /* CONFIG_IMA_H */ #endif /* _LINUX_IMA_H */