Thread (5 messages) flat view 5 messages, 3 authors, 2012-11-27

Re: private netdev flags into UAPI?

From: David Howells <dhowells@redhat.com>
Date: 2012-11-26 09:22:47

Or Gerlitz [off-list ref] wrote:
not sure if this has been brought up before, but I realized that the private
IFF_yyy netdevice flags which weren't exposed to user space so far have been
moved to include/uapi/linux/if.h, isn't that wrong?
They were exposed to userspace already.  On my Fedora 16 test box, I see:

	[root@andromeda ~]# grep -r IFF_EBRIDGE /usr/include/linux
	/usr/include/linux/if.h:#define IFF_EBRIDGE     0x2             /* Ethernet bridging device.    */

which is from:

	kernel-headers-3.3.6-3.fc16.x86_64

which was built before UAPI proper started going in:

	[root@andromeda ~]# rpm -qfi /usr/include/linux/if.h | grep "Build Date"
	Build Date  : Wed 16 May 2012 23:05:59 BST

Looking at commit 607ca46e97a1b6594b29647d98a32d545c24bdff, I see:

	--------------------------- include/uapi/linux/if.h ---------------------------
	similarity index 100%
	rename from include/linux/if.h
	rename to include/uapi/linux/if.h

so my script just moved it without alteration.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help