summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os')
-rw-r--r--usr/src/uts/common/os/bio.c2
-rw-r--r--usr/src/uts/common/os/callout.c3
-rw-r--r--usr/src/uts/common/os/core.c5
-rw-r--r--usr/src/uts/common/os/cpu.c2
-rw-r--r--usr/src/uts/common/os/devcfg.c5
-rw-r--r--usr/src/uts/common/os/mutex.c3
-rw-r--r--usr/src/uts/common/os/pghw.c5
-rw-r--r--usr/src/uts/common/os/policy.c5
-rw-r--r--usr/src/uts/common/os/strsubr.c3
-rw-r--r--usr/src/uts/common/os/task.c3
-rw-r--r--usr/src/uts/common/os/zone.c7
11 files changed, 26 insertions, 17 deletions
diff --git a/usr/src/uts/common/os/bio.c b/usr/src/uts/common/os/bio.c
index 8350d5f2f9..81d26a4777 100644
--- a/usr/src/uts/common/os/bio.c
+++ b/usr/src/uts/common/os/bio.c
@@ -728,7 +728,7 @@ loop:
/*
* Come here in case of an internal error. At this point we couldn't
- * get a buffer, but he have to return one. Hence we allocate some
+ * get a buffer, but we have to return one. Hence we allocate some
* kind of error reply buffer on the fly. This buffer is marked as
* B_NOCACHE | B_AGE | B_ERROR | B_DONE to assure the following:
* - B_ERROR will indicate error to the caller.
diff --git a/usr/src/uts/common/os/callout.c b/usr/src/uts/common/os/callout.c
index 6c2fbd071e..66f17a3820 100644
--- a/usr/src/uts/common/os/callout.c
+++ b/usr/src/uts/common/os/callout.c
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/callo.h>
@@ -853,7 +854,7 @@ callout_heap_delete(callout_table_t *ct)
* scanning the heap anyway.
*
* If the root gets changed and/or callout lists are expired, return the
- * new expiration to the caller so he can reprogram the cyclic accordingly.
+ * new expiration to the caller so it can reprogram the cyclic accordingly.
*/
static hrtime_t
callout_heap_process(callout_table_t *ct, hrtime_t delta, int timechange)
diff --git a/usr/src/uts/common/os/core.c b/usr/src/uts/common/os/core.c
index d4dddbe477..d5e272c16a 100644
--- a/usr/src/uts/common/os/core.c
+++ b/usr/src/uts/common/os/core.c
@@ -22,6 +22,7 @@
/*
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, Joyent Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -400,8 +401,8 @@ do_core(char *fp, int sig, enum core_types core_type, struct core_globals *cg)
* For security reasons, we don't want root processes
* to dump core through a symlink because that would
* allow a malicious user to clobber any file on
- * the system if s/he could convince a root process,
- * perhaps a set-uid root process that s/he started,
+ * the system if they could convince a root process,
+ * perhaps a set-uid root process that they started,
* to dump core in a directory writable by that user.
* Similar security reasons apply to hard links.
* For symmetry we do this unconditionally, not
diff --git a/usr/src/uts/common/os/cpu.c b/usr/src/uts/common/os/cpu.c
index 48439a90a5..87c0896814 100644
--- a/usr/src/uts/common/os/cpu.c
+++ b/usr/src/uts/common/os/cpu.c
@@ -879,7 +879,7 @@ cpu_pause_free(cpu_t *cp)
ASSERT(MUTEX_HELD(&cpu_lock));
/*
- * We have to get the thread and tell him to die.
+ * We have to get the thread and tell it to die.
*/
if ((t = cp->cpu_pause_thread) == NULL) {
ASSERT(safe_list[cpun] == PAUSE_IDLE);
diff --git a/usr/src/uts/common/os/devcfg.c b/usr/src/uts/common/os/devcfg.c
index da412f4ea8..4a654317c9 100644
--- a/usr/src/uts/common/os/devcfg.c
+++ b/usr/src/uts/common/os/devcfg.c
@@ -23,6 +23,7 @@
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
* Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved.
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/note.h>
@@ -7698,7 +7699,7 @@ mt_config_children(struct mt_config_handle *hdl)
brn = NULL;
/*
- * Hold the child that we are processing so he does not get
+ * Hold the child that we are processing so it does not get
* removed. The corrisponding ndi_rele_devi() for children
* that are not being skipped is done at the end of
* mt_config_thread().
@@ -7797,7 +7798,7 @@ mt_config_driver(struct mt_config_handle *hdl)
dip = devnamesp[par_major].dn_head;
while (dip) {
/*
- * Hold the child that we are processing so he does not get
+ * Hold the child that we are processing so it does not get
* removed. The corrisponding ndi_rele_devi() for children
* that are not being skipped is done at the end of
* mt_config_thread().
diff --git a/usr/src/uts/common/os/mutex.c b/usr/src/uts/common/os/mutex.c
index a309ca89a3..e9806795d3 100644
--- a/usr/src/uts/common/os/mutex.c
+++ b/usr/src/uts/common/os/mutex.c
@@ -21,6 +21,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/*
@@ -149,7 +150,7 @@
*
* In many ways (1) is the cleanest solution, but if a lock is moderately
* contended it defeats the adaptive spin logic. If we make some other
- * thread the owner, but he's not ONPROC yet, then all other threads on
+ * thread the owner, but it's not ONPROC yet, then all other threads on
* other cpus that try to get the lock will conclude that the owner is
* blocked, so they'll block too. And so on -- it escalates quickly,
* with every thread taking the blocking path rather than the spin path.
diff --git a/usr/src/uts/common/os/pghw.c b/usr/src/uts/common/os/pghw.c
index 7b4b46f6ab..8e50b3cd36 100644
--- a/usr/src/uts/common/os/pghw.c
+++ b/usr/src/uts/common/os/pghw.c
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/systm.h>
@@ -577,8 +578,8 @@ pghw_cu_kstat_update(kstat_t *ksp, int rw)
return (EACCES);
/*
- * Check whether the caller has priv_cpc_cpu privilege. If he doesn't,
- * he will not get hardware utilization data.
+ * Check whether the caller has priv_cpc_cpu privilege. If it doesn't,
+ * it will not get hardware utilization data.
*/
has_cpc_privilege = (secpolicy_cpc_cpu(crgetcred()) == 0);
diff --git a/usr/src/uts/common/os/policy.c b/usr/src/uts/common/os/policy.c
index 06f7fb0f4f..c6e9a06ce2 100644
--- a/usr/src/uts/common/os/policy.c
+++ b/usr/src/uts/common/os/policy.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2013, Joyent, Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/types.h>
@@ -866,8 +867,8 @@ secpolicy_fs_unmount(cred_t *cr, struct vfs *vfsp)
}
/*
- * Quotas are a resource, but if one has the ability to mount a filesystem, he
- * should be able to modify quotas on it.
+ * Quotas are a resource, but if one has the ability to mount a filesystem,
+ * they should be able to modify quotas on it.
*/
int
secpolicy_fs_quota(const cred_t *cr, const vfs_t *vfsp)
diff --git a/usr/src/uts/common/os/strsubr.c b/usr/src/uts/common/os/strsubr.c
index 1c39b5be88..87e0c5511d 100644
--- a/usr/src/uts/common/os/strsubr.c
+++ b/usr/src/uts/common/os/strsubr.c
@@ -25,6 +25,7 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/types.h>
@@ -6390,7 +6391,7 @@ drain_syncq(syncq_t *sq)
sq->sq_svcflags &= ~SQ_SERVICE;
/*
- * If SQ_EXCL is set, someone else is processing this syncq - let him
+ * If SQ_EXCL is set, someone else is processing this syncq - let them
* finish the job.
*/
if (flags & SQ_EXCL) {
diff --git a/usr/src/uts/common/os/task.c b/usr/src/uts/common/os/task.c
index b25825edd1..bafcfd45e0 100644
--- a/usr/src/uts/common/os/task.c
+++ b/usr/src/uts/common/os/task.c
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
#include <sys/atomic.h>
@@ -787,7 +788,7 @@ changeproj(proc_t *p, kproject_t *kpj, zone_t *zone, void *projbuf,
oldkpj = ttoproj(t);
/*
- * Kick this thread so that he doesn't sit
+ * Kick this thread so that it doesn't sit
* on a wrong wait queue.
*/
if (ISWAITING(t))
diff --git a/usr/src/uts/common/os/zone.c b/usr/src/uts/common/os/zone.c
index d966b5e72a..f241bfbc3a 100644
--- a/usr/src/uts/common/os/zone.c
+++ b/usr/src/uts/common/os/zone.c
@@ -22,6 +22,7 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2015, Joyent Inc. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/*
@@ -6168,7 +6169,7 @@ zone_enter(zoneid_t zoneid)
do {
thread_lock(t);
/*
- * Kick this thread so that he doesn't sit
+ * Kick this thread so that it doesn't sit
* on a wrong wait queue.
*/
if (ISWAITING(t))
@@ -6358,8 +6359,8 @@ zone_list(zoneid_t *zoneidlist, uint_t *numzones)
/*
* If user has allocated space for fewer entries than we found, then
- * return only up to his limit. Either way, tell him exactly how many
- * we found.
+ * return only up to their limit. Either way, tell them exactly how
+ * many we found.
*/
if (domi_nzones < user_nzones)
user_nzones = domi_nzones;