From d40d75d2d787b9d4f949422b88de18ede4ee20b6 Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Thu, 24 Oct 2019 10:16:19 +0200 Subject: executor: move fixed pci devlink handle into network namespace In case there is a fixed pci devlink handle "pci/pci/0000:00:10.0" on the system (initial network namespace), it is moved to a working network namespace. Signed-off-by: Jiri Pirko --- executor/executor.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index 30d497ea9..2016a8bf5 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -118,6 +118,7 @@ static bool flag_enable_net_dev; static bool flag_enable_net_reset; static bool flag_enable_cgroups; static bool flag_enable_close_fds; +static bool flag_enable_devlink_pci; static bool flag_collect_cover; static bool flag_dedup_cover; @@ -481,6 +482,7 @@ void parse_env_flags(uint64 flags) flag_enable_net_reset = flags & (1 << 8); flag_enable_cgroups = flags & (1 << 9); flag_enable_close_fds = flags & (1 << 10); + flag_enable_devlink_pci = flags & (1 << 11); } #if SYZ_EXECUTOR_USES_FORK_SERVER -- cgit mrf-deployment