diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-28 12:36:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-28 12:36:30 +0100 |
commit | a21751d05ee06fd4e0bfae705e8467922b344120 (patch) | |
tree | 7705f057fee1baf2152bf2b97c9c4217298f4f06 /package/rpcbind/patches | |
parent | d8a9ea4f5591783df24634cfaf10f32307b58803 (diff) | |
parent | 1b7510f011b5c63c060943716f39c9417b116359 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/rpcbind/patches')
-rw-r--r-- | package/rpcbind/patches/patch-src_security_c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/package/rpcbind/patches/patch-src_security_c b/package/rpcbind/patches/patch-src_security_c index d7a5582d9..08a86565a 100644 --- a/package/rpcbind/patches/patch-src_security_c +++ b/package/rpcbind/patches/patch-src_security_c @@ -1,10 +1,15 @@ --- rpcbind-0.2.0.orig/src/security.c 2009-05-29 15:38:22.000000000 +0200 -+++ rpcbind-0.2.0/src/security.c 2010-02-06 01:55:37.383094004 +0100 -@@ -20,12 +20,38 @@ ++++ rpcbind-0.2.0/src/security.c 2010-02-27 19:57:02.000000000 +0100 +@@ -20,12 +20,28 @@ /* * XXX for special case checks in check_callit. */ -+#if defined(__UCLIBC__) +-#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> + +#define MOUNTPROC_MNT 1 +#define MOUNTPROC_UMNT 3 @@ -27,15 +32,6 @@ +#define YPPROC_ALL 8 + +#define YPBINDPROC_SETDOM 2 -+ -+#else - #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> -+#endif #include "rpcbind.h" |