Chromium Code Reviews| Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
| diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
| index 02d54771346f4823f010682822327ee21ba9adcd..0802a73cb62c33dc8c4b61ebd5a1d3e137632f71 100644 |
| --- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
| +++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
| @@ -180,6 +180,10 @@ bool CrosArmGpuProcessPolicy::PreSandboxHook() { |
| // Preload the Mali library. |
| dlopen("/usr/lib/libmali.so", dlopen_flag); |
| + dlopen("/usr/lib/libtegrav4l2.so", dlopen_flag); |
|
Jorge Lucangeli Obes
2014/03/31 18:07:25
Please add a comment above this line to decouple i
shivdasp
2014/03/31 18:17:05
Done.
|
| + // Resetting errno since platform-specific libraries will fail on other |
| + // platforms. |
| + errno = 0; |
| return true; |
| } |