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

Issue 9176013: [ChromeOS] Add option to set controlling terminal when launching process. (Closed)

Created:
8 years, 11 months ago by tbarzic
Modified:
8 years, 11 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

[ChromeOS] Add option to set controlling terminal when launching process. This is needed to expose crosh process to hterm (if pseudo terminal used for communication between terminalPrivateApi and crosh process is not controlling, job control in the crosh process won't work, and it won't be able to e.g. process signals). TEST=None BUG=chromium-os:23273 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118585

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M base/process_util.h View 2 chunks +9 lines, -0 lines 0 comments Download
M base/process_util_posix.cc View 1 3 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
tbarzic
Hi Evan, Could you, please, take a look at this :) Thanks, Toni
8 years, 11 months ago (2012-01-20 18:06:35 UTC) #1
Evan Martin
LGTM with some suggestions I'm not familiar with how controlling terminals work, so I'll take ...
8 years, 11 months ago (2012-01-20 19:03:03 UTC) #2
tbarzic
Thanks for suggestions :) https://chromiumcodereview.appspot.com/9176013/diff/1/base/process_util_posix.cc File base/process_util_posix.cc (right): https://chromiumcodereview.appspot.com/9176013/diff/1/base/process_util_posix.cc#newcode685 base/process_util_posix.cc:685: if (options.ctrl_terminal_fd >=0) { On ...
8 years, 11 months ago (2012-01-20 20:42:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/9176013/6002
8 years, 11 months ago (2012-01-20 21:48:30 UTC) #4
commit-bot: I haz the power
8 years, 11 months ago (2012-01-21 01:01:42 UTC) #5
Try job failure for 9176013-6002 (retry) on win_rel for step "base_unittests".
It's a second try, previously, step "base_unittests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698