Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-13 Thread Mimi Zohar
On Tue, 2014-05-13 at 16:19 +0900, J. R. Okajima wrote: > Mimi Zohar: > > As a temporary fix, do not measure, appraise, or audit files > > opened with the O_DIRECT flag set. Just audit log it. > > I have no objection about the patch, but have a question. > Are you intending to put it into

Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-13 Thread J. R. Okajima
Mimi Zohar: > As a temporary fix, do not measure, appraise, or audit files > opened with the O_DIRECT flag set. Just audit log it. I have no objection about the patch, but have a question. Are you intending to put it into mainline now (and stable too)? Or is this a local bandage for whoever

Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-13 Thread J. R. Okajima
Mimi Zohar: As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. I have no objection about the patch, but have a question. Are you intending to put it into mainline now (and stable too)? Or is this a local bandage for whoever have

Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-13 Thread Mimi Zohar
On Tue, 2014-05-13 at 16:19 +0900, J. R. Okajima wrote: Mimi Zohar: As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. I have no objection about the patch, but have a question. Are you intending to put it into mainline now

Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-12 Thread Mimi Zohar
Reposting unmangled version ... As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. Signed-off-by: Mimi Zohar Cc: --- security/integrity/ima/ima_api.c | 10 +- security/integrity/ima/ima_main.c | 5 - 2 files

[RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-12 Thread Mimi Zohar
As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. Signed-off-by: Mimi Zohar --- security/integrity/ima/ima_api.c | 10 +- security/integrity/ima/ima_main.c | 5 - 2 files changed, 13 insertions(+), 2 deletions(-) diff

[RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-12 Thread Mimi Zohar
As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. Signed-off-by: Mimi Zohar zo...@linux.vnet.ibm.com --- security/integrity/ima/ima_api.c | 10 +- security/integrity/ima/ima_main.c | 5 - 2 files changed, 13

Re: [RFC PATCH] ima: audit log files opened with O_DIRECT flag

2014-05-12 Thread Mimi Zohar
Reposting unmangled version ... As a temporary fix, do not measure, appraise, or audit files opened with the O_DIRECT flag set. Just audit log it. Signed-off-by: Mimi Zohar zo...@linux.vnet.ibm.com Cc: sta...@vger.kernel.org --- security/integrity/ima/ima_api.c | 10 +-