generic-poky/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/014-uninitialized.patch

18 lines
565 B
Diff

Upstream-Status: Inappropriate [other]
Upstream is not making further releases of this software.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
# Patch origin: nfs-server source RPM from openSUSE 10.3
--- nfs-server/mountd.c
+++ nfs-server/mountd.c
@@ -278,6 +278,7 @@
|| (mp = auth_path(cp, rqstp, dir)) == NULL
|| mp->o.noaccess) {
#ifdef WANT_LOG_MOUNTS
+ addr = svc_getcaller(rqstp->rq_xprt)->sin_addr;
Dprintf(L_WARNING, "Blocked attempt of %s to pathconf(%s)\n",
inet_ntoa(addr), dir);
#endif /* WANT_LOG_MOUNTS */