From owner-freebsd-arch@freebsd.org Sun Dec 27 14:09:35 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 920F54BC445 for ; Sun, 27 Dec 2020 14:09:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D3jH33kDGz4fyy; Sun, 27 Dec 2020 14:09:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 58FB53666; Sun, 27 Dec 2020 14:09:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 13A1E4D133; Sun, 27 Dec 2020 15:09:34 +0100 (CET) From: "Kristof Provost" To: "Baptiste Daroussin" Cc: freebsd-arch@freebsd.org Subject: Re: libifconfig non-private in 13? Date: Sun, 27 Dec 2020 15:09:33 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: <20201226211810.g4ll4ow23fitmxdo@ivaldir.net> References: <1EB6D7ED-F370-42EA-AC66-93D8BC96F29C@FreeBSD.org> <20201226211810.g4ll4ow23fitmxdo@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2020 14:09:35 -0000 On 26 Dec 2020, at 22:18, Baptiste Daroussin wrote: > On Mon, Dec 21, 2020 at 09:02:00PM +0100, Kristof Provost wrote: >> Hi, >> >> Libifconfig was marked as private (and experimental) back in 2016. >> It’s since made some strides and has grown a few users. Ifconfig >> now depends >> on it as well. >> >> While it’s far from finished it’d be more useful for some users >> if it were >> public. That would at least imply some level of API/ABI stability, >> which is >> why I’m bringing it up here before pulling the trigger. >> >> Does anyone see any reasons to not do this? >> > > I would go the otherway around, any reason to make it public yet? if > yes they go > ahead, if no keep it private ;) > Well, I did ask because there’s at least one potential user asking for it. Best regards, Kristof From owner-freebsd-arch@freebsd.org Sun Dec 27 14:15:25 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AD534BC6E1 for ; Sun, 27 Dec 2020 14:15:25 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D3jPn27grz4gtL; Sun, 27 Dec 2020 14:15:25 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 229A23ABC; Sun, 27 Dec 2020 14:15:25 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id C4A284CFA0; Sun, 27 Dec 2020 15:15:23 +0100 (CET) From: "Kristof Provost" To: "Li-Wen Hsu" Cc: "Baptiste Daroussin" , freebsd-arch@freebsd.org, freqlabs@FreeBSD.org Subject: Re: libifconfig non-private in 13? Date: Sun, 27 Dec 2020 15:15:22 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: References: <1EB6D7ED-F370-42EA-AC66-93D8BC96F29C@FreeBSD.org> <20201226211810.g4ll4ow23fitmxdo@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2020 14:15:25 -0000 On 26 Dec 2020, at 22:33, Li-Wen Hsu wrote: > On Sun, Dec 27, 2020 at 5:18 AM Baptiste Daroussin > wrote: >> >> On Mon, Dec 21, 2020 at 09:02:00PM +0100, Kristof Provost wrote: >>> Hi, >>> >>> Libifconfig was marked as private (and experimental) back in 2016. >>> It’s since made some strides and has grown a few users. Ifconfig >>> now depends >>> on it as well. >>> >>> While it’s far from finished it’d be more useful for some users >>> if it were >>> public. That would at least imply some level of API/ABI stability, >>> which is >>> why I’m bringing it up here before pulling the trigger. >>> >>> Does anyone see any reasons to not do this? >>> >> >> I would go the otherway around, any reason to make it public yet? if >> yes they go >> ahead, if no keep it private ;) > > I would say it is nice to have some scripting language bindings to it, > although I'm not sure if this is possible and a feasible usage. > I’m sure it’s possible. Ryan actually done some of that work: https://reviews.freebsd.org/D25447 Maybe we should merge that too. Best regards, Kristof