From owner-freebsd-bugs Thu Dec 13 9:50:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E9BC37B417 for ; Thu, 13 Dec 2001 09:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBDHo1e31420; Thu, 13 Dec 2001 09:50:01 -0800 (PST) (envelope-from gnats) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 6DF9537B405 for ; Thu, 13 Dec 2001 09:40:06 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.de with smtp id 16EXyc-0005nU-0P; Thu, 13 Dec 2001 16:40:50 +0100 Received: from theater.dyndns.org (320068889749-0001@[80.133.141.78]) by fmrl02.sul.t-online.com with esmtp id 16EXyU-13GMfgC; Thu, 13 Dec 2001 16:40:42 +0100 Received: (from vs@localhost) by theater.dyndns.org (8.11.6/8.11.4) id fBDFehT06675; Thu, 13 Dec 2001 16:40:44 +0100 (CET) (envelope-from vs) Message-Id: <200112131540.fBDFehT06675@theater.dyndns.org> Date: Thu, 13 Dec 2001 16:40:44 +0100 (CET) From: Volker Stolz To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/32808: [PATCH] tcpd.h lacks prototype for hosts_ctl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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