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

Issue 3965001: AU: Restrict URL/version change over D-Bus to non-official builds only. (Closed)

Created:
10 years, 2 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
adlr
CC:
chromium-os-reviews_chromium.org, adlr
Visibility:
Public.

Description

AU: Restrict URL/version change over D-Bus to non-official builds only. BUG=7159 TEST=unit tests, test on device Change-Id: I7dd6293d3e61db123b2be2f1e3ee283fcb5ba968 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=a07586b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -13 lines) Patch
M dbus_service.cc View 2 chunks +17 lines, -3 lines 0 comments Download
M utils.h View 1 chunk +1 line, -4 lines 0 comments Download
M utils.cc View 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
petkov
This tightens security a bit. We can add support for dev mode, if necessary, in ...
10 years, 2 months ago (2010-10-20 19:55:32 UTC) #1
adlr
Can't we detect the dev switch by looking in a file and knowing some magic ...
10 years, 2 months ago (2010-10-20 20:02:14 UTC) #2
petkov
This is what wad's bootmode binary is doing or supposed to do. Ultimately, it might ...
10 years, 2 months ago (2010-10-20 20:06:18 UTC) #3
adlr
LGTM I'm just worried about how we will test updates. I guess we can do ...
10 years, 2 months ago (2010-10-20 20:23:00 UTC) #4
petkov
10 years, 2 months ago (2010-10-20 20:24:15 UTC) #5
On 2010/10/20 20:23:00, adlr wrote:
> LGTM
> 
> I'm just worried about how we will test updates. I guess we can do that by
> modifying /mnt/stateful_partition/etc/lsb-release, so when we plug that hole
> we'll need a workaround.

That's right -- I believe the tracker issue regarding
/mnt/stateful.../lsb-release says that we need to enable it only in dev mode.
It's good to have as few possible doors as possible.

> 
> On Wed, Oct 20, 2010 at 1:06 PM, <mailto:petkov@chromium.org> wrote:
> 
> > This is what wad's bootmode binary is doing or supposed to do. Ultimately,
> > it
> > might be nice for it to provide a library.
> >
> > However, I don't think we need to open the URL/version change over D-Bus in
> > dev-mode any way.
> >
> >
> >
> > http://codereview.chromium.org/3965001/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698