mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
sk-queue: Show the creds we're sending
For debug sake. Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.com> (cherry picked from commit 318009a0ddf7150e7967f2dc52752cbb469cacd2) Signed-off-by: Ahmed Elaidy <elaidya225@gmail.com> Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
This commit is contained in:
parent
1dce9eb7c8
commit
5641ea6d10
1 changed files with 5 additions and 0 deletions
|
|
@ -536,6 +536,11 @@ static int send_one_pkt(int fd, struct sk_packet *pkt)
|
|||
ucred->uid = entry->ucred->uid;
|
||||
ucred->gid = entry->ucred->gid;
|
||||
mh.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
|
||||
|
||||
pr_debug("\tsend creds pid %d uid %d gid %d\n",
|
||||
entry->ucred->pid,
|
||||
entry->ucred->uid,
|
||||
entry->ucred->gid);
|
||||
}
|
||||
ret = sendmsg(fd, &mh, 0);
|
||||
xfree(pkt->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue