io_uring, SCM_RIGHTS, and reference-count cycles
io_uring, SCM_RIGHTS, and reference-count cycles
Posted Feb 17, 2019 21:10 UTC (Sun) by rweikusat2 (subscriber, #117920)Parent article: io_uring, SCM_RIGHTS, and reference-count cycles
Some minor additions: A process doesn't need to "connect to itself" to create an SCM_RIGHTS loop. Using to unconnected AF_UNIX sockets should work, too. There's also a socketpair systemcall which creates a pair of connected AF_UNIX sockets.
