[go: nahoru, domu]

PlatformSharedMemoryRegion permission checks on NaCl

NaCl platform does not implement fcntl(_, F_GETFL) function that is used for
performing platform handle permissions check on POSIX.

This CL adds an alternative implementation of this check specifically for NaCl.

Bug: 825177
Change-Id: Ifb779fc892f1e63a77dc07ff4fd83c2c7b0dd4f1
Reviewed-on: https://chromium-review.googlesource.com/1076467
Commit-Queue: Alexandr Ilin <alexilin@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562484}
1 file changed