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

Issue 561069: Make minijail respect the groups of the uid provided on the command line. (Closed)

Created:
10 years, 10 months ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
Will Drewry
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Make minijail respect the groups of the uid provided on the command line.

Patch Set 1 #

Total comments: 2

Patch Set 2 : add !entry check, allow unknown UID' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M src/platform/minijail/env.cc View 1 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Chris Masone
10 years, 10 months ago (2010-02-04 06:23:09 UTC) #1
Will Drewry
Needs at least a entry != NULL check but otherwise it looks good. http://codereview.chromium.org/561069/diff/1/2 File ...
10 years, 10 months ago (2010-02-04 15:16:43 UTC) #2
Chris Masone
http://codereview.chromium.org/561069/diff/1/2 File src/platform/minijail/env.cc (right): http://codereview.chromium.org/561069/diff/1/2#newcode86 src/platform/minijail/env.cc:86: struct passwd* entry = getpwuid(uid); On 2010/02/04 15:16:44, Will ...
10 years, 10 months ago (2010-02-04 16:40:58 UTC) #3
Will Drewry
10 years, 10 months ago (2010-02-04 17:32:52 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698