Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utimensat_tests.sh: returns EPERM above 4.4.27 and below 4.5.0
Test utimensat failed on 4.4 is due to expected error is EACCES but got EPERM. With the reference to backported patch changing the test code to set error code EPERM when kernel version is above 4.4.27 and below 4.5.0 The patch backported on 4.4 details tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git branch: v4.4.27 commit id: b3b4283 vfs: move permission checking into notify_change() for utimes(NULL) Bug reported on this case, LKFT: linux-stable-4.4: LTP utimensat01 failed-EXPECTED: EACCES but got EPERM https://bugs.linaro.org/show_bug.cgi?id=3142 Signed-off-by: Naresh Kamboju <[email protected]> Reviewed-by: Sumit Semwal <[email protected]> Acked-by: Jan Stancek <[email protected]>
- Loading branch information