Hi Pavel, >> That's good in order to make the behavior consistent again and prevents >> potential random security problems. > > BTW, there also can be problems with registered resources. E.g. for > buffers io_uring can get_user_pages() of one process, and then use the > pages from another process by passing a buffer index. This is not as > bad, however. Yes, but that can only happen by intention, right? And not randomly depending on the cache state. If the application has confidential data in the registered buffers, files then it should not share the ring fd with untrusted processes. metze