]> git.proxmox.com Git - mirror_lxc.git/commit
seccomp: retry connecting to the proxy once
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 5 Jul 2019 08:41:19 +0000 (10:41 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Jul 2019 10:25:10 +0000 (12:25 +0200)
commit3745ee0ec764367da195068dcea9dac0e4ba76e4
treef4984e808ba6480a02b70e072e20d4914e227c2e
parent5357b872f7052936a58748b7a338a42c86c2a4fc
seccomp: retry connecting to the proxy once

If the first sendmsg() fails, try to reconnect once before
failing. Otherwise if a proxy restarts while no syscall
happens, the next syscall always fails with ENOSYS.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc/seccomp.c