NetBSD Problem Report #52768

From mogget@macaran.eecs.harvard.edu  Tue Nov 28 11:33:47 2017
Return-Path: <mogget@macaran.eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4EF0A7A1B5
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 Nov 2017 11:33:47 +0000 (UTC)
Message-Id: <20171128113306.68CE36E28B@macaran.eecs.harvard.edu>
Date: Tue, 28 Nov 2017 06:33:06 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: inetd's conf parser
X-Send-Pr-Version: 3.95

>Number:         52768
>Category:       bin
>Synopsis:       inetd's conf parser
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 28 11:35:00 +0000 2017
>Last-Modified:  Thu Nov 30 14:35:01 +0000 2023
>Originator:     David A. Holland
>Release:        NetBSD 8.99.1 (20170809)
>Organization:
>Environment:
System: NetBSD macaran 8.99.1 NetBSD 8.99.1 (MACARAN) #42: Wed Aug 9 22:31:11 EDT 2017 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

inetd's config parser is a mess.

The immediate overt problem is that it doesn't recognize empty quoted
strings as words, but it really needs a ground-up rewrite.

>How-To-Repeat:

>Fix:

>Audit-Trail:
From: tlaronde@kergis.com
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/52768
Date: Thu, 30 Nov 2023 15:32:04 +0100

 The ground-up rewrite of inetd's config parser has be done---with
 extensions.

 See:

 https://github.com/tlaronde/netbsd-org/tree/tsjl

 commits:
 	- Mountd(8) was using ../inetd/ipsec.[hc]. But these were
 	- Modify inetd(8) to allow to use it as an unprivileged config syntax...
 changed for... 

 Note: mountd(8) modification is to add the ../inetd/ipsec.[hc] because
 these are rewritten in inetd/.
 -- 
         Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                      http://www.kergis.com/
                     http://kertex.kergis.com/
 Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.