Re: [PATCH 13/16] selftests: vDSO: parse_vdso: Make compatible with nolibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 22, 2025 at 11:24:26AM +0100, Willy Tarreau wrote:
> On Mon, Feb 03, 2025 at 10:05:14AM +0100, Thomas Weißschuh wrote:
> > nolibc does not provide this header, instead its definitions are
> > available unconditionally.
> 
> Please think about reminding which one you're talking about so that a
> simple "git log" shows what header you're talking about (limits.h)
> without requiring to also see the patch itself.

Ack.

> BTW, I think that limits.h is common enough that we could probably
> provide it as well with nolibc to ease porting (and the current patch
> is a good example of this). Maybe it could simply start by including
> stdint.h to provide the various limits we rely on. I remember that in
> the early days of nolibc-test we had to exclude it as well for nolibc.
>
> What do you think? The less we need to patch programs to insert #ifndef
> NOLIBC, the better.

Sounds good, I'll do that for v2.
Given that any nolibc header always also includes the global nolibc.h,
I think limits.h can directly include nolibc.h.
 
> Cheers,
> Willy




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux