From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Xing Date: Thu, 06 Dec 2018 11:37:55 +0800 Subject: [LTP] [PATCH v2 2/2] lapi/syscalls: Add syscall numbers for process_vm_readv/_writev In-Reply-To: <20181205220747.GD21236@x230> References: <1514394255.82007574.1543913641122.JavaMail.zimbra@redhat.com> <1544017426-10669-1-git-send-email-kerneljasonxing@linux.alibaba.com> <1544017426-10669-2-git-send-email-kerneljasonxing@linux.alibaba.com> <20181205220747.GD21236@x230> Message-ID: <5C089993.1010505@linux.alibaba.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: ltp@lists.linux.it On 2018/12/6 上午6:07, Petr Vorel wrote: > Hi Jason, > >> Signed-off-by: Jason Xing >> Signed-off-by: Caspar Zhang >> --- > > ... >> diff --git a/include/lapi/syscalls/aarch64.in b/include/lapi/syscalls/aarch64.in >> index c7ed2fe..bf04895 100644 >> --- a/include/lapi/syscalls/aarch64.in >> +++ b/include/lapi/syscalls/aarch64.in >> --- a/include/lapi/syscalls/arm.in >> +++ b/include/lapi/syscalls/arm.in >> @@ -334,6 +334,8 @@ accept4 (__NR_SYSCALL_BASE+366) >> fanotify_init (__NR_SYSCALL_BASE+367) >> fanotify_mark (__NR_SYSCALL_BASE+368) >> prlimit64 (__NR_SYSCALL_BASE+369) >> +process_vm_readv(__NR_SYSCALL_BASE+376) >> +process_vm_writev(__NR_SYSCALL_BASE+377) > This triggered error during generation headers: > invalid line found: process_vm_readv(__NR_SYSCALL_BASE+376) > (reproducible by: cd $l/include/lapi/syscalls; ./regen.sh) > > and thus build error: > ../../../../include/lapi/syscalls.h:13: error: unterminated #ifndef > #ifndef __LAPI_SYSCALLS_H__ > > I fixed it by adding space: > > -process_vm_readv(__NR_SYSCALL_BASE+376) > -process_vm_writev(__NR_SYSCALL_BASE+377) > +process_vm_readv (__NR_SYSCALL_BASE+376) > +process_vm_writev (__NR_SYSCALL_BASE+377) > > + put this commit first and pushed. Thanks for your instructions. > > Thanks for your patches. > > Kind regards, > Petr >