X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=common.h;h=6b287da54dc7f833065bcfc8fc88ee1c5e01f569;hp=f385fc9573fb0d9eca948862e5017845a11b22f1;hb=5df3f68d0d1f7d3e82a4421ca5252b2be7c540f7;hpb=f7dd4f74d0a6b3399fe694f80911657aec351ffd diff --git a/common.h b/common.h index f385fc9..6b287da 100644 --- a/common.h +++ b/common.h @@ -2,7 +2,7 @@ * userv - common.h * definitions shared between client and daemon * - * Copyright (C)1996-1997 Ian Jackson + * Copyright (C)1996-1997,1999 Ian Jackson * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -85,14 +85,14 @@ struct request_msg { pid_t clientpid; /* or -1 if no service is required and this was a version check */ int serviceuserlen; int servicelen; - int lognamelen, spoofed; /* spoofed is 0 or 1 */ + int loginnamelen, spoofed; /* spoofed is 0 or 1 */ int cwdlen, overridelen; uid_t callinguid; int ngids, nreadfds, nwritefds, nargs, nvars; /* Followed by: * serviceuserlen bytes for the service user (unterminated) * servicelen bytes for the service (unterminated) - * lognamelen bytes for the login name (unterminated) + * loginnamelen bytes for the login name (unterminated) * cwdlen bytes for the cwd (unterminated) * overridelen bytes for the override data (with extra \n but unterminated), * or nothing if overridelen==-1