summaryrefslogtreecommitdiff
path: root/usr/src/man
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man')
-rw-r--r--usr/src/man/man3c/door_call.3c71
-rw-r--r--usr/src/man/man3c/gethostname.3c10
-rw-r--r--usr/src/man/man3devid/devid_get.3devid18
-rw-r--r--usr/src/man/man3head/stat.h.3head7
-rw-r--r--usr/src/man/man3nsl/rpc_soc.3nsl11
-rw-r--r--usr/src/man/man3nsl/t_open.3nsl15
-rw-r--r--usr/src/man/man4/nodename.411
-rw-r--r--usr/src/man/man4/proc.412
-rw-r--r--usr/src/man/man5/privileges.567
-rw-r--r--usr/src/man/man9f/getrbuf.9f11
10 files changed, 133 insertions, 100 deletions
diff --git a/usr/src/man/man3c/door_call.3c b/usr/src/man/man3c/door_call.3c
index dda79a90a8..f0c470fb24 100644
--- a/usr/src/man/man3c/door_call.3c
+++ b/usr/src/man/man3c/door_call.3c
@@ -1,9 +1,10 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH DOOR_CALL 3C "Mar 22, 2005"
+.TH DOOR_CALL 3C "Feb 7, 2015"
.SH NAME
door_call \- invoke the function associated with a door descriptor
.SH SYNOPSIS
@@ -16,7 +17,6 @@ door_call \- invoke the function associated with a door descriptor
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBdoor_call()\fR function invokes the function associated with the door
descriptor \fId\fR, and passes the arguments (if any) specified in
@@ -26,6 +26,41 @@ Passing \fINULL\fR for \fIparams\fR indicates there are no arguments to be
passed and no results expected.
.sp
.LP
+The \fBdoor_arg_t\fR structure includes the following members:
+.sp
+.in +2
+.nf
+typedef struct {
+ char *data_ptr; /* Argument/result data */
+ size_t data_size; /* Argument/result data size */
+ door_desc_t *desc_ptr; /* Argument/result descriptors */
+ uint_t desc_num; /* Argument/result num discriptors */
+ char *rbuf; /* Result area */
+ size_t rsize; /* Result size */
+} door_arg_t;
+.fi
+.in -2
+
+.sp
+.LP
+The \fBdoor_desc_t\fR structure includes the following members:
+.sp
+.in +2
+.nf
+typedef struct {
+ door_attr_t d_attributes; /* Describes the parameter */
+ union {
+ struct {
+ int d_descriptor; /* Descriptor */
+ door_id_t d_id; /* Unique door id */
+ } d_desc;
+ } d_data;
+} door_desc_t;
+.fi
+.in -2
+
+.sp
+.LP
Arguments are specified using the \fBdata_ptr\fR and \fBdesc_ptr\fR members of
\fIparams\fR. The size of the argument data in bytes is passed in
\fBdata_size\fR and the number of argument descriptors is passed in
@@ -61,29 +96,11 @@ will be closed even if \fBdoor_call()\fR returns an error, unless that error
is \fBEFAULT\fR or \fBEBADF\fR.
.sp
.LP
-The \fBdoor_desc_t\fR structure includes the following members:
-.sp
-.in +2
-.nf
-typedef struct {
- door_attr_t d_attributes; /* Describes the parameter */
- union {
- struct {
- int d_descriptor; /* Descriptor */
- door_id_t d_id; /* Unique door id */
- } d_desc;
- } d_data;
- } door_desc_t;
-.fi
-.in -2
-
-.sp
-.LP
When file descriptors are passed or returned, a new descriptor is created in
the target address space and the \fBd_descriptor\fR member in the target
argument is updated to reflect the new descriptor. In addition, the system
passes a system-wide unique number associated with each door in the
-\fBdoor_id\fR member and marks the \fBd_attributes\fR member with other
+\fBd_id\fR member and marks the \fBd_attributes\fR member with other
attributes associated with a door including the following:
.sp
.ne 2
@@ -160,21 +177,11 @@ generated during a \fBdoor_call()\fR operation. If the client aborts in the
middle of a \fBdoor_call()\fR and the door was not created with the
\fBDOOR_NO_CANCEL\fR flag, the server thread is notified using the POSIX (see
\fBstandards\fR(5)) thread cancellation mechanism. See \fBcancellation\fR(5).
-.sp
-.LP
-The descriptor returned from \fBdoor_create()\fR is marked as close on
-\fBexec(FD_CLOEXEC)\fR. Information about a door is available for all clients
-of a door using \fBdoor_info()\fR. Applications concerned with security should
-not place secure information in door data that is accessible by
-\fBdoor_info()\fR. In particular, secure data should not be stored in the data
-item \fIcookie\fR. See \fBdoor_info\fR(3C).
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fB0\fR is returned. Otherwise, \fB\(mi1\fR is
returned and \fBerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBdoor_call()\fR function will fail if:
.sp
@@ -283,7 +290,6 @@ System could not create overflow area in caller for results.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -303,7 +309,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBmunmap\fR(2), \fBdoor_create\fR(3C), \fBdoor_getparam\fR(3C),
\fBdoor_info\fR(3C), \fBdoor_return\fR(3C), \fBlibdoor\fR(3LIB),
diff --git a/usr/src/man/man3c/gethostname.3c b/usr/src/man/man3c/gethostname.3c
index 900a5fa816..44e1c6a501 100644
--- a/usr/src/man/man3c/gethostname.3c
+++ b/usr/src/man/man3c/gethostname.3c
@@ -1,6 +1,7 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
-.TH GETHOSTNAME 3C "Mar 22, 2004"
+.TH GETHOSTNAME 3C "Feb 7, 2015"
.SH NAME
gethostname, sethostname \- get or set name of current host
.SH SYNOPSIS
@@ -17,10 +18,9 @@ gethostname, sethostname \- get or set name of current host
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBgethostname()\fR function returns the standard host name for the current
-processor, as previously set by \fBsethostname()\fR. The \fInamelen\fR
+machine, as previously set by \fBsethostname()\fR. The \fInamelen\fR
argument specifies the size of the array pointed to by \fIname\fR. The returned
name is null-terminated unless insufficient space is provided.
.sp
@@ -33,12 +33,10 @@ superuser and is normally used only when the system is bootstrapped.
Host names are limited to \fBMAXHOSTNAMELEN\fR characters, currently 256,
defined in the <\fBnetdb.h\fR> header.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBgethostname()\fR and \fBsethostname()\fR return
0. Otherwise, they return \(mi1 and set \fBerrno\fR to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBgethostname()\fR and \fBsethostname()\fR functions will fail if:
.sp
@@ -64,7 +62,6 @@ the calling process.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -82,7 +79,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBsysinfo\fR(2), \fBuname\fR(2), \fBgethostid\fR(3C), \fBattributes\fR(5),
\fBstandards\fR(5)
diff --git a/usr/src/man/man3devid/devid_get.3devid b/usr/src/man/man3devid/devid_get.3devid
index 503f653187..d0a006377a 100644
--- a/usr/src/man/man3devid/devid_get.3devid
+++ b/usr/src/man/man3devid/devid_get.3devid
@@ -1,9 +1,13 @@
'\" te
-.\" Copyright (c) 1999, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH DEVID_GET 3DEVID "Nov 30, 2001"
+.\"
+.\"
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+.\" Copyright (c) 1999, Sun Microsystems, Inc. All Rights Reserved
+.\"
+.TH DEVID_GET 3DEVID "Jan 12, 2015"
.SH NAME
devid_get, devid_compare, devid_deviceid_to_nmlist, devid_free,
devid_free_nmlist, devid_get_minor_name, devid_sizeof, devid_str_decode,
@@ -71,7 +75,6 @@ applications
.fi
.SH DESCRIPTION
-.sp
.LP
These functions provide unique identifiers (device \fBID\fRs) for devices.
Applications and device drivers use these functions to identify and locate
@@ -102,7 +105,7 @@ The \fBdevid_deviceid_to_nmlist()\fR function returns an array of
\fIdevid_nmlist\fR structures, where each entry matches the \fIdevid\fR and
\fIminor_name\fR passed in. If the \fIminor_name\fR specified is one of the
special values (\fBDEVID_MINOR_NAME_ALL\fR, \fBDEVID_MINOR_NAME_ALL_CHR\fR, or
-\fBDEVID_MINOR_NAME_ALL_BLK\fR) , then all minor names associated with
+\fBDEVID_MINOR_NAME_ALL_BLK\fR), then all minor names associated with
\fIdevid\fR which also meet the special \fIminor_name\fR filtering requirements
are returned. The \fIdevid_nmlist\fR structure contains the device name and
device number. The last entry of the array contains a null pointer for the
@@ -116,7 +119,7 @@ complete if called with the device ID of an unattached device.
.sp
.LP
The \fBdevid_free_nmlist()\fR function frees the memory allocated by the
-\fBdevid_deviceid_to_nmlist()\fR function.
+\fBdevid_deviceid_to_nmlist()\fR function and returned in the \fIretlist\fR.
.sp
.LP
The \fBdevid_compare()\fR function compares two device \fBID\fRs and determines
@@ -170,9 +173,8 @@ function. A non-null returned minor name must be freed by calling
.LP
The \fBdevid_str_free()\fR function frees the character string returned by
\fBdevid_str_encode()\fR and the \fIretminor_name\fR argument returned by
-\fBdevid_str_decode()\fR.
+\fBdevid_str_decode()\fR and \fBdevid_get_minor_name()\fR.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, the \fBdevid_get()\fR,
\fBdevid_get_minor_name()\fR, \fBdevid_str_decode()\fR, and
@@ -283,7 +285,6 @@ devid_free_nmlist(list);
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for description of the following attributes:
.sp
@@ -301,7 +302,6 @@ Interface Stability Stable
.TE
.SH SEE ALSO
-.sp
.LP
\fBfree\fR(3C), \fBlibdevid\fR(3LIB), \fBattributes\fR(5),
\fBddi_devid_compare\fR(9F)
diff --git a/usr/src/man/man3head/stat.h.3head b/usr/src/man/man3head/stat.h.3head
index 81bc0375d8..0e4ccde84a 100644
--- a/usr/src/man/man3head/stat.h.3head
+++ b/usr/src/man/man3head/stat.h.3head
@@ -4,7 +4,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH STAT.H 3HEAD "Sep 1, 2009"
+.TH STAT.H 3HEAD "Jan 22, 2015"
.SH NAME
stat.h, stat \- data returned by stat system call
.SH SYNOPSIS
@@ -15,7 +15,6 @@ stat.h, stat \- data returned by stat system call
.fi
.SH DESCRIPTION
-.sp
.LP
The system calls \fBstat()\fR, \fBlstat()\fR and \fBfstat()\fR return data in a
\fBstat\fR structure, which is defined in <\fBstat.h\fR>.
@@ -88,12 +87,11 @@ of the range [0, 999 999 999], for use with the \fBfutimens()\fR and
.in +2
.nf
#define UTIME_NOW use the current time
-@define UTIME_OMIT no time change
+#define UTIME_OMIT no time change
.fi
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -111,7 +109,6 @@ Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO
-.sp
.LP
\fBfutimens\fR(2), \fBstat\fR(2), \fBtypes.h\fR(3HEAD), \fBattributes\fR(5),
\fBstandards\fR(5)
diff --git a/usr/src/man/man3nsl/rpc_soc.3nsl b/usr/src/man/man3nsl/rpc_soc.3nsl
index b0b2059a09..c01be93ad0 100644
--- a/usr/src/man/man3nsl/rpc_soc.3nsl
+++ b/usr/src/man/man3nsl/rpc_soc.3nsl
@@ -1,9 +1,10 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH RPC_SOC 3NSL "Jun 7, 2001"
+.TH RPC_SOC 3NSL "Feb 7, 2015"
.SH NAME
rpc_soc, authdes_create, authunix_create, authunix_create_default, callrpc,
clnt_broadcast, clntraw_create, clnttcp_create, clntudp_bufcreate,
@@ -184,7 +185,6 @@ int svc_fds;
.fi
.SH DESCRIPTION
-.sp
.LP
\fBRPC\fR routines allow C programs to make procedure calls on other machines
across the network. First, the client calls a procedure to send a request to
@@ -198,7 +198,6 @@ routines. The preferred routine is given after the description of the routine.
New programs should use the preferred routines, as support for the older
interfaces may be dropped in future releases.
.SS "File Descriptors"
-.sp
.LP
Transport independent \fBRPC\fR uses \fBTLI\fR as its transport interface
instead of sockets.
@@ -212,7 +211,6 @@ with both \fBlibrpcsoc\fR and \fBlibnsl\fR. If the user passed
\fBlibnsl\fR only, then the routine will return a \fBTLI\fR file descriptor
and not a socket.
.SS "Routines"
-.sp
.LP
The following routines require that the header \fB<rpc/rpc.h>\fR be included.
The symbol \fBPORTMAP\fR should be defined so that the appropriate function
@@ -618,7 +616,7 @@ resultant read file descriptor bit mask. The routine returns when all file
descriptors associated with the value of \fIrdfds\fR have been serviced. This
routine is similar to \fBsvc_getreqset()\fR but is limited to 32 descriptors.
.sp
-This interface is made obsolete by \fBsvc_getreqset()\fR
+This interface is made obsolete by \fBsvc_getreqset()\fR.
.RE
.sp
@@ -801,7 +799,6 @@ This routine exists for backward compatibility only, and is made obsolete by
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -817,7 +814,6 @@ MT-Level Unsafe
.TE
.SH SEE ALSO
-.sp
.LP
\fBkeyserv\fR(1M), \fBrpcbind\fR(1M), \fBrpcinfo\fR(1M), \fBnetdir\fR(3NSL),
\fBnetdir_getbyname\fR(3NSL), \fBrpc\fR(3NSL), \fBrpc_clnt_auth\fR(3NSL),
@@ -827,7 +823,6 @@ MT-Level Unsafe
\fBsecure_rpc\fR(3NSL), \fBselect\fR(3C), \fBxdr_authsys_parms\fR(3NSL),
\fBlibnsl\fR(3LIB), \fBlibrpcsoc\fR(3LIBUCB), \fBattributes\fR(5)
.SH NOTES
-.sp
.LP
These interfaces are unsafe in multithreaded applications. Unsafe interfaces
should be called only from the main thread.
diff --git a/usr/src/man/man3nsl/t_open.3nsl b/usr/src/man/man3nsl/t_open.3nsl
index 8c0db86557..a3278a991b 100644
--- a/usr/src/man/man3nsl/t_open.3nsl
+++ b/usr/src/man/man3nsl/t_open.3nsl
@@ -1,4 +1,5 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright 1994, The X/Open Company Ltd. All Rights Reserved Portions Copyright 1989 AT&T Portions Copyright (c) 1998, Sun Microsystems, Inc. All Rights Reserved
.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
@@ -7,7 +8,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH T_OPEN 3NSL "May 7, 1998"
+.TH T_OPEN 3NSL "Jan 27, 2015"
.SH NAME
t_open \- establish a transport endpoint
.SH SYNOPSIS
@@ -23,7 +24,6 @@ t_open \- establish a transport endpoint
.fi
.SH DESCRIPTION
-.sp
.LP
This routine is part of the \fBXTI\fR interfaces which evolved from the
\fBTLI\fR interfaces. \fBXTI\fR represents the future evolution of these
@@ -234,16 +234,13 @@ time.
If \fIinfo\fR is set to a null pointer by the transport user, no protocol
information is returned by \fBt_open()\fR.
.SH RETURN VALUES
-.sp
.LP
A valid file descriptor is returned upon successful completion. Otherwise, a
value of -1 is returned and \fBt_errno\fR is set to indicate an error.
.SH VALID STATES
-.sp
.LP
\fBT_UNINIT\fR.
.SH ERRORS
-.sp
.LP
On failure, \fBt_errno\fR is set to the following:
.sp
@@ -285,27 +282,23 @@ A system error has occurred during execution of this function.
.RE
.SH TLI COMPATIBILITY
-.sp
.LP
The \fBXTI\fR and \fBTLI\fR interface definitions have common names but use
different header files. This and other semantic differences between the two
interfaces are described in the subsections below.
.SS "Interface Header"
-.sp
.LP
-The \fBXTI\fR interfaces use the \fBxti.h\fR \fBTLI\fR interfaces should
+The \fBXTI\fR interfaces use the \fBxti.h\fR. \fBTLI\fR interfaces should
\fInot\fR use this header. They should use the header:
.br
.in +2
#include <tiuser.h>
.in -2
.SS "Error Description Values"
-.sp
.LP
The \fBt_errno\fR values \fBTPROTO\fR and \fBTBADNAME\fR can be set by the
\fBXTI\fR interface but cannot be set by the \fBTLI\fR interface.
.SS "Notes"
-.sp
.LP
For \fBTLI\fR , the \fBt_info\fR structure referenced by \fIinfo\fR lacks the
following structure member:
@@ -329,7 +322,6 @@ data, and disconnection data. The corresponding structure members are
\fBaddr\fR, \fBoptions\fR, \fBtsdu\fR, \fBestdu\fR, \fBconnect\fR, and
\fBdiscon\fR, respectively.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -345,6 +337,5 @@ MT Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBopen\fR(2), \fBattributes\fR(5)
diff --git a/usr/src/man/man4/nodename.4 b/usr/src/man/man4/nodename.4
index 82af9a7827..216fc93a50 100644
--- a/usr/src/man/man4/nodename.4
+++ b/usr/src/man/man4/nodename.4
@@ -1,9 +1,10 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH NODENAME 4 "Feb 9, 2004"
+.TH NODENAME 4 "Feb 7, 2015"
.SH NAME
nodename \- local source for system name
.SH SYNOPSIS
@@ -13,7 +14,6 @@ nodename \- local source for system name
.fi
.SH DESCRIPTION
-.sp
.LP
When a machine is standalone or its IP address is configured locally, the
\fB/etc/nodename\fR file contains the system name. By convention, the system
@@ -26,11 +26,6 @@ protocol, the \fB/etc/nodename\fR file is not used, as the system name is
delivered by the remote service.
.sp
.LP
-Given a system name value, regardless of source, the \fBuname\fR utility
-invoked with the \fB-S\fR option is used to set the system name of the running
-system.
-.sp
-.LP
If the machine's network configuration is delivered by the DHCP protocol, the
\fB/etc/nodename\fR file is used only if the DHCP server does not provide a
value for the Hostname option (DHCP standard option code 12).
@@ -60,12 +55,10 @@ myhost
.in -2
.SH SEE ALSO
-.sp
.LP
\fBNIS+\fR(1), \fBuname\fR(1), \fBnamed\fR(1M), \fBypbind\fR(1M),
\fBattributes\fR(5)
.SH NOTES
-.sp
.LP
The \fBnodename\fR file is modified by Solaris installation and de-installation
scripts.
diff --git a/usr/src/man/man4/proc.4 b/usr/src/man/man4/proc.4
index e7058c410d..c0a044164a 100644
--- a/usr/src/man/man4/proc.4
+++ b/usr/src/man/man4/proc.4
@@ -665,6 +665,18 @@ the process. \fBpr_what\fR is unused in this case.
.RE
.sp
+.ne 2
+.na
+\fB\fBPR_BRAND\fR\fR
+.ad
+.RS 17n
+indicates that the lwp stopped for a brand-specific reason. Interpretation
+of the value of \fBpr_what\fR depends on which zone brand is in use. It is
+not generally expected that an lwp stopped in this state will be restarted
+by native \fBproc\fR(4) consumers.
+.RE
+
+.sp
.LP
\fBpr_cursig\fR names the current signal, that is, the next signal to be
delivered to the lwp, if any. \fBpr_info\fR, when the lwp is in a
diff --git a/usr/src/man/man5/privileges.5 b/usr/src/man/man5/privileges.5
index 7fc9c00f45..5f70da9e9a 100644
--- a/usr/src/man/man5/privileges.5
+++ b/usr/src/man/man5/privileges.5
@@ -4,11 +4,10 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH PRIVILEGES 5 "March 7, 2012"
+.TH PRIVILEGES 5 "Feb 3, 2015"
.SH NAME
privileges \- process privilege model
.SH DESCRIPTION
-.sp
.LP
Solaris software implements a set of privileges that provide fine-grained
control over the actions of processes. The possession of a certain privilege
@@ -194,6 +193,16 @@ Extensions.
.sp
.ne 2
.na
+\fB\fBPRIV_FILE_FLAG_SET\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allows a process to set immutable, nounlink or appendonly file attributes.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBPRIV_FILE_LINK_ANY\fR\fR
.ad
.sp .6
@@ -222,6 +231,16 @@ modify that file's or directory's permission bits or ACL.
.sp
.ne 2
.na
+\fB\fBPRIV_FILE_READ\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allow a process to read objects in the filesystem.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBPRIV_FILE_SETID\fR\fR
.ad
.sp .6
@@ -252,11 +271,11 @@ Extensions.
.sp
.ne 2
.na
-\fB\fBPRIV_FILE_FLAG_SET\fR\fR
+\fB\fBPRIV_FILE_WRITE\fR\fR
.ad
.sp .6
.RS 4n
-Allows a process to set immutable, nounlink or appendonly file attributes.
+Allow a process to modify objects in the filesytem.
.RE
.sp
@@ -331,6 +350,16 @@ Segment.
.sp
.ne 2
.na
+\fB\fBPRIV_NET_ACCESS\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allow a process to open a TCP, UDP, SDP, or SCTP network endpoint.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBPRIV_NET_BINDMLP\fR\fR
.ad
.sp .6
@@ -376,6 +405,21 @@ Extensions.
.sp
.ne 2
.na
+\fB\fBPRIV_NET_MAC_IMPLICIT\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allow a proces to set \fBSO_MAC_IMPLICIT\fR option by using
+\fBsetsockopt\fR(3SOCKET). This allows a privileged process to transmit
+implicitly-labeled packets to a peer.
+.sp
+This privilege is interpreted only if the system is configured with
+Trusted Extensions.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBPRIV_NET_OBSERVABILITY\fR\fR
.ad
.sp .6
@@ -660,6 +704,16 @@ Allow a process to increase the size of a System V IPC Message Queue buffer.
.sp
.ne 2
.na
+\fB\fBPRIV_SYS_IPTUN_CONFIG\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allow a process to configure IP tunnel links.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBPRIV_SYS_LINKDIR\fR\fR
.ad
.sp .6
@@ -1187,7 +1241,6 @@ set, the system does not honor the set-uid bit of set-uid root applications.
The following unsafe privileges have been identified: \fBproc_setid\fR,
\fBsys_resource\fR and \fBproc_audit\fR.
.SS "Privilege Escalation"
-.sp
.LP
In certain circumstances, a single privilege could lead to a process gaining
one or more additional privileges that were not explicitly granted to that
@@ -1223,7 +1276,6 @@ privileges they need.
Daemons that never need to \fBexec\fR subprocesses should remove the
\fBPRIV_PROC_EXEC\fR privilege from their permitted and limit sets.
.SS "Assigned Privileges and Safeguards"
-.sp
.LP
When privileges are assigned to a user, the system administrator could give
that user more powers than intended. The administrator should consider whether
@@ -1232,7 +1284,6 @@ privilege is given to a user, the administrator should consider setting the
\fBproject.max-locked-memory\fR resource control as well, to prevent that user
from locking all memory.
.SS "Privilege Debugging"
-.sp
.LP
When a system call fails with a permission error, it is not always immediately
obvious what caused the problem. To debug such a problem, you can use a tool
@@ -1253,7 +1304,6 @@ set priv_debug = 1
.LP
On a running system, you can use \fBmdb\fR(1) to change this variable.
.SS "Privilege Administration"
-.sp
.LP
The Solaris Management Console (see \fBsmc\fR(1M)) is the preferred method of
modifying privileges for a command. Use \fBusermod\fR(1M) or \fBsmrole\fR(1M)
@@ -1261,7 +1311,6 @@ to assign privileges to or modify privileges for, respectively, a user or a
role. Use \fBppriv\fR(1) to enumerate the privileges supported on a system and
\fBtruss\fR(1) to determine which privileges a program requires.
.SH SEE ALSO
-.sp
.LP
\fBmdb\fR(1), \fBppriv\fR(1), \fBadd_drv\fR(1M), \fBifconfig\fR(1M),
\fBlockd\fR(1M), \fBnfsd\fR(1M), \fBpppd\fR(1M), \fBrem_drv\fR(1M),
diff --git a/usr/src/man/man9f/getrbuf.9f b/usr/src/man/man9f/getrbuf.9f
index cba7e2e4cd..d1381ed592 100644
--- a/usr/src/man/man9f/getrbuf.9f
+++ b/usr/src/man/man9f/getrbuf.9f
@@ -1,10 +1,11 @@
'\" te
+.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" Copyright 1989 AT&T
.\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH GETRBUF 9F "Jan 16, 2006"
+.TH GETRBUF 9F "Jan 27, 2015"
.SH NAME
getrbuf \- get a raw buffer header
.SH SYNOPSIS
@@ -20,11 +21,9 @@ getrbuf \- get a raw buffer header
.fi
.SH INTERFACE LEVEL
-.sp
.LP
Architecture independent level 1 (DDI/DKI).
.SH PARAMETERS
-.sp
.ne 2
.na
\fB\fIsleepflag\fR\fR
@@ -34,7 +33,6 @@ Indicates whether driver should sleep for free space.
.RE
.SH DESCRIPTION
-.sp
.LP
The \fBgetrbuf()\fR function allocates the space for a buffer header to the
caller. It is used in cases where a block driver is performing raw (character
@@ -43,25 +41,22 @@ the buffer cache.
.sp
.LP
The \fBgetrbuf()\fR function calls \fBkmem_alloc\fR(9F) to perform the memory
-allocation. \fBkmem_alloc()\fRrequires the information included in the
+allocation. \fBkmem_alloc()\fR requires the information included in the
\fIsleepflag\fR argument. If \fIsleepflag\fR is set to \fBKM_SLEEP\fR, the
driver may sleep until the space is freed up. If \fIsleepflag\fR is set to
\fBKM_NOSLEEP\fR, the driver will not sleep. In either case, a pointer to the
allocated space is returned or \fBNULL\fR to indicate that no space was
available.
.SH RETURN VALUES
-.sp
.LP
The \fBgetrbuf()\fR function returns a pointer to the allocated buffer header,
or \fBNULL\fR if no space is available.
.SH CONTEXT
-.sp
.LP
The \fBgetrbuf()\fR function can be called from user, interrupt, or kernel
context. (Drivers must not allow \fBgetrbuf()\fR to sleep if called from an
interrupt routine.)
.SH SEE ALSO
-.sp
.LP
\fBbioinit\fR(9F), \fBfreerbuf\fR(9F), \fBkmem_alloc\fR(9F),
\fBkmem_free\fR(9F)