Bug 77682

Summary: [Mac WK2] Use a minimally invasive way to fake plug-in process name
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Plug-insAssignee: Alexey Proskuryakov <ap>
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
proposed patch
with a better ChangeLog none

Description Alexey Proskuryakov 2012-02-02 13:50:06 PST
We've been using setprogname to fix bug 51074, but that also changes KERN_PROCNAME, which may not be allowed in some environments.

There is an easier way to change return value of getprogname.
Comment 1 Alexey Proskuryakov 2012-02-02 13:53:50 PST
Created attachment 125182 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2012-02-02 13:55:15 PST
Created attachment 125185 [details]
with a better ChangeLog
Comment 3 WebKit Review Bot 2012-02-02 13:56:00 PST
Attachment 125182 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1

Source/WebKit2/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 3 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Darin Adler 2012-02-03 14:23:27 PST
Comment on attachment 125185 [details]
with a better ChangeLog

Comment 5 WebKit Review Bot 2012-02-03 15:48:10 PST
Comment on attachment 125185 [details]
with a better ChangeLog

Clearing flags on attachment: 125185

Committed r106701: <http://trac.webkit.org/changeset/106701>
Comment 6 WebKit Review Bot 2012-02-03 15:48:19 PST
All reviewed patches have been landed.  Closing bug.