From 8d85b6a99ebf02a65a097ac3f5cdb83cd4119bd5 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 29 Mar 2022 23:47:35 +0200 Subject: tap: Allow ioctl() and openat() for tap_ns_tun() re-initialisation If the tun interface disappears, we'll call tap_ns_tun() after the seccomp profile is applied: add ioctl() and openat() to it. Signed-off-by: Stefano Brivio --- tap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tap.c') diff --git a/tap.c b/tap.c index aca8c75..f6de5f1 100644 --- a/tap.c +++ b/tap.c @@ -873,6 +873,8 @@ static int tun_ns_fd = -1; * @c: Execution context * * Return: 0 + * + * #syscalls:pasta ioctl openat */ static int tap_ns_tun(void *arg) { -- cgit v1.2.3