You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
8 years ago
|
From 226b9c57ff403b407dbf1ff8a615da455a4cbd23 Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
|
Date: Sat, 10 Nov 2012 22:03:43 +0100
|
||
|
Subject: [PATCH] Remove yellow pages support
|
||
|
|
||
|
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>
|
||
3 years ago
|
[ rebased for 1.2.6 ]
|
||
|
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||
8 years ago
|
---
|
||
3 years ago
|
src/security.c | 15 ---------------
|
||
|
1 file changed, 15 deletions(-)
|
||
8 years ago
|
|
||
|
diff --git a/src/security.c b/src/security.c
|
||
3 years ago
|
index 38967dd..0a70635 100644
|
||
8 years ago
|
--- a/src/security.c
|
||
|
+++ b/src/security.c
|
||
3 years ago
|
@@ -318,24 +318,9 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum /*__unused*
|
||
8 years ago
|
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;
|
||
|
}
|
||
|
--
|
||
3 years ago
|
2.31.1
|
||
8 years ago
|
|