Re: [PATCH v2 00/15] allow run with minimal kernel config

From: Thomas Weißschuh
Date: Fri Jun 30 2023 - 04:51:05 EST


On 2023-06-30 07:22:39+0800, Zhangjin Wu wrote:
> Willy, Thomas
>
> This is v2 to allow run with minimal kernel config, see v1 [1].
>
> It mainly applied the suggestions from Thomas. It is based on our
> previous v5 sysret helper series [2] and Thomas' chmod_net removal
> patchset [3].
>
> Now, a test report on arm/vexpress-a9 without procfs, shmem, tmpfs, net
> and memfd_create looks like:
>
> LOG: testing report for arm/vexpress-a9:
>
> 14 chmod_net [SKIPPED]

Shouldn't this be gone?

> 15 chmod_self [SKIPPED]
> 17 chown_self [SKIPPED]
> 41 link_cross [SKIPPED]
> 0 -fstackprotector not supported [SKIPPED]
>
> 139 test(s) passed, 5 skipped, 0 failed.
> See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log
>
> LOG: testing summary:
>
> arch/board | result
> ------------|------------
> arm/vexpress-a9 | 139 test(s) passed, 5 skipped, 0 failed. See all results in /labs/linux-lab/logging/nolibc/arm-vexpress-a9-nolibc-test.log

> [..]

> tools/include/nolibc/sys.h | 22 ++++
> tools/testing/selftests/nolibc/nolibc-test.c | 102 +++++++++++++++----
> 2 files changed, 106 insertions(+), 18 deletions(-)

A few nitpicks left, mentioned on the patches themselves.

In general: for the full series.

Reviewed-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>