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
This commit is contained in:
Pedro F. Giffuni 2012-09-27 20:06:37 +00:00
parent 06f13fb3f4
commit 827396ba31
2 changed files with 8 additions and 7 deletions

View File

@ -243,13 +243,14 @@ __END_DECLS
* System style authentication * System style authentication
* AUTH *authunix_create(machname, uid, gid, len, aup_gids) * AUTH *authunix_create(machname, uid, gid, len, aup_gids)
* char *machname; * char *machname;
* uid_t uid; * int uid;
* gid_t gid; * int gid;
* int len; * int len;
* gid_t *aup_gids; * int *aup_gids;
*/ */
__BEGIN_DECLS __BEGIN_DECLS
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 */ extern AUTH *authunix_create_default(void); /* takes no parameters */
extern AUTH *authnone_create(void); /* takes no parameters */ extern AUTH *authnone_create(void); /* takes no parameters */
__END_DECLS __END_DECLS

View File

@ -60,10 +60,10 @@
struct authunix_parms { struct authunix_parms {
u_long aup_time; u_long aup_time;
char *aup_machname; char *aup_machname;
uid_t aup_uid; int aup_uid;
gid_t aup_gid; int aup_gid;
u_int aup_len; u_int aup_len;
gid_t *aup_gids; int *aup_gids;
}; };
#define authsys_parms authunix_parms #define authsys_parms authunix_parms