aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2012-09-27 19:10:25 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2012-09-27 19:10:25 +0000
commit06f13fb3f44e18d039fcbc981a4d1432b2116c90 (patch)
treeb0021cc6cf8711340229a2a7f6fc07dfc953a425 /sys/rpc
parent617643aaa683818c9a9c541e5aca7fc6d0748d70 (diff)
downloadsrc-06f13fb3f44e18d039fcbc981a4d1432b2116c90.tar.gz
src-06f13fb3f44e18d039fcbc981a4d1432b2116c90.zip
Complete revert of r239963:
The attempt to merge changes from the linux libtirpc caused rpc.lockd to exit after startup under unclear conditions. After many hours of selective experiments and inconsistent results the conclusion is that it's better to just revert everything and restart in a future time with a much smaller subset of the changes. ____ MFC after: 3 days Reported by: David Wolfskill Tested by: David Wolfskill
Notes
Notes: svn path=/head/; revision=241007
Diffstat (limited to 'sys/rpc')
-rw-r--r--sys/rpc/auth.h9
-rw-r--r--sys/rpc/rpcb_clnt.c7
2 files changed, 5 insertions, 11 deletions
diff --git a/sys/rpc/auth.h b/sys/rpc/auth.h
index 5ec85413d1c2..6be08b625601 100644
--- a/sys/rpc/auth.h
+++ b/sys/rpc/auth.h
@@ -234,17 +234,18 @@ __END_DECLS
* System style authentication
* AUTH *authunix_create(machname, uid, gid, len, aup_gids)
* char *machname;
- * uid_t uid;
- * gid_t gid;
+ * int uid;
+ * int gid;
* int len;
- * gid_t *aup_gids;
+ * int *aup_gids;
*/
__BEGIN_DECLS
#ifdef _KERNEL
struct ucred;
extern AUTH *authunix_create(struct ucred *);
#else
-extern AUTH *authunix_create(char *, uid_t, gid_t, int, gid_t *);
+extern AUTH *authunix_create(char *, int, int, int,
+ int *);
extern AUTH *authunix_create_default(void); /* takes no parameters */
#endif
extern AUTH *authnone_create(void); /* takes no parameters */
diff --git a/sys/rpc/rpcb_clnt.c b/sys/rpc/rpcb_clnt.c
index 4106dfd92427..d484df3bf4f8 100644
--- a/sys/rpc/rpcb_clnt.c
+++ b/sys/rpc/rpcb_clnt.c
@@ -780,13 +780,6 @@ __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
}
parms.r_addr = NULL;
- parms.r_netid = nconf->nc_netid;
-
- /*
- * According to wire captures, the reference implementation
- * (OpenSolaris) sends a blank string here too.
- */
- parms.r_owner = "";
/*
* Use default total timeout if no timeout is specified.