diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-27 21:09:51 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-27 21:09:51 +0000 |
commit | 042b7f24c2af6deabeddd6a31b5fada277b046ff (patch) | |
tree | 6075b2a155117facd1b842cd13d779eab77c01c2 /sandbox | |
parent | f2d7d646f95a01bac784758e7f7f483e4c04b6c1 (diff) | |
download | chromium_src-042b7f24c2af6deabeddd6a31b5fada277b046ff.zip chromium_src-042b7f24c2af6deabeddd6a31b5fada277b046ff.tar.gz chromium_src-042b7f24c2af6deabeddd6a31b5fada277b046ff.tar.bz2 |
Add HANDLE_EINTR in some places missing it.
This implements agl's comments on https://codereview.chromium.org/191673003/
R=agl@chromium.org
TBR=agl
Review URL: https://codereview.chromium.org/203213005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/linux/services/yama.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/services/yama.cc b/sandbox/linux/services/yama.cc index 773f670..49e1b36 100644 --- a/sandbox/linux/services/yama.cc +++ b/sandbox/linux/services/yama.cc @@ -79,7 +79,7 @@ int Yama::GetStatus() { static const char kPtraceScopePath[] = "/proc/sys/kernel/yama/ptrace_scope"; - base::ScopedFD yama_scope(open(kPtraceScopePath, O_RDONLY)); + base::ScopedFD yama_scope(HANDLE_EINTR(open(kPtraceScopePath, O_RDONLY))); if (!yama_scope.is_valid()) { const int open_errno = errno; |