Re: [PATCH v2] net: introduce helper macro for_each_cmsghdr
From: Gu Zheng
Date: Wed Dec 10 2014 - 21:05:55 EST
On 12/11/2014 09:47 AM, David Miller wrote:
> From: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
> Date: Thu, 11 Dec 2014 09:05:59 +0800
>> IMO, the user-land programs need to be build with the matched
>> headers separately.
> You absolutely cannot provide this new interface to userland and
> expect programs to be able to just use it, it's non-standard and does
> not exist in older headers.
Got it, sorry for my mistake, and thanks for your correction.
> I do not want this new interface available to userland programs.
> They can just open-code the list traversal just like every program
> in history has had to do since BSD UNIX.
Agree. Let's leave the user-land ones as they are.
I'll send a new version (without changing user-land ones) soon.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/