aboutgitcodebugslistschat
path: root/doc/platform-requirements
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2025-11-03 13:08:34 +0100
committerStefano Brivio <sbrivio@redhat.com>2025-11-04 18:53:41 +0100
commita36031a4d807ca3197b6b14c50a93816d4d28f18 (patch)
tree218fcc9a7a1d7a529c8c2436df6a7fb09dc54222 /doc/platform-requirements
parent1d164396397799088b6dad13178781553333f2aa (diff)
downloadpasst-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar.gz
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar.bz2
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar.lz
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar.xz
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.tar.zst
passt-a36031a4d807ca3197b6b14c50a93816d4d28f18.zip
seccomp.sh: Quote tr character ranges to prevent glob expansion
we use [a-z] and [A-Z] patterns with 'tr', but if there are files with names matching these patterns they will be replaced by the name of the file and seccomp.h will not be generated correctly: $ rm seccomp.h $ touch a b $ make tr: extra operand '[A-Z]' Try 'tr --help' for more information. seccomp profile passt allows: accept accept4 bind clock_gettime close connect epoll_ctl epoll_pwait epoll_wait exit_group fallocate fcntl fsync ftruncate getsockname getsockopt listen lseek read recvfrom recvmmsg recvmsg sendmmsg sendmsg sendto ... cc -Wall -Wextra -Wno-format-zero-length -Wformat-security -pedantic -std=c11 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -O2 -pie -fPIE -DPAGE_SIZE=4096 -DVERSION="2025_09_19.623dbf6-54-gf6b6118fcabd" -DDUAL_STACK_SOCKETS=1 -DHAS_GETRANDOM -fstack-protector-strong arch.c arp.c checksum.c conf.c dhcp.c dhcpv6.c epoll_ctl.c flow.c fwd.c icmp.c igmp.c inany.c iov.c ip.c isolation.c lineread.c log.c mld.c ndp.c netlink.c migrate.c packet.c passt.c pasta.c pcap.c pif.c repair.c tap.c tcp.c tcp_buf.c tcp_splice.c tcp_vu.c udp.c udp_flow.c udp_vu.c util.c vhost_user.c virtio.c vu_common.c -o passt In file included from isolation.c:83: seccomp.h:11:45: error: 'AUDIT_ARCH_' undeclared here (not in a function); did you mean 'AUDIT_ARCH'? 11 | BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, AUDIT_ARCH_, 0, 80), | ^~~~~~~~~~~ Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements')
0 files changed, 0 insertions, 0 deletions