From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5D96C1F4CC for ; Tue, 24 Dec 2024 13:24:59 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=m4UuJywQ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=SD9fHZS5; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1735046696; bh=yX0KU7epGPH0GkgvIBFMT0j9eDUEkc2E/VkjkbWQjkk=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=m4UuJywQPhiwtYaVyiRFRnZRdTjIooL941BFk27jiNQpzY8PnZrZYJtZyZXzd0R2z qRwfMejMLjkpFaf2z7wTo8ZqMRjlZSWVWi+VcI1CakOmQBbC7xV7cxa1PcWqMOJeXm sgtfDHvJF4awO5kfhN5uETxXsJBZHEoL4nfLW7nA= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 81EA245F64 for ; Tue, 24 Dec 2024 13:24:56 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=SD9fHZS5; dkim-atps=neutral Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 523F045F3E for ; Tue, 24 Dec 2024 13:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=Zrclly3bBFfrsKcFNTrcPf8lwFiHBA+yBjxw9P/v+nM=; b=SD9fHZS5ZxydYwFMJasam2c2mdGQctXf5VKpXFublAaHYVixfA/Ygi90KdtNP/XY1Uyf vSQNG2QbRbJOdGOFzvQIbdudjA2QU/UdexVpwaG0KSb9sZhzD4JmLPvDDBeCdJY0fr9hOP WCwc71R8RODexW18WiCShf1+tKpDWhyDd2CeFtRyi9JnooS2xVB7eooqyEWD+tH1J4zfcI /V6ePRoQd5K6HyYOyXy1iMm2PzIwczIwHHC8Jt0gFzU4FmEb3WH/U4DW+gjWCqb4KuaD3L Sj+evY6WH0wnkF4iSStrigTeryRGEuKk9xCEe2c/yWcA5ujtx2CVixYi+K7p4zkw== Received: by recvd-84b546689d-dxs8d with SMTP id recvd-84b546689d-dxs8d-1-676AB61F-D 2024-12-24 13:24:47.855071517 +0000 UTC m=+3427357.252717473 Received: from herokuapp.com (unknown) by geopod-ismtpd-35 (SG) with ESMTP id KaDCaZhFRHyPDnzbBfUqcQ for ; Tue, 24 Dec 2024 13:24:47.784 +0000 (UTC) Date: Tue, 24 Dec 2024 13:24:47 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20971 X-Redmine-Issue-Author: Earlopain X-Redmine-Issue-Assignee: matz X-Redmine-Issue-Priority: Normal X-Redmine-Sender: Eregon X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 97071 X-SG-EID: =?us-ascii?Q?u001=2EByjZWvxTCjdoV8K03xEuhE7KqN4thWULFLM7+oH78KY30oYB3qFthsDpL?= =?us-ascii?Q?4w4cbYa3ttBh8bAHPOnE=2FkzPba67JNu7Lnrked2?= =?us-ascii?Q?O7K9VQ=2FJax3uZYyhT1Xu3FLsD4nzKsxrqdbKo8n?= =?us-ascii?Q?wNdtmKogYbAYvFrwb9tGqF2hUT9cmPlfacWiptC?= =?us-ascii?Q?9ybiUt2EHTu0pM3peMp9Ae6i847Ohi8utk+3VNF?= =?us-ascii?Q?ruUK3verZ5+EHsu4YiSgiAoiz68NYn+XRLOdVo5?= =?us-ascii?Q?w5SlAYBKMTe3XM6hiG+=2FKq=2FJVA=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: XV6NJJCU5OF3UZCC24QWTJOJVWE56HKF X-Message-ID-Hash: XV6NJJCU5OF3UZCC24QWTJOJVWE56HKF X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:120394] [Ruby master Feature#20971] Deprecate `rb_path_check` List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "Eregon (Benoit Daloze) via ruby-core" Cc: "Eregon (Benoit Daloze)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20971 has been updated by Eregon (Benoit Daloze). That warning is pretty annoying in e.g. single-user Docker images where permissions might be 777 for convenience yet without real danger. See https://github.com/actions/virtual-environments/issues/267 for a real issue caused by the warning, worked around with https://github.com/ruby/ruby-builder/blob/master/.github/workflows/build.yml#L96 ---------------------------------------- Feature #20971: Deprecate `rb_path_check` https://bugs.ruby-lang.org/issues/20971#change-111175 * Author: Earlopain (Earlopain _) * Status: Assigned * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- With #16131, various code around $SAFE, taint, etc. has been deprecated and removed. GH PR https://github.com/ruby/ruby/pull/2476. Now, [`rb_path_check`] still exists as part of the public API, with Ruby itself never using or testing it. I believe it should have been deprecated and was simply missed. Should it be deprecated today or is that not worth the effort? Docs for it are pretty vague: https://github.com/ruby/ruby/blob/33f95d632dce42fac35da29eaed33f0a5a4f0dcb/include/ruby/internal/intern/hash.h#L289-L297 > This function is mysterious. What it does is not immediately obvious. Also what it does seems platform dependent. [`rb_path_check`]: https://github.com/ruby/ruby/blob/33f95d632dce42fac35da29eaed33f0a5a4f0dcb/file.c#L6427 -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/