[CRIU] [PATCH 3/4] sk-unix: Handle bindmounted dgram sockets on restore
Cyrill Gorcunov
gorcunov at gmail.com
Thu Aug 10 10:03:35 MSK 2017
On Wed, Aug 09, 2017 at 04:42:15PM -0700, Andrei Vagin wrote:
> >
> > + if (unix_prepare_bindmount(mi)) {
>
> Why do we call this function for all mounts?
For simplicity case. Look, I *don't* want to mangle mount code, neither
I want to modify mount images. This problem must only touch unix sockets
code. unix_prepare_bindmount simply exit early if socket is not found
(I'll make it as a hash so it will be fast).
Cyrill
More information about the CRIU
mailing list