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

Issue 569713004: Linux sandbox: Disallow get_robust_list and set_robust_list. (Closed)

Created:
6 years, 3 months ago by rickyz (no longer on Chrome)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Linux sandbox: Disallow get_robust_list and set_robust_list. These are only used for futexes that are shared between processes, which should not be happening in Chromium. BUG=413855 Committed: https://crrev.com/a75e8729dc917c0089a725e67fa2e9feaec0baef Cr-Commit-Position: refs/heads/master@{#294986}

Patch Set 1 #

Patch Set 2 : Make set_robust_list return EPERM. #

Total comments: 1

Patch Set 3 : Make it explicit that get_robust_list is not allowed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
rickyz (no longer on Chrome)
On 2014/09/15 22:36:32, rickyz wrote: > mailto:rickyz@chromium.org changed reviewers: > + mailto:jln@chromium.org Hey Mark, Julien ...
6 years, 3 months ago (2014-09-15 22:37:24 UTC) #2
Mark Seaborn
Nit: Fix "anywher" typo in commit message. LGTM if the trybots pass, which I expect ...
6 years, 3 months ago (2014-09-15 22:44:58 UTC) #3
rickyz (no longer on Chrome)
On 2014/09/15 22:44:58, Mark Seaborn wrote: > Nit: Fix "anywher" typo in commit message. LGTM ...
6 years, 3 months ago (2014-09-15 23:10:13 UTC) #4
jln (very slow on Chromium)
Excellent improvement, lgtm!
6 years, 3 months ago (2014-09-15 23:36:12 UTC) #5
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/569713004/diff/20001/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc File sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc (right): https://chromiumcodereview.appspot.com/569713004/diff/20001/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc#newcode406 sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:406: return false; Can you put __NR_get_robust_list here (before default:) ...
6 years, 3 months ago (2014-09-15 23:37:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/569713004/40001
6 years, 3 months ago (2014-09-16 01:11:31 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001) as a6ecc06d91e8faea4ce3c6d2fe93ff4515385410
6 years, 3 months ago (2014-09-16 02:29:14 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 02:33:07 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a75e8729dc917c0089a725e67fa2e9feaec0baef
Cr-Commit-Position: refs/heads/master@{#294986}

Powered by Google App Engine
This is Rietveld 408576698