Re: [PATCH] ima: Don't modify file descriptor mode on the fly

2020-11-30 Thread Mimi Zohar
On Thu, 2020-11-26 at 11:34 +0100, Roberto Sassu wrote: > Commit a408e4a86b36b ("ima: open a new file instance if no read > permissions") already introduced a second open to measure a file when the > original file descriptor does not allow it. However, it didn't remove the > existing method of chan

Re: [PATCH] ima: Don't modify file descriptor mode on the fly

2020-11-26 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH] ima: Don't modify file descriptor mode on the fly

2020-11-26 Thread Roberto Sassu
Commit a408e4a86b36b ("ima: open a new file instance if no read permissions") already introduced a second open to measure a file when the original file descriptor does not allow it. However, it didn't remove the existing method of changing the mode of the original file descriptor, which is still ne