summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-01-01 20:03:22 +0000
committerrwatson <rwatson@FreeBSD.org>2009-01-01 20:03:22 +0000
commit96b82a80dde8227dbf93f51b82b92812b3e274c0 (patch)
treebbe4b01c3bf030d47a7229ec2b34f6bb012ace79 /sys/kern/uipc_usrreq.c
parentc049b2b5fe03004b83628a879fcc810e55dc3068 (diff)
downloadFreeBSD-src-96b82a80dde8227dbf93f51b82b92812b3e274c0.zip
FreeBSD-src-96b82a80dde8227dbf93f51b82b92812b3e274c0.tar.gz
White space and comment tweaks.
MFC after: 3 weeks
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-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 e2acfd9..84ebdee 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
OpenPOWER on IntegriCloud