seccomp: add arch_prctl syscall for amx
When enabling amx feature, we should call arch_prctl to request permission to use tile data for guest. The permission should be requested before the first vcpu is created, so we need to call arch_prctl in vmm thread. This patch adds the arch_prctl syscall for vmm_thread_rules. Fixes: #7516 Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
parent
e7cda177cc
commit
41382879d3
1 changed files with 2 additions and 0 deletions
|
|
@ -550,6 +550,8 @@ fn vmm_thread_rules(
|
|||
(libc::SYS_accept4, vec![]),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
(libc::SYS_access, vec![]),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
(libc::SYS_arch_prctl, vec![]),
|
||||
(libc::SYS_bind, vec![]),
|
||||
(libc::SYS_brk, vec![]),
|
||||
(libc::SYS_clock_gettime, vec![]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue