Completing the pidfd API
Completing the pidfd API
Posted Jun 15, 2023 1:42 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)In reply to: Completing the pidfd API by jredfox_
Parent article: Completing the pidfd API
Version 1 and 2 UUIDs include system time, so they can't collide unless the kernel is compromised.
But more practically, your system with time-based IDs is just ugly, just like UUIDs.
And pidreserve() won't help against targeted wraparound attacks.