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

Issue 2725713002: Use O_CLOEXEC when calling open() in rand_util_posix (Closed)

Created:
3 years, 9 months ago by Mark Mentovai
Modified:
3 years, 9 months ago
Reviewers:
scottmg
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use O_CLOEXEC when calling open() in rand_util_posix BUG=688362 Review-Url: https://codereview.chromium.org/2725713002 Cr-Commit-Position: refs/heads/master@{#453754} Committed: https://chromium.googlesource.com/chromium/src/+/4cec49482d07386181836bfd950a06445421471d

Patch Set 1 #

Patch Set 2 : No O_NOCTTY (so O_CTTY?)—some Linuces don’t have it?! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M base/rand_util_posix.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (16 generated)
Mark Mentovai
3 years, 9 months ago (2017-02-28 21:13:22 UTC) #4
scottmg
Looks like CrOS and Linux aren't happy about O_NOCTTY, but lgtm once they are.
3 years, 9 months ago (2017-02-28 21:58:00 UTC) #10
Mark Mentovai
Yeah, some Linuces seem to not define O_NOCTTY. Some oddball libc must omit it from ...
3 years, 9 months ago (2017-02-28 22:31:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2725713002/20001
3 years, 9 months ago (2017-02-28 22:32:54 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 23:56:39 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4cec49482d07386181836bfd950a...

Powered by Google App Engine
This is Rietveld 408576698