r22968: andrew bartlett pointed out that the parent process could add a fd to
commit4f84e6d569f9c9d7dd902f4550735f3ce2d3b424
authorAndrew Tridgell <tridge@samba.org>
Thu, 17 May 2007 07:52:33 +0000 (17 07:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:33 +0000 (10 14:52 -0500)
treee12ab1f6e5a67389d4bed3aabe46fa6e57014735
parent2a7dec4e5dc453f509493f80fc1270416f30a36e
r22968: andrew bartlett pointed out that the parent process could add a fd to
the epoll context which would then appear in the children. To fix this
we need to check for pid changes in more places. Luckily on platforms
where we have epoll(), getpid() is very very cheap.
source/lib/events/events_aio.c
source/lib/events/events_epoll.c
source/lib/events/events_standard.c