Skip to content

nolibc auxiliary vector retrieval support

Ammar Faizi linux-kselftest lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 1 replyIn review
  2. v1 posting 1/23 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nolibc/stdlib: Implement `getauxval(3)` functiontools/include/nolibc/stdlib.h+27 -00 replies
2/3nolibc/sys: Implement `getpagesize(2)` functiontools/include/nolibc/sys.h+21 -00 replies
3/3selftests/nolibc: Add `getpagesize(2)` selftesttools/testing/selftests/nolibc/nolibc-test.c+30 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND PATCH v1 0/3] nolibc auxiliary vector retrieval support

From: Ammar Faizi <[email protected]>

Hi Willy,

This series is a follow up of our previous discussion about getauxval() and getpagesize() functions.

It will apply cleanly on top of your "20221227-nolibc-weak-4" branch. Base commit: b6887ec8b0b0 ("tools/nolibc: add auxiliary vector retrieval for mips").

I have added a selftest for the getpagesize() function, but I am not sure how to assert the correctness of getauxval(). I think it is fine not to add a selftest for getauxval(). If you think we should, please give some advice on the test mechanism.

Thanks!

---

Ammar Faizi (3):
nolibc/stdlib: Implement getauxval(3) function nolibc/sys: Implement getpagesize(2) function selftests/nolibc: Add getpagesize(2) selftest

 tools/include/nolibc/stdlib.h                | 27 ++++++++++++++++++
 tools/include/nolibc/sys.h                   | 21 ++++++++++++++
 tools/testing/selftests/nolibc/nolibc-test.c | 30 ++++++++++++++++++++
 3 files changed, 78 insertions(+)

base-commit: b6887ec8b0b0c78db414b78e329bf2ce234dedd5

Signature · 1 line
Ammar Faizi