patch-src_security_c 933 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --- rpcbind-0.2.0.orig/src/security.c 2009-05-29 15:38:22.000000000 +0200
  2. +++ rpcbind-0.2.0/src/security.c 2010-02-27 19:57:02.000000000 +0100
  3. @@ -20,12 +20,28 @@
  4. /*
  5. * XXX for special case checks in check_callit.
  6. */
  7. -#include <rpcsvc/mount.h>
  8. -#include <rpcsvc/rquota.h>
  9. -#include <rpcsvc/nfs_prot.h>
  10. -#include <rpcsvc/yp.h>
  11. -#include <rpcsvc/ypclnt.h>
  12. -#include <rpcsvc/yppasswd.h>
  13. +
  14. +#define MOUNTPROC_MNT 1
  15. +#define MOUNTPROC_UMNT 3
  16. +
  17. +#define NFS_PROGRAM 100003
  18. +#define YPPROG 100004
  19. +#define MOUNTPROG 100005
  20. +#define YPBINDPROG 100007
  21. +#define YPPASSWDPROG 100009
  22. +#define RQUOTAPROG 100011
  23. +
  24. +#define YPPROC_NULL 0
  25. +#define YPPROC_DOMAIN 1
  26. +#define YPPROC_DOMAIN_NONACK 2
  27. +#define YPPROC_MATCH 3
  28. +#define YPPROC_FIRST 4
  29. +#define YPPROC_NEXT 5
  30. +#define YPPROC_XFR 6
  31. +#define YPPROC_CLEAR 7
  32. +#define YPPROC_ALL 8
  33. +
  34. +#define YPBINDPROC_SETDOM 2
  35. #include "rpcbind.h"