diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2009-09-02 11:40:32 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-09-03 12:06:12 +1000 |
commit | 6c1488fd581a447ec87c4b59f0d33f95f0aa441b (patch) | |
tree | ae7229de1dc5582413e76f45ffdc04ae941e1daa /include | |
parent | ee18d64c1f632043a02e6f5ba5e045bb26a5465f (diff) | |
download | linux-6c1488fd581a447ec87c4b59f0d33f95f0aa441b.tar.gz linux-6c1488fd581a447ec87c4b59f0d33f95f0aa441b.tar.bz2 linux-6c1488fd581a447ec87c4b59f0d33f95f0aa441b.zip |
IMA: open new file for read
When creating a new file, ima_path_check() assumed the new file
was being opened for write. Call ima_path_check() with the
appropriate acc_mode so that the read/write counters are
incremented correctly.
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions