diff options
Diffstat (limited to 'usr/src/lib/libnsl')
-rw-r--r-- | usr/src/lib/libnsl/nss/netdir_inet_sundry.c | 3 | ||||
-rw-r--r-- | usr/src/lib/libnsl/rpc/clnt_dg.c | 5 | ||||
-rw-r--r-- | usr/src/lib/libnsl/rpc/clnt_vc.c | 3 | ||||
-rw-r--r-- | usr/src/lib/libnsl/rpc/svc.c | 5 | ||||
-rw-r--r-- | usr/src/lib/libnsl/rpc/svcauth_des.c | 3 | ||||
-rw-r--r-- | usr/src/lib/libnsl/yp/yp_enum.c | 5 | ||||
-rw-r--r-- | usr/src/lib/libnsl/yp/yp_master.c | 3 | ||||
-rw-r--r-- | usr/src/lib/libnsl/yp/yp_match.c | 3 |
8 files changed, 19 insertions, 11 deletions
diff --git a/usr/src/lib/libnsl/nss/netdir_inet_sundry.c b/usr/src/lib/libnsl/nss/netdir_inet_sundry.c index 4e9473a8cf..c8d230d3d3 100644 --- a/usr/src/lib/libnsl/nss/netdir_inet_sundry.c +++ b/usr/src/lib/libnsl/nss/netdir_inet_sundry.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. * * lib/libnsl/nss/netdir_inet_sundry.c * @@ -960,7 +961,7 @@ bindresvport(struct netconfig *nconf, int fd, struct netbuf *addr) return (-1); } - tbindstr.qlen = 0; /* Always 0; user should change if he wants to */ + tbindstr.qlen = 0; /* Always 0; user should change if they want to */ tbindstr.addr.buf = (char *)u.buf; tbindstr.addr.len = tbindstr.addr.maxlen = __rpc_get_a_size(tinfo.addr); 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 diff --git a/usr/src/lib/libnsl/yp/yp_enum.c b/usr/src/lib/libnsl/yp/yp_enum.c index f9d57e086c..48f265303c 100644 --- a/usr/src/lib/libnsl/yp/yp_enum.c +++ b/usr/src/lib/libnsl/yp/yp_enum.c @@ -23,6 +23,7 @@ /* * Copyright 2006 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 */ @@ -176,7 +177,7 @@ dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen) retval = ypprot_err(resp.status); } - /* Get some memory which the user can get rid of as he likes */ + /* Get some memory which the user can get rid of as they like */ if (!retval) { @@ -349,7 +350,7 @@ donext(domain, map, inkey, inkeylen, pdomb, timeout, outkey, outkeylen, retval = ypprot_err(resp.status); } - /* Get some memory which the user can get rid of as he likes */ + /* Get some memory which the user can get rid of as they like */ if (!retval) { if ((*outkey = malloc((size_t) diff --git a/usr/src/lib/libnsl/yp/yp_master.c b/usr/src/lib/libnsl/yp/yp_master.c index 287bb13e75..41f3ec02f3 100644 --- a/usr/src/lib/libnsl/yp/yp_master.c +++ b/usr/src/lib/libnsl/yp/yp_master.c @@ -23,6 +23,7 @@ /* * Copyright 2006 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 */ @@ -201,7 +202,7 @@ domaster(char *domain, char *map, struct dom_binding *pdomb, if (resp.status != YP_TRUE) retval = ypprot_err(resp.status); - /* Get some memory which the user can get rid of as he likes */ + /* Get some memory which the user can get rid of as they like */ if (!retval && ((*master = malloc(strlen(resp.master) + 1)) == NULL)) retval = YPERR_RESRC; diff --git a/usr/src/lib/libnsl/yp/yp_match.c b/usr/src/lib/libnsl/yp/yp_match.c index 9e26615932..780610a2eb 100644 --- a/usr/src/lib/libnsl/yp/yp_match.c +++ b/usr/src/lib/libnsl/yp/yp_match.c @@ -23,6 +23,7 @@ /* * Copyright 2006 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 */ @@ -543,7 +544,7 @@ domatch(char *domain, char *map, char *key, int keylen, retval = ypprot_err(resp.status); } - /* Get some memory which the user can get rid of as he likes */ + /* Get some memory which the user can get rid of as they likes */ if (!retval && ((*val = malloc((size_t) resp.valdat.dsize + 2)) == NULL)) { |