mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
virtiofsd: Seccomp: Add 'send' for syslog
On ppc, and some other archs, it looks like syslog ends up using 'send' rather than 'sendto'. Reference: https://github.com/kata-containers/kata-containers/issues/1050 Reported-by: amulmek1@in.ibm.com Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20201102150750.34565-1-dgilbert@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
5e77343113
commit
dcaac9f124
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ static const int syscall_whitelist[] = {
|
||||||
|
|
||||||
/* Syscalls used when --syslog is enabled */
|
/* Syscalls used when --syslog is enabled */
|
||||||
static const int syscall_whitelist_syslog[] = {
|
static const int syscall_whitelist_syslog[] = {
|
||||||
|
SCMP_SYS(send),
|
||||||
SCMP_SYS(sendto),
|
SCMP_SYS(sendto),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue