summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshare/common
diff options
context:
space:
mode:
authorMarcel Telka <marcel.telka@nexenta.com>2014-07-02 20:44:32 +0200
committerGordon Ross <gwr@nexenta.com>2014-07-08 09:32:37 -0400
commit5cb0d67909d9970a3e7adbea9422ca3fc88000bf (patch)
treedf34b8a1eeb9c9f1398e0acf0b9fea6332a204aa /usr/src/lib/libshare/common
parent33cde0d0c27645bc9ec94c4d2955193c3dd4027c (diff)
downloadillumos-joyent-5cb0d67909d9970a3e7adbea9422ca3fc88000bf.tar.gz
4943 NFS server: Generic uid and gid remapping for AUTH_SYS
Reviewed by: Jan Kryl <jan.kryl@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/lib/libshare/common')
-rw-r--r--usr/src/lib/libshare/common/libshare.c3
-rw-r--r--usr/src/lib/libshare/common/libsharecore.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/lib/libshare/common/libshare.c b/usr/src/lib/libshare/common/libshare.c
index 1d17d5fea7..320ff911d7 100644
--- a/usr/src/lib/libshare/common/libshare.c
+++ b/usr/src/lib/libshare/common/libshare.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
@@ -597,7 +598,7 @@ validpath(sa_handle_t handle, char *path, int strictness)
* check to see if group/share is persistent.
*
* "group" can be either an sa_group_t or an sa_share_t. (void *)
- * works since both thse types are also void *.
+ * works since both these types are also void *.
* If the share is a ZFS share, mark it as persistent.
*/
int
diff --git a/usr/src/lib/libshare/common/libsharecore.c b/usr/src/lib/libshare/common/libsharecore.c
index 02b44052ca..ba2aa89fb6 100644
--- a/usr/src/lib/libshare/common/libsharecore.c
+++ b/usr/src/lib/libshare/common/libsharecore.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
@@ -772,7 +773,7 @@ add_syntax_comment(xmlNodePtr root, char *line, char *err, int todfstab)
/*
* sa_is_share(object)
*
- * returns true of the object is of type "share".
+ * returns true if the object is of type "share".
*/
int
@@ -787,7 +788,7 @@ sa_is_share(void *object)
/*
* sa_is_resource(object)
*
- * returns true of the object is of type "share".
+ * returns true if the object is of type "resource".
*/
int