Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 6280009: Adjust Unix domain IPC permissions. (Closed)

Created:
9 years, 11 months ago by dtu
Modified:
9 years, 7 months ago
Reviewers:
dmac, Nirnimesh
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Adjust unix domain IPC permissions. BUG=chromium-os:7473 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72007

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add error checking. #

Patch Set 3 : Change from fchmod() to chmod(), hopefully this will fix mac. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M ipc/ipc_channel_posix.cc View 1 2 2 chunks +10 lines, -2 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
dtu
+dmaclach for review
9 years, 11 months ago (2011-01-19 23:51:39 UTC) #1
dmac
http://codereview.chromium.org/6280009/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): http://codereview.chromium.org/6280009/diff/1/ipc/ipc_channel_posix.cc#newcode170 ipc/ipc_channel_posix.cc:170: // Make sure the path we need exists. thanks ...
9 years, 11 months ago (2011-01-19 23:54:37 UTC) #2
dtu
http://codereview.chromium.org/6280009/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): http://codereview.chromium.org/6280009/diff/1/ipc/ipc_channel_posix.cc#newcode197 ipc/ipc_channel_posix.cc:197: fchmod(fd, 0600); On 2011/01/19 23:54:37, dmac wrote: > can ...
9 years, 11 months ago (2011-01-19 23:59:18 UTC) #3
dmac
LGTM
9 years, 11 months ago (2011-01-20 00:08:58 UTC) #4
Nirnimesh
9 years, 11 months ago (2011-01-21 02:41:55 UTC) #5
http://codereview.chromium.org/6280009/diff/9001/ipc/ipc_channel_posix.cc
File ipc/ipc_channel_posix.cc (right):

http://codereview.chromium.org/6280009/diff/9001/ipc/ipc_channel_posix.cc#new...
ipc/ipc_channel_posix.cc:198: PLOG(ERROR) << "fchmod " << pipe_name;
s/fchmod/chmod/

Powered by Google App Engine
This is Rietveld 408576698