diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2019-05-30 14:24:26 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2019-05-30 14:24:26 +0000 |
commit | c5afec6e895a11c64f58eb99e493adb8ad5dc361 (patch) | |
tree | 76a184c2ed5a4763917ede32840013f6ea1c85ef /crypto | |
parent | 1410bfe1423048af030a0bde5e01c3e5555dbd1e (diff) |
Complete LOCAL_PEERCRED support. Cache pid of the remote process in the
struct xucred. Do not bump XUCRED_VERSION as struct layout is not changed.
PR: 215202
Reviewed by: tijl
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20415
Notes
Notes:
svn path=/head/; revision=348419
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/heimdal/lib/ipc/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/lib/ipc/server.c b/crypto/heimdal/lib/ipc/server.c index e4cb03ce2753..7b5b49ec019c 100644 --- a/crypto/heimdal/lib/ipc/server.c +++ b/crypto/heimdal/lib/ipc/server.c @@ -550,7 +550,7 @@ update_client_creds(struct client *c) { c->unixrights.uid = peercred.cr_uid; c->unixrights.gid = peercred.cr_gid; - c->unixrights.pid = 0; + c->unixrights.pid = peercred.cr_pid; return 1; } } |