| # Copyright 2021 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # These seccomp rules specify only the syscalls used by the Zinitix FW update |
| # tool. The updater Zinitix_FWupdate should only be used through minijail with |
| # these rules. |
| |
| brk: 1 |
| ioctl: 1 |
| fstat: 1 |
| newfstatat: 1 |
| execve: 1 |
| arch_prctl: 1 |
| uname: 1 |
| readlink: 1 |
| openat: 1 |
| write: 1 |
| close: 1 |
| exit_group: 1 |
| lseek: 1 |
| read: 1 |
| restart_syscall: 1 |
| exit: 1 |
| rt_sigreturn: 1 |
| fstatfs: 1 |