mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
net: unix -- Print collected socket names
Quite convenient to know which exactly names are used. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
1795ddca0e
commit
ec6b8e77e5
@ -819,7 +819,9 @@ static int collect_one_unixsk(void *o, ProtobufCMessage *base)
|
|||||||
futex_init(&ui->bound);
|
futex_init(&ui->bound);
|
||||||
ui->peer = NULL;
|
ui->peer = NULL;
|
||||||
ui->flags = 0;
|
ui->flags = 0;
|
||||||
pr_info(" `- Got %#x peer %#x\n", ui->ue->ino, ui->ue->peer);
|
pr_info(" `- Got %#x peer %#x (name %s)\n",
|
||||||
|
ui->ue->ino, ui->ue->peer,
|
||||||
|
ui->name ? (ui->name[0] ? ui->name : &ui->name[1]) : "-");
|
||||||
file_desc_add(&ui->d, ui->ue->id, &unix_desc_ops);
|
file_desc_add(&ui->d, ui->ue->id, &unix_desc_ops);
|
||||||
list_add_tail(&ui->list, &unix_sockets);
|
list_add_tail(&ui->list, &unix_sockets);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user