ubifs: Enforce crypto policy in mmap
authorRichard Weinberger <richard@nod.at>
Thu, 29 Sep 2016 18:44:05 +0000 (20:44 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 12 Dec 2016 22:07:38 +0000 (23:07 +0100)
commit959c2de2b30bd09582392105889f68a96cb94fa4
tree27766bc06529b2f197bc591e4e176e8d63f7999e
parent700eada82a349f0aeadd43ce4b182b32e4adc5b5
ubifs: Enforce crypto policy in mmap

We need this extra check in mmap because a process could
gain an already opened fd.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/file.c