]> git.proxmox.com Git - mirror_lxc.git/commit
seccomp: keep retrying to reconnect to proxy
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 5 Jul 2019 09:30:24 +0000 (11:30 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Jul 2019 10:25:10 +0000 (12:25 +0200)
commited3a98c4c260fea0886da822fb5a11304cfa8d4d
treebbb750fb98be23a606820df63965c73331466e75
parent1370a882bcac001d8e61a152548cdbc3b0a600dd
seccomp: keep retrying to reconnect to proxy

If a syscall happens after we already failed to communicate
with the proxy, proxy_fd was -1.
Before the previous commit we'd then be stuck in the state
where there was no proxy registered. With the previous
commit we'd send a default reply and only then try to
reconnect.
Improve this even further by trying to reconnect right at
the start.

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