mm: reliable: Fix ret errno to EACCES
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S CVE: NA -------------------------------- Commit bc25b308 ("mm: reliable: Use EINVAL in reliable_check") update EPERM to EINVAL try to pass LTP's proc01 test, however LTP only treat EACCESS as whitelist in the scenario. To solve this problem, update EINVAL to EACCESS. Fixes: bc25b308 ("mm: reliable: Use EINVAL in reliable_check") Signed-off-by:Ma Wupeng <mawupeng1@huawei.com> Reviewed-by:
Chen Wandun <chenwandun@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Please register or sign in to comment