[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100514090903.GC8773@vicerveza.homeunix.net>
Date: Fri, 14 May 2010 11:09:05 +0200
From: Lluís Batlle i Rossell <viriketo@...il.com>
To: linux-kernel@...r.kernel.org
Subject: fds jumping between processes
Hello,
here is quite an open bug report... I could not reproduce this again, but it
involves the fds opened of a killed process being passed to another process, or
something like this.
I'm using vanilla 2.6.33.3 in x86_64.
I was using skype, talking through it using alsa, and trying the
'share desktop' feature, it died. Starting it again, it could not open the alsa
device. Using fuser:
...:/dev/snd]$ fuser *
controlC0: 32341
pcmC0D0p: 32341
timer: 32341
Which that was:
$ ps ax | grep 323
32341 ? S 0:01 /home/xxx/.nix-profile/bin/xpdf /tmp/xxx.pdf
So, after skype (using alsa) died, the xpdf process took the soundcard fds
skype had. It does not make much sense xpdf to use sound... so I guess something
worth looking happened.
I don't have more details. Killing xpdf made the new skype open the alsa device
properly.
Sorry for not having analised the situation better. Now I cannot reproduce it
anymore. Maybe this will make someone knowing say "ah, let me look if ...". I
just thought if this is a bug in the kernel, it can involve security problems.
Thank you,
Lluís.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists