pidfd API is there for many years since Linux kernel v5.3 (https://github.com/torvalds/linux/commit/32fcb426ec001cb6d5a4a195091a8486ea77e2df).