fs: ext4: disable support for FALLOC_FL_PUNCH_HOLE
authorWoojung Min <wmin@nvidia.com>
Thu, 10 Nov 2016 05:48:18 +0000 (10:48 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 15 Nov 2016 20:06:01 +0000 (12:06 -0800)
commit920f0305f3f819f3380ba355013d333a3512705b
treed8d5c790af274bb25b023a48d95b056359b45cba
parentf837b950ee7a20bd25516aaea51ec094309671b9
fs: ext4: disable support for FALLOC_FL_PUNCH_HOLE

Disable support for the fallocate FALLOC_FL_PUNCH_HOLE to
prevent the race conditions.

CVE-2015-8839
ANDROID-28760453

Jira EASS-863

Bug 1797728

Change-Id: Iae76df73f811da4e8209d21dd0803b070c0db684
Reviewed-on: http://git-master/r/1209635
(cherry picked from commit 9704617c5412f4cde41270259331a9078b479915)
Reviewed-on: http://git-master/r/1213238
(cherry picked from commit 533c2cafdb20f630647b88ae443b580216ebfc34)
Reviewed-on: http://git-master/r/1230816
Signed-off-by: Vaibhav Shinde <vashinde@nvidia.com>
Reviewed-on: http://git-master/r/1250871
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
fs/ext4/inode.c