From b2a9b572a85640e93667368cbf0539a236ff592a Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Thu, 25 Mar 2010 13:34:27 -0400 Subject: Add a note about rpcbind's use of __svc_clean_idle() __svc_clean_idle() is an internal function that is also called by the version of rpcbind we are currently using. Make a note of this so that the function does not get accidentally removed or changed. We should keep an eye out for other APIs like this, and document them accordingly. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- src/svc_vc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/svc_vc.c b/src/svc_vc.c index 8e39597..aaaf2d7 100644 --- a/src/svc_vc.c +++ b/src/svc_vc.c @@ -748,6 +748,10 @@ __rpc_get_local_uid(SVCXPRT *transp, uid_t *uid) { * Destroy xprts that have not have had any activity in 'timeout' seconds. * If 'cleanblock' is true, blocking connections (the default) are also * cleaned. If timeout is 0, the least active connection is picked. + * + * Though this is not a publicly documented interface, some versions of + * rpcbind are known to call this function. Do not alter or remove this + * API without changing the library's sonum. */ bool_t __svc_clean_idle(fd_set *fds, int timeout, bool_t cleanblock) -- cgit v1.2.1