Date: Thu, 13 Dec 2001 16:40:44 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/32808: [PATCH] tcpd.h lacks prototype for hosts_ctl Message-ID: <200112131540.fBDFehT06675@theater.dyndns.org>
index | next in thread | raw e-mail
>Number: 32808
>Category: bin
>Synopsis: [PATCH] tcpd.h lacks prototype for hosts_ctl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 13 09:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 4.4-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD erde.ikea.net 4.4-STABLE FreeBSD 4.4-STABLE #6: Sat Oct 13 11:05:01 CEST 2001 root@monster.ikea.net:/opt/obj/opt/src/sys/GATE i386
>Description:
hosts_access(3) offers hosts_ctl for checking tcpd access restrictions.
The corresponding prototype in <tcpd.h> is missing, though.
>How-To-Repeat:
Compile an application which uses hosts_ctl -> warning about missing
prototype.
>Fix:
Add
extern int hosts_ctl(char *daemon, char *client_name, char *client_addr,
char *client_user);
or
extern int hosts_ctl();
to tcpd.h. If you go for the first version, it might be worth updating
the prototypes of the other functions as well. I could do this and
provide an entire patch if requested.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112131540.fBDFehT06675>
