diff options
author | Ammar Faizi <ammarfaizi2@gnuweeb.org> | 2023-01-10 08:24:33 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-01-10 13:33:56 -0800 |
commit | 7efd762e97c87f07b0a93e428e5ce3436715f538 (patch) | |
tree | 26898dc867bdf418a7d7b0ce7b079fedb90e4438 /scripts/gdb/linux/vmalloc.py | |
parent | c61a078015f325fe38a7371ab0b12d4444f5fba4 (diff) |
nolibc/sys: Implement `getpagesize(2)` function
This function returns the page size used by the running kernel. The
page size value is taken from the auxiliary vector at 'AT_PAGESZ' key.
'getpagesize(2)' is assumed as a syscall becuase the manpage placement
of this function is in entry 2 ('man 2 getpagesize') despite there is
no real 'getpagesize(2)' syscall in the Linux syscall table. Define
this function in 'sys.h'.
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions