2014-06-30 13:56:09 +02:00
|
|
|
From 249e25c5cc675c212ca4e4a3342bff8f59285b1a Mon Sep 17 00:00:00 2001
|
2012-11-10 12:42:45 +01:00
|
|
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
Date: Sat, 10 Nov 2012 22:03:43 +0100
|
|
|
|
Subject: [PATCH] Remove yellow pages support
|
2012-11-04 08:34:14 +01:00
|
|
|
|
|
|
|
This support requires yellow pages support in libtirpc, which isn't
|
|
|
|
available. As most Buildroot users are most likely never going to need
|
|
|
|
such feature, get rid of it.
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
2012-11-10 12:42:45 +01:00
|
|
|
---
|
2014-06-30 13:56:09 +02:00
|
|
|
src/security.c | 18 ------------------
|
2012-11-10 12:42:45 +01:00
|
|
|
1 file changed, 18 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/security.c b/src/security.c
|
2014-06-30 13:56:09 +02:00
|
|
|
index d272f74..8d5863c 100644
|
2012-11-04 08:34:14 +01:00
|
|
|
--- a/src/security.c
|
|
|
|
+++ b/src/security.c
|
|
|
|
@@ -23,9 +23,6 @@
|
|
|
|
#include <rpcsvc/mount.h>
|
|
|
|
#include <rpcsvc/rquota.h>
|
|
|
|
#include <rpcsvc/nfs_prot.h>
|
|
|
|
-#include <rpcsvc/yp.h>
|
|
|
|
-#include <rpcsvc/ypclnt.h>
|
|
|
|
-#include <rpcsvc/yppasswd.h>
|
|
|
|
|
|
|
|
#include "rpcbind.h"
|
|
|
|
|
2014-06-30 13:56:09 +02:00
|
|
|
@@ -308,24 +305,9 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum /*__unused*
|
2012-11-04 08:34:14 +01:00
|
|
|
args->rmt_proc != MOUNTPROC_UMNT)
|
|
|
|
break;
|
|
|
|
goto deny;
|
|
|
|
- case YPBINDPROG:
|
|
|
|
- if (args->rmt_proc != YPBINDPROC_SETDOM)
|
|
|
|
- break;
|
|
|
|
- /* FALLTHROUGH */
|
|
|
|
- case YPPASSWDPROG:
|
|
|
|
case NFS_PROGRAM:
|
|
|
|
case RQUOTAPROG:
|
|
|
|
goto deny;
|
|
|
|
- case YPPROG:
|
|
|
|
- switch (args->rmt_proc) {
|
|
|
|
- case YPPROC_ALL:
|
|
|
|
- case YPPROC_MATCH:
|
|
|
|
- case YPPROC_FIRST:
|
|
|
|
- case YPPROC_NEXT:
|
|
|
|
- goto deny;
|
|
|
|
- default:
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
2012-11-10 12:42:45 +01:00
|
|
|
--
|
2014-06-30 13:56:09 +02:00
|
|
|
2.0.0
|
2012-11-10 12:42:45 +01:00
|
|
|
|