From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0EC8A3858283; Thu, 21 Mar 2024 14:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EC8A3858283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711031612; bh=IT3YB6scmvJWtCCR2zzl+SC+x8qlVv0lPbWH7ciwwrY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JdWY9WeuPin0EbPYDmB06JyxQGzy+IcoECL/VuiJr4d1NZuVOj9PqTericKgOQ8t9 x0Ve1TYG/dmBExeqkO+s7CtRz0GT8c3ExyqLaWQrKxfEzkrCc81BehTwMCB2lfJvUP Iyw+WF9+40ROIDO15DdjHoh6j5M+xF+Lcgwh2WN0= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug external/31520] [gdb/external] Handle kernel.yama.ptrace_scope != 0 Date: Thu, 21 Mar 2024 14:33:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: external X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31520 --- Comment #2 from Tom de Vries --- Running: ... $ ./sudo-allow-ptrace.sh ./scripts/test.sh ... revealed some issues. 1. Core tests fail, ulimit -c dropped from unlimited (normally set in ~$USER/.bashrc) to 0: ... (gdb) shell ulimit -Sc 0 (gdb) shell ulimit -Hc 0 ... 2. $HOME is set to /root, so we run into: ... (gdb) shell cd bash: line 0: cd: /root: Permission denied ... in gdb.base/default.exp and gdb.base/set-cwd.exp. Some gdb.guile/*.exp tes= ts fails may be caused by the same problem. 3. An attach-specific failure: ... (gdb) attach 27466^M Attaching to process 27466^M No executable file now.^M warning: Could not load vsyscall page because no executable was specified^M 0x00007f18b597f0ca in ?? ()^M (gdb) FAIL: gdb.base/attach-deleted-exec.exp: attach to process with deleted executable ... --=20 You are receiving this mail because: You are on the CC list for the bug.=