From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.olznet.de (mail.olznet.de [78.46.95.167]) by sourceware.org (Postfix) with ESMTPS id 9D4F13858439 for ; Tue, 12 Sep 2023 15:34:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9D4F13858439 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=olznet.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=olznet.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.olznet.de (Postfix) with ESMTP id 6AB8B8066D; Tue, 12 Sep 2023 17:34:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at olznet.de Received: from mail.olznet.de ([127.0.0.1]) by localhost (mail.olznet.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hluuGRIMLEdI; Tue, 12 Sep 2023 17:34:54 +0200 (CEST) Received: from boink (localhost.localdomain [127.0.0.1]) by mail.olznet.de (Postfix) with ESMTP id 2D9F980096; Tue, 12 Sep 2023 17:34:54 +0200 (CEST) Received: by boink (kopano-spooler) with MAPI; Tue, 12 Sep 2023 17:34:54 +0200 Subject: Re: Idea / Patch to add very simple uid filtering to resolv.conf From: "mfulz" To: "Florian Weimer" Cc: =?us-ascii?Q?libc-help=40sourceware=2Eorg?= Date: Tue, 12 Sep 2023 15:34:54 +0000 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_uk80qu5PSZPyWLRYmET6rF3XuNOWjZsHB8B1zIL-mrrvqKFr" X-Mailer: Kopano 11.0.2 Message-Id: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a multi-part message in MIME format. Your mail reader does not understand MIME message format. --=_uk80qu5PSZPyWLRYmET6rF3XuNOWjZsHB8B1zIL-mrrvqKFr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It's complexity we'd have to maintain. Valid point and if there is no use for anyone totally ok. But the point for a service is that I'd basically have to keep a fork of li= bresolv and nss_dns up2date for this change which is much more work. That's the reason why I was asking, perhaps some others would see some need= for it. It also breaks in case processes switch to some other for increased isolation (perhaps with user namespaces). Therefore I wanted to keep the legacy behavior untouched. If there is no need to use uid filters just dig with the used config withou= t any changes. I recommend the separate service module approach. If I have to do it that way sure. Perhaps someone can give me some hints if there is a easier way to go for i= t instead of cloning the whole nss_dns including libresolv? --=_uk80qu5PSZPyWLRYmET6rF3XuNOWjZsHB8B1zIL-mrrvqKFr--