Subject: Re: private netdev flags into UAPI?

From: David Howells <[email-masked]>
Date: Tue, 27 Nov 2012 02:03:09 +0000

Or Gerlitz <[email-masked]> wrote:

> On Mon, Nov 26, 2012 at 11:22 AM, David Howells <[email-masked]> wrote:
> > They were exposed to userspace already
> 
> So the script carries the bug into a new directory... why? AFAIK,
> intentionally there's no way to read private flags from user space, so
> what's the point in defining them there?

How should the script know what's private and what's not?  By the
encapsulation of code inside __KERNEL__ blocks.  In their absence, everything
is assumed to be public - given it is already part of the UAPI.  I don't know
that the code is private rather than the comment is wrong.

David