From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C21903858C62; Thu, 1 Feb 2024 17:40:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C21903858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706809212; bh=hV2bspqc+SJnoUq9X1BYErBkCl+pPdDG/CZQHysHh4k=; h=From:To:Subject:Date:From; b=u5gI8Vi0WgkQ7k3QtHIm9M6ecEt1VrHGY2nftdmmg6j2GXZbTeaplwKuCLGdLiI2P npr3fXcX68KsWYFJ1FV9+KRcAfnHWbgTryGxLZF8rKeDPoUFDL0Fxt8gLzE9cF5zI7 bvP78rfpMXW9J75w6iIGlTciJyUMxHpiG4rJ9Pd8= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/31325] New: mips: clone3 is wrong for o32 Date: Thu, 01 Feb 2024 17:40:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D31325 Bug ID: 31325 Summary: mips: clone3 is wrong for o32 Product: glibc Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: adhemerval.zanella at linaro dot org CC: drepper.fsp at gmail dot com Target Milestone: --- The mips clone3 (sysdeps/unix/sysv/linux/mips/clone3.S) does not take in consideration that the cprestore might generate the gp save on the stack (so clone3 must allocate some space before issuing the syscall) and $8 is not guarantee by the kABI to be preserved after the syscall. --=20 You are receiving this mail because: You are on the CC list for the bug.=