projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ima: pass 'opened' flag to identify newly created files
[linux-2.6-block.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index 985c6f3684859e17439d62c7d319611305414437..005771f9718960b5e0764f4607095cf96dbd7829 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-3058,7
+3058,7
@@
opened:
error = open_check_o_direct(file);
if (error)
goto exit_fput;
- error = ima_file_check(file, op->acc_mode);
+ error = ima_file_check(file, op->acc_mode
, *opened
);
if (error)
goto exit_fput;