[VDPAU] [PATCH] Detect libflashplayer through /proc/self/maps
jer at gentoo.org
Wed Nov 20 07:33:45 PST 2013
On Tue, 19 Nov 2013 15:41:11 -0800
Aaron Plattner <aplattner at nvidia.com> wrote:
> On 11/12/13 15:44, Jeroen Roovers wrote:
> > Parsing /proc/self/cmdline does not always detect libflashplayer
> > since not every browser includes that string. /proc/self/maps will
> > always map the library we are looking for, so we use that instead.
> Thanks for the patch, Jeroen.
> Which browser, specifically, does this patch fix? All I can glean
> from the discussion above is that this doesn't break Firefox.
I previously tried with any Linux-supported web browser that I could
find. However, the patch was based on a Gentoo bug report about the
Opera web browser.
Seamonkey names libflashplayer in argv:
-greomni /usr/lib64/seamonkey/omni.ja -appdir /usr/lib64/seamonkey
As does Firefox:
-greomni /opt/firefox/omni.ja -appomni /opt/firefox/browser/omni.ja
-appdir /opt/firefox/browser 10479 true plugin
Whilst Opera (probably) does some IPC here after forking:
2,0.1.2201799,51,85,91 -logfolder /home/jeroen/.opera/logs/ -type native
I'll test some more with WebKitGTK+/qtwebkit based browsers. Are there
any others I should be thinking of?
More information about the VDPAU