rpc.gssd: don't call poll(2) twice a second
authorChuck Lever <chuck.lever@oracle.com>
Mon, 6 Aug 2012 13:08:53 +0000 (09:08 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 6 Aug 2012 13:11:27 +0000 (09:11 -0400)
commit41f32cd96eca95a2730603ebc539440c48a1dda5
tree892c0b4b4cb4fc1c4e627aca64c33fe8ff69e067
parente4e5dadd7685415059173e438a5710a9e51ffbff
rpc.gssd: don't call poll(2) twice a second

Use ppoll() instead.

[ cel Wed Aug  1 11:44:46 EDT 2012 - autoconfiscated Bruce's version ]

Related clean-up: Since we're pulling the poll/ppoll call out into a
separate function, note that the second argument of poll(2) and
ppoll(2) is not an int, it's an unsigned long.  The nfds_t typedef
is a recent invention, so use the raw type for compatibility with
older glibc headers.

Acked-by: J. Bruce Fields" <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac
utils/gssd/gssd_main_loop.c
utils/gssd/gssd_proc.c