aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-01-01 20:03:22 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-01-01 20:03:22 +0000
commitb523ec24b9075cc9ba62b108c77b80d08ad66496 (patch)
treebbe4b01c3bf030d47a7229ec2b34f6bb012ace79 /sys
parent877e88123e20b9f8ce2fb333a60af875ace5ddbb (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index e2acfd921e83..84ebdeea375a 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1229,14 +1229,14 @@ unp_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
unp3->unp_addr = (struct sockaddr_un *) sa;
sa = NULL;
}
+
/*
- * unp_peercred management:
- *
* The connecter's (client's) credentials are copied from its
* process structure at the time of connect() (which is now).
*/
cru2x(td->td_ucred, &unp3->unp_peercred);
unp3->unp_flags |= UNP_HAVEPC;
+
/*
* The receiver's (server's) credentials are copied from the
* unp_peercred member of socket on which the former called