[CRIU] [PATCHv6 4/5] unix: handle service socket on dump and restore
Ruslan Kuprieiev
kupruser at gmail.com
Thu Sep 12 06:55:39 EDT 2013
On 09/12/2013 02:15 PM, Pavel Emelyanov wrote:
> On 09/12/2013 01:00 AM, Ruslan Kuprieiev wrote:
>> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
>>
>
>> @@ -89,8 +90,14 @@ static void show_one_unix_img(const char *act, const UnixSkEntry *e)
>>
>> static int can_dump_unix_sk(const struct unix_sk_desc *sk)
>> {
>> + /*
>> + * The last case in this "if" is seqpacket socket,
>> + * that is connected to cr_service. We will dump
>> + * it properly below.
>> + */
>> if (sk->type != SOCK_STREAM &&
>> - sk->type != SOCK_DGRAM) {
>> + sk->type != SOCK_DGRAM &&
>> + sk->peer_ino != cr_service_client->sk_ino) {
> Ah, I see. Let's do the thing -- put the "add support for seq_packet unix sockets"
> item in your todo list and start doing it once I commit the rpc engine.
>
>> pr_err("Only stream/dgram sockets for now\n");
>> return 0;
>> }
Shoud i put it to criu.org/Todo ?
More information about the CRIU
mailing list