mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
sk-queue: print message when dumping nested fds from socket
Printing info message when we go to nested fds will make easier to understand logs of unix sockets dumping. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> (cherry picked from commit ae7cee5ef93efba90466bbf67d0e0367a05cc830) Signed-off-by: Ahmed Elaidy <elaidya225@gmail.com> Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
This commit is contained in:
parent
a4f00387b8
commit
83fe016b44
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ static int dump_scm_rights(struct cmsghdr *ch, SkPacketEntry *pe)
|
|||
void *buf;
|
||||
ScmEntry *scme;
|
||||
|
||||
pr_info("Dumping scm rights (nested fds) id_for 0x%x\n", pe->id_for);
|
||||
|
||||
nr_fds = (ch->cmsg_len - sizeof(*ch)) / sizeof(int);
|
||||
fds = (int *)CMSG_DATA(ch);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue