From nobody Thu Oct 31 13:37:27 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XfQ5t4XJ2z5bjDB for ; Thu, 31 Oct 2024 13:37:22 +0000 (UTC) (envelope-from vini.ipsmaker@gmail.com) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfQ5t1drwz4qyp; Thu, 31 Oct 2024 13:37:22 +0000 (UTC) (envelope-from vini.ipsmaker@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-539fe76e802so1214395e87.1; Thu, 31 Oct 2024 06:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730381839; x=1730986639; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EJAcPRcXZZvXeco/JGOXVlujhVre7WHP9HuHJ7eLCA8=; b=YvvIezZGpHLsw5/Un1Or58sKwrinCO98btws5FBeK0RpM4bi4c0cdBT7xEOudZRXtI E5qQBQYk1SEyqe8HyVIoRDFMOHvbfi2WWxPVgmdG5seI93lVNz5fhr3oHs6oNF1zygAj nYn3U4/ruhRVnogSq0RNSe6cun/XVBs4SvbrHoR7Is3e1usnrC8zQKDv6cNxMkKBBwUd 1WpP41lYLXS5lRe/2KfF6Tj+fV1ZPFF5lzIoGq/AphvXYTDaGLI6tnVAJqnSiJChrK3Y DUQr+NEGYBag/V6aB7HG0Vgqdv4UvOUBapdJH21CsYJtdL7P80fxDZDJucPoDXiFt/fi neLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730381839; x=1730986639; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EJAcPRcXZZvXeco/JGOXVlujhVre7WHP9HuHJ7eLCA8=; b=obb+hSL1rCitTQIRN3NJguIFhVarrNZe6PWI9eKDVtlehusU+yqLAZNlj4YtnK9bl1 d9brDJ/HcdcG+xFRw7Sf+3mJBQ2Nxz9Cc1+NRJOyTw5GAHuNr95jEZyf3Kkz9H65+tY8 Ajv6BngZf8VzC+R4aArRpSjEfg7XjcykzPiu15h4bn6KJfUet1BqejbBppu9Orv4rPZy IFd5gRm/X+hRdMKhqBKW/ILzo1fmMNvJvKPkVcwsOvpQieKntLJLnFnAZSE/zLvCwE9y jmhSe5Is38OykhCqF+2w3crvgQH/u09axWilvJX3u1F38/4cQ96EacR/8S+Dm0y3Gqob rxIw== X-Gm-Message-State: AOJu0YzMYsILlnM3fiMrEJfs9rUZ76bWeHaQEOVvKCEoZwCRcUzNkr9G MCGXY0I6PtKna0OTNCEl7ENl1+zaDW2cyKlkXvUK0QUZSkUPxntaNJrNRafCSXL09tNXxnfNdRE cTWLBw3EAlz2pfh//zsLlz8GJxqRJO964 X-Google-Smtp-Source: AGHT+IHA8vlPgs5CrIDOHSBpEldycKMyQ6p3bJ17CRGBhZ0f5IGliGDtNGyctbYAzZhkAOnTkYNDRqPy4TuvoennRV8= X-Received: by 2002:a05:6512:318c:b0:539:918c:5124 with SMTP id 2adb3069b0e04-53b348df188mr9731782e87.31.1730381839161; Thu, 31 Oct 2024 06:37:19 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Thu, 31 Oct 2024 10:37:27 -0300 Message-ID: Subject: Re: [rtld] fdlopen(), fdlputpath() and capsicum To: Konstantin Belousov Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4XfQ5t1drwz4qyp X-Spamd-Bar: ---- Em qui., 31 de out. de 2024 =C3=A0s 03:09, Konstantin Belousov escreveu: > Try this https://reviews.freebsd.org/D47351 Your approach would solve not only my problem, but problems like this as well: https://stackoverflow.com/questions/1178094/change-current-process= -environments-ld-library-path Unless someone else has an even better idea, I think we should go with your approach. --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/