patch-src_security_c 933 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --- rpcbind-0.2.1.orig/src/security.c 2013-08-19 16:49:34.000000000 +0200
  2. +++ rpcbind-0.2.1/src/security.c 2014-05-14 18:57:44.779341743 +0200
  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. +#define MOUNTPROC_MNT 1
  14. +#define MOUNTPROC_UMNT 3
  15. +
  16. +#define NFS_PROGRAM 100003
  17. +#define YPPROG 100004
  18. +#define MOUNTPROG 100005
  19. +#define YPBINDPROG 100007
  20. +#define YPPASSWDPROG 100009
  21. +#define RQUOTAPROG 100011
  22. +
  23. +#define YPPROC_NULL 0
  24. +#define YPPROC_DOMAIN 1
  25. +#define YPPROC_DOMAIN_NONACK 2
  26. +#define YPPROC_MATCH 3
  27. +#define YPPROC_FIRST 4
  28. +#define YPPROC_NEXT 5
  29. +#define YPPROC_XFR 6
  30. +#define YPPROC_CLEAR 7
  31. +#define YPPROC_ALL 8
  32. +
  33. +#define YPBINDPROC_SETDOM 2
  34. +
  35. #include "rpcbind.h"