public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/delve] f44: Add yama-ptrace-enable Recommends for F45+
@ 2026-06-26  8:08 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-26  8:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/delve
            Branch : f44
            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=f44

            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}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-26  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  8:08 [rpms/delve] f44: Add yama-ptrace-enable Recommends for F45+ 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox