diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2003-09-30 09:42:11 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2003-09-30 09:42:11 -0700 |
| commit | f944f959ebbb608870b9a189cdd044df2c6a90ea (patch) | |
| tree | 94189acbea236d06e89a2fbe96ac165dcf6a83f1 /include/net | |
| parent | 579d5c49327d1d2714335d4799bf0df35cdd6ad9 (diff) | |
[NET]: Use task->tgid instead of task->pid in SCM credentials code.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/scm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/scm.h b/include/net/scm.h index e41839d23dfa..732f80337ea0 100644 --- a/include/net/scm.h +++ b/include/net/scm.h @@ -39,7 +39,7 @@ static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, memset(scm, 0, sizeof(*scm)); scm->creds.uid = current->uid; scm->creds.gid = current->gid; - scm->creds.pid = current->pid; + scm->creds.pid = current->tgid; if (msg->msg_controllen <= 0) return 0; return __scm_send(sock, msg, scm); |
