From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22690 invoked by alias); 19 Aug 2019 17:04:16 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 22673 invoked by uid 89); 19 Aug 2019 17:04:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:CAPTJ0X, H*i:sk:CAPTJ0X X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Aug 2019 17:04:14 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CC21530917AC; Mon, 19 Aug 2019 17:04:13 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9836F5C226; Mon, 19 Aug 2019 17:04:13 +0000 (UTC) From: Sergio Durigan Junior To: Christian Biesinger Cc: Ruslan Kabatsayev , GDB Patches Subject: Re: [PATCH] Improve ptrace-error detection on Linux targets References: <20190819032918.3536-1-sergiodj@redhat.com> <87wof9nu65.fsf@redhat.com> Date: Mon, 19 Aug 2019 17:04:00 -0000 In-Reply-To: (Christian Biesinger's message of "Mon, 19 Aug 2019 11:30:11 -0500") Message-ID: <87wof9krxu.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00416.txt.bz2 On Monday, August 19 2019, Christian Biesinger wrote: > On Mon, Aug 19, 2019 at 8:47 AM Sergio Durigan Junior > wrote: >> I'm >> also concerned that it's unreasonable to expect users to have >> libselinux-devel (on Fedora) installed. > > I'm confused, why would users have to have the -dev version installed? > Can't you just dlopen("libselinux.so.1") and it'll work fine without > the -dev package? libselinux.so is present in the libselinux-devel package, but libselinux.so.1 is present in the libselinux package. We could dlopen it, sure. I don't know if libselinux is installed by default, though. -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/