]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Delete the __FD_*() funcs for operating on fd_set from linux/time.h
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Feb 2012 17:50:06 +0000 (17:50 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 19 Feb 2012 18:32:28 +0000 (10:32 -0800)
commitcf420048b3b2af9ce928d35cc5455c646c9dd2f7
treebccf07db4f8c3f8fd9d0ead38ae53c0b22ed64a6
parent1fd36adcd98c14d2fd97f545293c488775cb2823
Delete the __FD_*() funcs for operating on fd_set from linux/time.h

Delete the __FD_*() functions for operating on fd_set structs from
linux/time.h as they're no longer used within the kernel with the preceding
patch and are not exported to userspace.

Whilst linux/time.h *does* export the FD_*() equivalents as wrappers around
__FD_*(), userspace provides its own definition of __FD_*().

Note that the definition of FD_ZERO() in linux/time.h may not be used with the
fd_sets associated with struct fdtable as the fd_set may have been allocated in
a truncated fashion.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: http://lkml.kernel.org/r/20120216175006.23314.18984.stgit@warthog.procyon.org.uk
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
include/linux/time.h