[Webkit-unassigned] [Bug 53558] Make WebProcess pass explicit homedir parameter to the sandbox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 17:34:46 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53558


Mark Rowe (bdash) <mrowe at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80859|review+                     |review?
               Flag|                            |




--- Comment #3 from Mark Rowe (bdash) <mrowe at apple.com>  2011-02-01 17:34:46 PST ---
(From update of attachment 80859)
View in context: https://bugs.webkit.org/attachment.cgi?id=80859&action=review

> Source/WebKit2/WebProcess/mac/WebProcessMac.mm:130
> +    if (!realpath(getenv("HOME"), homeRealPath)) {

Why are we relying on the HOME environment variable rather than using NSHomeDirectory or lower level calls to retrieve the user’s home directory?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list