Commit 8f6d6fd1 authored by zhangyi (F)'s avatar zhangyi (F) Committed by Baokun Li
Browse files

aio: add timeout validity check for io_[p]getevents

maillist inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8U48M
CVE: NA

Reference: https://lore.kernel.org/lkml/1564451504-27906-1-git-send-email-yi.zhang@huawei.com/



---------------------------

io_[p]getevents syscall should return -EINVAL if timeout is out of
range, add this validity check.

Signed-off-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: default avatarJeff Moyer <jmoyer@redhat.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
parent 31fb44c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment