Message ID | 20211026075025.29117-1-zhaogongyi@huawei.com |
---|---|
State | Rejected |
Headers | show |
Series | lapi/syscalls: Add epoll_create for aarch64.in | expand |
On Tue, Oct 26, 2021 at 9:49 AM Zhao Gongyi <zhaogongyi@huawei.com> wrote: > > Add epoll_create for aarch64.in and modify the value of epoll_ctl > for aarch64.in. Otherwise, the testcase epoll_create01/epoll_create02 will > fail. > > Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com> > --- > include/lapi/syscalls/aarch64.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/lapi/syscalls/aarch64.in b/include/lapi/syscalls/aarch64.in > index a47185954..e9023a1d0 100644 > --- a/include/lapi/syscalls/aarch64.in > +++ b/include/lapi/syscalls/aarch64.in > @@ -19,7 +19,6 @@ getcwd 17 > lookup_dcookie 18 > eventfd2 19 > epoll_create1 20 > -epoll_ctl 21 > epoll_pwait 22 > dup 23 > dup3 24 > @@ -243,6 +242,8 @@ rt_tgsigqueueinfo 240 > perf_event_open 241 > accept4 242 > recvmmsg 243 > +epoll_create 250 > +epoll_ctl 251 These values are for 32 bit only syscalls. Won't this break 64 bit? > wait4 260 > prlimit64 261 > fanotify_init 262 > -- > 2.17.1 > > > -- > Mailing list info: https://lists.linux.it/listinfo/ltp >
diff --git a/include/lapi/syscalls/aarch64.in b/include/lapi/syscalls/aarch64.in index a47185954..e9023a1d0 100644 --- a/include/lapi/syscalls/aarch64.in +++ b/include/lapi/syscalls/aarch64.in @@ -19,7 +19,6 @@ getcwd 17 lookup_dcookie 18 eventfd2 19 epoll_create1 20 -epoll_ctl 21 epoll_pwait 22 dup 23 dup3 24 @@ -243,6 +242,8 @@ rt_tgsigqueueinfo 240 perf_event_open 241 accept4 242 recvmmsg 243 +epoll_create 250 +epoll_ctl 251 wait4 260 prlimit64 261 fanotify_init 262
Add epoll_create for aarch64.in and modify the value of epoll_ctl for aarch64.in. Otherwise, the testcase epoll_create01/epoll_create02 will fail. Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com> --- include/lapi/syscalls/aarch64.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1