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

Issue 243833004: Non-SFI NaCl: Disallow futex call without FUTEX_PRIVATE_FLAG (Closed)

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

Description

Non-SFI NaCl: Disallow futex call without FUTEX_PRIVATE_FLAG So that untrusted code cannot communicate with other processes with futex. TEST=out/Release/nacl_loader_unittests TEST=out/Release/browser_tests --gtest_filter='*NaCl*NonSfi*' TEST=trybots BUG=359285

Patch Set 1 #

Patch Set 2 : fix test #

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

Messages

Total messages: 8 (0 generated)
hamaji
I'm not good at futex so I don't know if this filter is sufficient, but ...
6 years, 8 months ago (2014-04-19 01:17:29 UTC) #1
Mark Seaborn
This seems to fail, only in PPAPINaClPNaClNonSfiTest.Audio, with: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0240 [12182:12232:0419/010109:ERROR:nacl_process_host.cc(312)] NaCl ...
6 years, 8 months ago (2014-04-19 15:26:19 UTC) #2
Mark Seaborn
On 2014/04/19 15:26:19, Mark Seaborn wrote: > This seems to fail, only in PPAPINaClPNaClNonSfiTest.Audio, with: ...
6 years, 8 months ago (2014-04-19 15:35:35 UTC) #3
hamaji
Sorry, maybe I tested this patch with a wrong branch... pthread_join uses lll_wait_tid. My understanding ...
6 years, 8 months ago (2014-04-19 19:15:03 UTC) #4
hamaji
linux_asan is failing again. Interestingly, it seems all tests are failing even without this change. ...
6 years, 8 months ago (2014-04-20 00:06:08 UTC) #5
Mark Seaborn
On 19 April 2014 12:15, <hamaji@chromium.org> wrote: > Sorry, maybe I tested this patch with ...
6 years, 8 months ago (2014-04-22 06:20:59 UTC) #6
hamaji
> If we allow non-private FUTEX_WAIT but require other operations to be > private, it ...
6 years, 8 months ago (2014-04-22 18:38:58 UTC) #7
hamaji
6 years, 7 months ago (2014-04-30 04:50:24 UTC) #8
Let's close this for now. This should be tracked in
https://code.google.com/p/chromium/issues/detail?id=367649

Powered by Google App Engine
This is Rietveld 408576698