mirror of
https://passt.top/passt
synced 2025-05-05 18:28:52 +02:00
migrate: Fix several errors with passt-repair
The passt-repair helper is now merged, but alas it contains several small
bugs:
* close() is not in the seccomp profile, meaning it will immediately
SIGSYS when you make a request of it
* The generated header, seccomp_repair.h isn't listed in .gitignore or
removed by "make clean"
Fixes: 8c24301462
("Introduce passt-repair")
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
dcf014be88
commit
b4a7b5d4a6
3 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,5 +7,6 @@
|
|||
/qrap
|
||||
/pasta.1
|
||||
/seccomp.h
|
||||
/seccomp_repair.h
|
||||
/c*.json
|
||||
README.plain.md
|
||||
|
|
2
Makefile
2
Makefile
|
@ -117,7 +117,7 @@ valgrind: all
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) $(BIN) *~ *.o seccomp.h pasta.1 \
|
||||
$(RM) $(BIN) *~ *.o seccomp.h seccomp_repair.h pasta.1 \
|
||||
passt.tar passt.tar.gz *.deb *.rpm \
|
||||
passt.pid README.plain.md
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
*
|
||||
* Return: 0 on success (EOF), 1 on error, 2 on usage error
|
||||
*
|
||||
* #syscalls:repair connect setsockopt write exit_group
|
||||
* #syscalls:repair connect setsockopt write close exit_group
|
||||
* #syscalls:repair socket s390x:socketcall i686:socketcall
|
||||
* #syscalls:repair recvfrom recvmsg arm:recv ppc64le:recv
|
||||
* #syscalls:repair sendto sendmsg arm:send ppc64le:send
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue