[PATCH 1/2] tools/nolibc: Provide vfork()
Mark Brown
broonie at kernel.org
Mon Jun 9 09:16:21 PDT 2025
On Mon, Jun 09, 2025 at 05:51:19PM +0200, Thomas Weißschuh wrote:
> On 2025-06-09 16:43:55+0100, Mark Brown wrote:
> > On Mon, Jun 09, 2025 at 05:34:33PM +0200, Thomas Weißschuh wrote:
> > > For consistency:
> > > #if defined(__NR_vfork)
> > Are you sure? I'm seeing an awful lot of #ifdef __NR_foo instances in
> > sys.h - it looks like the idiom is to use that unless it either needs an
> > additional condition (with || or &&) or is an elif.
> In sys.h, indeed. These have mostly grown historically, newer ones use
> #if defined() together with #elif defined().
There aren't actually any of the newer ones in sys.h! I guess I'll add
a patch doing the style change...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250609/44c0e617/attachment.sig>
More information about the linux-arm-kernel
mailing list