svn commit: trunk/uClibc/libc/inet/rpc
vapier at uclibc.org
vapier at uclibc.org
Wed Jan 10 09:46:20 PST 2007
Author: vapier
Date: 2007-01-10 09:46:19 -0800 (Wed, 10 Jan 2007)
New Revision: 17226
Log:
need to keep __check_rhosts_file exported for proper rhost control
Modified:
trunk/uClibc/libc/inet/rpc/rcmd.c
Changeset:
Modified: trunk/uClibc/libc/inet/rpc/rcmd.c
===================================================================
--- trunk/uClibc/libc/inet/rpc/rcmd.c 2007-01-10 17:02:16 UTC (rev 17225)
+++ trunk/uClibc/libc/inet/rpc/rcmd.c 2007-01-10 17:46:19 UTC (rev 17226)
@@ -368,7 +368,11 @@
}
libc_hidden_def(rresvport)
-static int __check_rhosts_file = 1;
+/* This needs to be exported ... while it is not a documented interface
+ * for rcp related apps, it's a required one that is used to control the
+ * rhost behavior. Legacy sucks.
+ */
+int __check_rhosts_file = 1;
int ruserok(rhost, superuser, ruser, luser)
const char *rhost, *ruser, *luser;
More information about the uClibc-cvs
mailing list