Fix crash with --use-gl=egl on Linux.
commit43815b018eb71e762657cb650496ea6d83134c31
authordongseong.hwang <dongseong.hwang@intel.com>
Tue, 21 Oct 2014 10:29:19 +0000 (21 03:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Oct 2014 10:29:58 +0000 (21 10:29 +0000)
treec98aa96510e150de944afef74097ae4f6c5e8993
parent94ac8b9f7fac4821d73de8c7f4b6938157247eac
Fix crash with --use-gl=egl on Linux.

eglCreateWindowSurface() in mesa egl driver needs mincore() system call, so
allow gpu process to call mincore().

BUG=423674

Review URL: https://codereview.chromium.org/656023003

Cr-Commit-Position: refs/heads/master@{#300445}
content/common/sandbox_linux/bpf_gpu_policy_linux.cc
content/common/sandbox_linux/bpf_gpu_policy_linux.h
content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc