Line
Link Here
|
0 |
-- a/src/security.c |
0 |
++ b/src/security.c |
Lines 20-25
Link Here
|
20 |
/* |
20 |
/* |
21 |
* XXX for special case checks in check_callit. |
21 |
* XXX for special case checks in check_callit. |
22 |
*/ |
22 |
*/ |
|
|
23 |
#if defined(__UCLIBC__) || !defined(__GLIBC__) |
24 |
|
25 |
#define MOUNTPROC_MNT 1 |
26 |
#define MOUNTPROC_UMNT 3 |
27 |
|
28 |
#define NFS_PROGRAM 100003 |
29 |
#define YPPROG 100004 |
30 |
#define MOUNTPROG 100005 |
31 |
#define YPBINDPROG 100007 |
32 |
#define YPPASSWDPROG 100009 |
33 |
#define RQUOTAPROG 100011 |
34 |
|
35 |
#define YPPROC_NULL 0 |
36 |
#define YPPROC_DOMAIN 1 |
37 |
#define YPPROC_DOMAIN_NONACK 2 |
38 |
#define YPPROC_MATCH 3 |
39 |
#define YPPROC_FIRST 4 |
40 |
#define YPPROC_NEXT 5 |
41 |
#define YPPROC_XFR 6 |
42 |
#define YPPROC_CLEAR 7 |
43 |
#define YPPROC_ALL 8 |
44 |
|
45 |
#define YPBINDPROC_SETDOM 2 |
46 |
|
47 |
#else |
48 |
|
23 |
#include <rpcsvc/mount.h> |
49 |
#include <rpcsvc/mount.h> |
24 |
#include <rpcsvc/rquota.h> |
50 |
#include <rpcsvc/rquota.h> |
25 |
#include <rpcsvc/nfs_prot.h> |
51 |
#include <rpcsvc/nfs_prot.h> |
Lines 27-32
Link Here
|
27 |
#include <rpcsvc/ypclnt.h> |
53 |
#include <rpcsvc/ypclnt.h> |
28 |
#include <rpcsvc/yppasswd.h> |
54 |
#include <rpcsvc/yppasswd.h> |
29 |
|
55 |
|
|
|
56 |
#endif |
57 |
|
30 |
#include "rpcbind.h" |
58 |
#include "rpcbind.h" |
31 |
|
59 |
|
32 |
#ifdef LIBWRAP |
60 |
#ifdef LIBWRAP |