Dmitry V. Levin ldv at
Fri Mar 11 12:39:04 UTC 2022


On Fri, Mar 11, 2022 at 07:27:40PM +0800, As Ss wrote:
> Thank you for the document. But I still have some questions.
> getpagesize is a system call, and it should have a syscall number like
> uname,getpid, which like __NR_uname, but I cannot find
> __NR_getpagesize in scno.h which is generated by makefile. So how can
> I generate syscall getpagesize number or how can I call getpagesize in
> the test case?

getpagesize is a rare syscall implemented on a few old architectures,
e.g. alpha, m68k, and sparc64.  On modern architectures there is no
getpagesize syscall and, consequently, no __NR_getpagesize.


More information about the Strace-devel mailing list