From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D0CB93858C83; Sat, 26 Feb 2022 16:21:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0CB93858C83 From: "dannf at dannf dot org" To: systemtap@sourceware.org Subject: [Bug uprobes/28923] dtrace predictable temp file causes race Date: Sat, 26 Feb 2022 16:21:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: uprobes X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dannf at dannf dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap 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 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2022 16:21:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28923 --- Comment #5 from dann frazier --- A hash of the contents - at least alone - would have the original problem I think. In the libvirt case (and in my simple reproducer), the problem is th= at we have 2 racing processes that are building the same target from the same source in the same directory. So a hash of the contents of each would be the same and still collide. We could add the contents into the hash *in addition to* the filenames, but I don't think that would improve uniqueness. --=20 You are receiving this mail because: You are the assignee for the bug.=