On Fri, Apr 24, 2026 at 12:00:56PM +0800, Li Wang <[email protected]> wrote:
> @@ -752,6 +753,10 @@ int main(int argc, char **argv)
>       char root[PATH_MAX];
>       int i;
>  
> +     page_size = sysconf(_SC_PAGE_SIZE);
> +     if (page_size <= 0)
> +             page_size = BUF_SIZE;
> +

I'd just fail the whole test if this fails. To have page_size always
represent what it says. (When can this fail anyway? Maybe nommu archs?)

(Rest looks good.)

Attachment: signature.asc
Description: PGP signature

Reply via email to