summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnsl/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libnsl/rpc')
-rw-r--r--usr/src/lib/libnsl/rpc/clnt_dg.c5
-rw-r--r--usr/src/lib/libnsl/rpc/clnt_vc.c3
-rw-r--r--usr/src/lib/libnsl/rpc/svc.c5
-rw-r--r--usr/src/lib/libnsl/rpc/svcauth_des.c3
4 files changed, 10 insertions, 6 deletions
diff --git a/usr/src/lib/libnsl/rpc/clnt_dg.c b/usr/src/lib/libnsl/rpc/clnt_dg.c
index c3299cb42d..df2c7f3f49 100644
--- a/usr/src/lib/libnsl/rpc/clnt_dg.c
+++ b/usr/src/lib/libnsl/rpc/clnt_dg.c
@@ -26,6 +26,7 @@
*/
/*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
@@ -229,7 +230,7 @@ clnt_dg_create(const int fd, struct netbuf *svcaddr, const rpcprog_t program,
/*
* By default, closeit is always FALSE. It is users responsibility
* to do a t_close on it, else the user may use clnt_control
- * to let clnt_destroy do it for him/her.
+ * to let clnt_destroy do it for them.
*/
cu->cu_closeit = FALSE;
cu->cu_fd = fd;
@@ -751,7 +752,7 @@ clnt_dg_control(CLIENT *cl, int request, char *info)
/* LINTED pointer alignment */
*(struct timeval *)info = cu->cu_total;
break;
- case CLGET_SERVER_ADDR: /* Give him the fd address */
+ case CLGET_SERVER_ADDR: /* Give it the fd address */
/* Now obsolete. Only for backword compatibility */
(void) memcpy(info, cu->cu_raddr.buf, (size_t)cu->cu_raddr.len);
break;
diff --git a/usr/src/lib/libnsl/rpc/clnt_vc.c b/usr/src/lib/libnsl/rpc/clnt_vc.c
index 4ab501046d..77c6d0b290 100644
--- a/usr/src/lib/libnsl/rpc/clnt_vc.c
+++ b/usr/src/lib/libnsl/rpc/clnt_vc.c
@@ -21,6 +21,7 @@
/*
* Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/*
@@ -310,7 +311,7 @@ _clnt_vc_create_timed(int fd, struct netbuf *svcaddr, rpcprog_t prog,
/*
* By default, closeit is always FALSE. It is users responsibility
* to do a t_close on it, else the user may use clnt_control
- * to let clnt_destroy do it for him/her.
+ * to let clnt_destroy do it for them.
*/
ct->ct_closeit = FALSE;
diff --git a/usr/src/lib/libnsl/rpc/svc.c b/usr/src/lib/libnsl/rpc/svc.c
index 113c76ae39..7c4a8a6342 100644
--- a/usr/src/lib/libnsl/rpc/svc.c
+++ b/usr/src/lib/libnsl/rpc/svc.c
@@ -22,6 +22,7 @@
/*
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
@@ -886,7 +887,7 @@ svc_reg(const SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers,
if (netid)
free(netid);
if (s->sc_dispatch == dispatch)
- goto rpcb_it; /* he is registering another xptr */
+ goto rpcb_it; /* it is registering another xptr */
(void) rw_unlock(&svc_lock);
return (FALSE);
}
@@ -995,7 +996,7 @@ svc_register(SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers,
if (netid)
free(netid);
if (s->sc_dispatch == dispatch)
- goto pmap_it; /* he is registering another xptr */
+ goto pmap_it; /* it is registering another xptr */
(void) rw_unlock(&svc_lock);
return (FALSE);
}
diff --git a/usr/src/lib/libnsl/rpc/svcauth_des.c b/usr/src/lib/libnsl/rpc/svcauth_des.c
index fd0b9abbb5..b8e6fd31e9 100644
--- a/usr/src/lib/libnsl/rpc/svcauth_des.c
+++ b/usr/src/lib/libnsl/rpc/svcauth_des.c
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
@@ -208,7 +209,7 @@ again:
if (!__getpublickey_cached(cred->adc_fullname.name,
pkey_data, &from_cache)) {
/*
- * if the user has no public key, treat him as the
+ * if the user has no public key, treat them as the
* unauthenticated identity - nobody. If this
* works, it means the client didn't find the
* user's keys and used nobody's secret key