diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-06-04 11:43:29 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-06-04 11:43:29 +0000 |
commit | 650fe0907f39b13780c222ec3a8a9fc7cf299884 (patch) | |
tree | e2f129c0c50f79ecd1aeab228c579d201b9d8732 /usr.sbin/inetd/inetd.h | |
parent | 69da75afd39e60a5671d98dc70bda3bcbc30b73b (diff) | |
download | FreeBSD-src-650fe0907f39b13780c222ec3a8a9fc7cf299884.zip FreeBSD-src-650fe0907f39b13780c222ec3a8a9fc7cf299884.tar.gz |
This patch cleans up the ident stuff in inetd. The code which has
been patched so many times it was a bit of a mess. There are style,
code and man page cleanups. The following are the functional changes:
The RFC only permits the returning of 4 possible error
codes, make sure we only return these (PR 27636).
Use MAXLOGNAME to determine the longest usernames.
Add a -i flag, which returns the uid instead of the username
(this is from a PR 25787, which also contained alot of the
cleanups in this patch).
PR: 25787, 27636
Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no
Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green
MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/inetd/inetd.h')
-rw-r--r-- | usr.sbin/inetd/inetd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.h b/usr.sbin/inetd/inetd.h index c0c9e64..c11f4ad 100644 --- a/usr.sbin/inetd/inetd.h +++ b/usr.sbin/inetd/inetd.h @@ -122,7 +122,7 @@ void endconfig __P((void)); struct servtab *enter __P((struct servtab *)); void freeconfig __P((struct servtab *)); struct servtab *getconfigent __P((void)); -void iderror __P((int, int, int, int)); +void iderror __P((int, int, int, char *)); void ident_stream __P((int, struct servtab *)); void machtime_dg __P((int, struct servtab *)); void machtime_stream __P((int, struct servtab *)); |