From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 545853858D3C for ; Tue, 12 Sep 2023 14:50:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 545853858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694530206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T2ZY38qZYJH5mU+nf0N9wQOqlGy05WkEAnT7tG6W/uM=; b=c6hxq1y9EuuLiyj/avnKg/hOkQ3JdP/s+kVIh1YnbiQXXVNJndfUjdA1S72IJcsQroligV 3CsB5Nub9evAIVzVk5BLZQTEMXlhWX9nelKqJu7YweY3VTZjiMAR7Y2ExurFLQ4YrZu3E2 bdycof5qZWz4MSGYRKs5J54sbv8ZhUQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-52-DscMrPPiPsWg8hS350zxOw-1; Tue, 12 Sep 2023 10:50:04 -0400 X-MC-Unique: DscMrPPiPsWg8hS350zxOw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 11E5829AB435; Tue, 12 Sep 2023 14:50:04 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 795B72026D4B; Tue, 12 Sep 2023 14:50:03 +0000 (UTC) From: Florian Weimer To: Matthias Fulz Cc: libc-help@sourceware.org Subject: Re: Idea / Patch to add very simple uid filtering to resolv.conf References: <2a1c4925-7ad4-4673-9954-72d556d0b8f1@olznet.de> Date: Tue, 12 Sep 2023 16:50:02 +0200 In-Reply-To: <2a1c4925-7ad4-4673-9954-72d556d0b8f1@olznet.de> (Matthias Fulz's message of "Tue, 12 Sep 2023 14:25:16 +0200") Message-ID: <87r0n35tut.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP 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: * Matthias Fulz: > Further if the uid is not added to the line the behavior would be the > same as it was before the patch. > Would be nice if this could be included, or at least please explain > why not for my understanding as I can't see any reason that would be > against it It's complexity we'd have to maintain. It also breaks in case processes switch to some other for increased isolation (perhaps with user namespaces). I recommend the separate service module approach. Thanks, Florian