]> git.proxmox.com Git - mirror_lxcfs.git/commit - bindings.c
pid_from_ns_wrapper: remove the loop
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 18 Feb 2016 18:10:16 +0000 (10:10 -0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 18 Feb 2016 18:10:16 +0000 (10:10 -0800)
commitf0f8b8511938cc680150d782a3add0ee4d60fb01
tree939f9fb6287e1d723afea68576fc82ffafb2c7b9
parent35174b0f7b9aa97a4ed62e57c9256a955ab9db5a
pid_from_ns_wrapper: remove the loop

If we clone a child which can't reply to us within the timeout, do
not keep looping, just return an error.  Commonize the function
superficially to make it look like pid_to_ns_wrapper().  Presumably
we can now merge these into one function, that's left for later.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
bindings.c