public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/delve] f43: Add yama-ptrace-enable Recommends for F45+
Date: Fri, 26 Jun 2026 08:08:10 GMT [thread overview]
Message-ID: <178246129032.1.2115719335929526098.rpms-delve-cdaa4ef9a026@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/delve
Branch : f43
Commit : cdaa4ef9a02619c7dd1c507d638e4b3b806b6b8e
Author : Alejandro Sáez <asm@redhat.com>
Date : 2026-05-19T09:14:07+02:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/delve/c/cdaa4ef9a02619c7dd1c507d638e4b3b806b6b8e?branch=f43
Log:
Add yama-ptrace-enable Recommends for F45+
Delve requires ptrace access to debug processes. Starting with F45,
yama ptrace restrictions are enabled by default (ptrace_scope=1).
Adding yama-ptrace-enable as a Recommends allows delve to function
without manual sysctl configuration, while letting hardened
environments opt out.
Resolves: rhbz#2461719
---
diff --git a/delve.spec b/delve.spec
index 5f490b1..9214ff0 100644
--- a/delve.spec
+++ b/delve.spec
@@ -38,6 +38,13 @@ BuildRequires: go-vendor-tools
BuildRequires: lsof
BuildRequires: git
+# Delve needs ptrace access to debug processes. On F45+, yama ptrace restrictions
+# are enabled by default (ptrace_scope=1). This package relaxes them for debugging.
+# rhbz#2461719
+%if 0%{?fedora} >= 45
+Recommends: yama-ptrace-enable
+%endif
+
%description
%{common_description}
reply other threads:[~2026-06-26 8:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178246129032.1.2115719335929526098.rpms-delve-cdaa4ef9a026@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox