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

Issue 247563004: Non-SFI NaCl: Disallow mmap with PROT_EXEC (Closed)

Created:
6 years, 8 months ago by hamaji
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Non-SFI NaCl: Disallow mmap with PROT_EXEC Now nacl_irt_mmap with PROT_EXEC is implemented by non-EXEC mmap and mprotect thanks to https://codereview.chromium.org/239763005 BUG=359285 TEST=nacl_loader_unittests, trybots R=jln@chromium.org, mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266453

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : comment update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -12 lines) Patch
M components/nacl/loader/nonsfi/nonsfi_sandbox.cc View 1 2 3 3 chunks +15 lines, -8 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc View 1 2 1 chunk +19 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
hamaji
6 years, 8 months ago (2014-04-24 15:54:35 UTC) #1
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc File components/nacl/loader/nonsfi/nonsfi_sandbox.cc (right): https://chromiumcodereview.appspot.com/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode113 components/nacl/loader/nonsfi/nonsfi_sandbox.cc:113: ErrorCode RestrictMemoryProtection(SandboxBPF* sb, int argno) { Maybe change this ...
6 years, 8 months ago (2014-04-24 16:46:38 UTC) #2
Mark Seaborn
https://codereview.chromium.org/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc File components/nacl/loader/nonsfi/nonsfi_sandbox.cc (right): https://codereview.chromium.org/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode127 components/nacl/loader/nonsfi/nonsfi_sandbox.cc:127: const uint32_t denied_prot_mask = ~(PROT_READ | PROT_WRITE); It's not ...
6 years, 8 months ago (2014-04-24 16:49:30 UTC) #3
jln (very slow on Chromium)
On 2014/04/24 16:49:30, Mark Seaborn wrote: > https://codereview.chromium.org/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode127 > components/nacl/loader/nonsfi/nonsfi_sandbox.cc:127: const uint32_t > denied_prot_mask = ...
6 years, 8 months ago (2014-04-24 17:59:37 UTC) #4
hamaji
https://codereview.chromium.org/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc File components/nacl/loader/nonsfi/nonsfi_sandbox.cc (right): https://codereview.chromium.org/247563004/diff/20001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode113 components/nacl/loader/nonsfi/nonsfi_sandbox.cc:113: ErrorCode RestrictMemoryProtection(SandboxBPF* sb, int argno) { On 2014/04/24 16:46:38, ...
6 years, 8 months ago (2014-04-25 01:44:47 UTC) #5
jln (very slow on Chromium)
lgtm
6 years, 8 months ago (2014-04-26 00:20:01 UTC) #6
Mark Seaborn
LGTM https://chromiumcodereview.appspot.com/247563004/diff/40001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc File components/nacl/loader/nonsfi/nonsfi_sandbox.cc (right): https://chromiumcodereview.appspot.com/247563004/diff/40001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode128 components/nacl/loader/nonsfi/nonsfi_sandbox.cc:128: // calls mmap without PROT_EXEC and then add ...
6 years, 8 months ago (2014-04-26 00:26:01 UTC) #7
hamaji
https://codereview.chromium.org/247563004/diff/40001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc File components/nacl/loader/nonsfi/nonsfi_sandbox.cc (right): https://codereview.chromium.org/247563004/diff/40001/components/nacl/loader/nonsfi/nonsfi_sandbox.cc#newcode128 components/nacl/loader/nonsfi/nonsfi_sandbox.cc:128: // calls mmap without PROT_EXEC and then add PROT_EXEC ...
6 years, 8 months ago (2014-04-26 02:13:25 UTC) #8
hamaji
The CQ bit was checked by hamaji@chromium.org
6 years, 8 months ago (2014-04-26 02:13:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/247563004/60001
6 years, 8 months ago (2014-04-26 02:14:20 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 03:53:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-26 03:53:55 UTC) #12
hamaji
The CQ bit was checked by hamaji@chromium.org
6 years, 8 months ago (2014-04-26 04:10:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/247563004/60001
6 years, 8 months ago (2014-04-26 04:12:50 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 04:53:21 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-26 04:53:22 UTC) #16
hamaji
The CQ bit was checked by hamaji@chromium.org
6 years, 8 months ago (2014-04-26 05:01:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/247563004/60001
6 years, 8 months ago (2014-04-26 05:03:15 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 05:29:15 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-26 05:29:16 UTC) #20
hamaji
The CQ bit was checked by hamaji@chromium.org
6 years, 8 months ago (2014-04-26 05:31:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/247563004/60001
6 years, 8 months ago (2014-04-26 05:31:38 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 11:21:25 UTC) #23
hamaji
6 years, 8 months ago (2014-04-28 06:56:34 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 manually as r266453 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698