Fix prctl ERROR messages on Linux debug builds.
In sandboxed processes, prctl(PR_SET_NAME) will fail with EPERM. Don't generate DLOGs for that case - just silently ignore failures like release builds do. This is just a debugging tool, working just in the browser process is good enough for now.
BUG=109124
TEST=
Review URL: http://codereview.chromium.org/9030023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116351 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: e42fb7c67ee8d7bbb7299a11bfb6289dcd6ed908
1 file changed