Message ID | 20190702232954.27816-2-laurent.pinchart@ideasonboard.com |
---|---|
State | Not Applicable |
Delegated to: | Laurent Pinchart |
Headers | show |
Series |
|
Related | show |
diff --git a/camera/hal_adapter/seccomp_filter/cros-camera-amd64.policy b/camera/hal_adapter/seccomp_filter/cros-camera-amd64.policy index 428531c0738c..bd4608f8d0cb 100644 --- a/camera/hal_adapter/seccomp_filter/cros-camera-amd64.policy +++ b/camera/hal_adapter/seccomp_filter/cros-camera-amd64.policy @@ -16,6 +16,7 @@ epoll_ctl: 1 epoll_wait: 1 # TODO(hywu,b/113142071): link portrait processor as shared library and remove # this +eventfd2: 1 execve: 1 exit: 1 exit_group: 1 diff --git a/camera/hal_adapter/seccomp_filter/cros-camera-arm.policy b/camera/hal_adapter/seccomp_filter/cros-camera-arm.policy index 6bcc3598ce9e..5f7d27d8838b 100644 --- a/camera/hal_adapter/seccomp_filter/cros-camera-arm.policy +++ b/camera/hal_adapter/seccomp_filter/cros-camera-arm.policy @@ -14,6 +14,7 @@ dup: 1 epoll_create1: 1 epoll_ctl: 1 epoll_wait: 1 +eventfd2: 1 exit: 1 exit_group: 1 fcntl64: 1 diff --git a/camera/hal_adapter/seccomp_filter/cros-camera-arm64.policy b/camera/hal_adapter/seccomp_filter/cros-camera-arm64.policy index 99bb84156c0d..5f9ca91a7294 100644 --- a/camera/hal_adapter/seccomp_filter/cros-camera-arm64.policy +++ b/camera/hal_adapter/seccomp_filter/cros-camera-arm64.policy @@ -11,6 +11,7 @@ dup: 1 epoll_create1: 1 epoll_ctl: 1 epoll_pwait: 1 +eventfd2: 1 exit: 1 exit_group: 1 faccessat: 1
This is required for eventfd(), used by libcamera. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- camera/hal_adapter/seccomp_filter/cros-camera-amd64.policy | 1 + camera/hal_adapter/seccomp_filter/cros-camera-arm.policy | 1 + camera/hal_adapter/seccomp_filter/cros-camera-arm64.policy | 1 + 3 files changed, 3 insertions(+)