On Tue, Jun 20, 2023 at 06:47:31PM +0500, stsp wrote:Hmm, interesting case.
20.06.2023 18:46, Matthew Wilcox пишет:You snipped the part where I pointed out that at times there can be
On Tue, Jun 20, 2023 at 06:39:07PM +0500, stsp wrote:Won't I get the recipient's pid in an
Though it will, for sure, represent theNo, it *DOESN'T*. I can open a file, SCM_RIGHTS pass it to another task
task that _owns_ the lock.
and then exit. Now the only owner of that lock is the recipient ...
l_pid then?
_no_ task that owns it. open a fd, set the lock, pass the fd to another
task, exit. until that task calls recvmsg(), no task owns it.