Skip to content

Commit 5dbccd1

Browse files
Pattara TeerapongChromeos LUCI
Pattara Teerapong
authored and
Chromeos LUCI
committed
Add pselect6 to seccomp
pselect6 syscall is used in wait_for_dev_input_access() to wait for /dev/input/event* to be readable if it is not readable on the first attempt. BUG=b:374207373 TEST=manual Change-Id: I9158390d7a145a611eaa96aee0456f7fcb1f2b20 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/6124642 Commit-Queue: Pattara Teerapong <[email protected]> Reviewed-by: Yu-Hsuan Hsu <[email protected]> Auto-Submit: Pattara Teerapong <[email protected]> Reviewed-by: Pattara Teerapong <[email protected]> Tested-by: [email protected] <[email protected]>
1 parent e10d0f6 commit 5dbccd1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

seccomp/cras-seccomp-amd64.policy

+1
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,4 @@ execve: 1
124124
arch_prctl: 1
125125
set_tid_address: 1
126126
sigaltstack: 1
127+
pselect6: 1

seccomp/cras-seccomp-arm.policy

+1
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,4 @@ shutdown: 1
130130
mkdir: 1
131131
mkdirat: 1
132132
sigaltstack: 1
133+
pselect6: 1

seccomp/cras-seccomp-arm64.policy

+1
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ eventfd2: 1
112112
shutdown: 1
113113
mkdirat: 1
114114
sigaltstack: 1
115+
pselect6: 1

0 commit comments

Comments
 (0)