[Bug 60202] New: Implement NtQueryInformationProcess(ProcessSequenceNumber)
http://bugs.winehq.org/show_bug.cgi?id=60202 Bug ID: 60202 Summary: Implement NtQueryInformationProcess(ProcessSequenceNumber) Product: Wine Version: 11.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: me@purplesyringa.moe Target Milestone: --- Distribution: --- A process sequence number is a unique-per-boot monotonic ID not suffering from the issue of PID reuse. It's used by ProcessHacker [1], there is discussion about using it in Python psutil [2], and it's the only way to correctly handle PID use in presence of NTP adjustment [3]. There are two ways to obtain the sequence number: - NtQueryInformationProcess with ProcessSequenceNumber, which outputs a single 64-bit value. - NtQueryInformationProcess with ProcessTelemetryIdInformation, which outputs a structure containing it as one of the fields. The first approach is more recent, but looks smaller in scope, easier to implement, and immediately useful, so I'm only requesting it in this bug. [1]: https://github.com/winsiderss/systeminformer/issues/425#issuecomment-5001681... [2]: https://github.com/giampaolo/psutil/issues/2702 [3]: https://community.osr.com/t/parent-process-information-error/50703/2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60202 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |https://github.com/winsider | |ss/systeminformer/issues/42 | |5#issuecomment-500168121 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla