summaryrefslogtreecommitdiff
path: root/usr/src/man
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2015-02-13 13:58:47 +0000
committerRobert Mustacchi <rm@joyent.com>2015-02-13 13:58:47 +0000
commit39fb3e855a4aecad22321e329e58359504b39555 (patch)
treefc78f004574ceb35febc58259402a28df6e94b82 /usr/src/man
parent8062190bde2b194ecd0aa6e2063cf3dddcc5d741 (diff)
parenteb20fbe2fac1596990392cf5a8ea5030948e4768 (diff)
downloadillumos-joyent-dev-overlay.tar.gz
[illumos-joyent merge]dev-overlay
commit 3b13a1ef7511135ec0c75b5f94de8075454efd79 5322 tree connect from Windows 7 fails commit 200c7a6f5f903a9dcd83c319bddeee9b627406ac OS-3820 lxbrand ptrace(2): the next generation OS-3685 lxbrand PTRACE_O_TRACEFORK race condition OS-3834 lxbrand 64-bit strace(1) reports 64-bit process as using x32 ABI OS-3794 lxbrand panic on init signal death commit f1630c2becf4af570cefc47794212e8110eb79e3 OS-3796 lxbrand remove netstat overlay script commit 653f0ca3cc17876745f96a5e25fb60faa72b33f3 OS-3798 lxbrand populate /proc/net/snmp commit d72cf7bfa828bceb8c81f81282e9b81712d032e2 OS-3797 lxbrand populate /proc/net/unix commit d0fcb88af333aa48dd2b958f3681f1b597b924cc 4545 _t_create(): Use after free in error code paths commit c62da27859e36f9fdd8cee3c6df3ad567543dcf9 4539 _t_checkfd() should not call find_tilink() if force_sync is set commit a2ca8683ba75b01f3468a17061812db2731decb6 OS-3826 lxbrand ipv4 networking broken after OS-3800 commit 6529d7987e7f46c8a923ae661b04c896f3815d91 OS-3800 lx_thunk core dumps on centos 6.6 commit f4cf1a6a363de08977c8db91c119df49e9f6c296 5186 The door_call(3c) man page contains too much commit 23c88c5ab36a96068ae184ebd20bf625426c3773 5594 nodename(4): Duplicate paragraph in the man page commit 5c644dd8f2c88f1e78ae4866f22c749a3d1b0157 5585 Typo in gethostname(3c): current processor commit 7825e891f35613dcf9e7e6d6848401511f3f96eb 4717 Missing period (.) in man pages commit 270be59d332e9c2003ef54b622a67d6f0e3ef7fc 5263 Missing space in getrbuf(9f) man page commit faf5add516ff7b15d67af766e32716c04c75716d 5528 devid_str_free() should be used for devid_get_minor_name() too commit 4812581794004eff0af2b765b832403b30bf64ab 4996 rtld _init race leads to incorrect symbol values commit 5ae8d2a82dbf2dc1b22ae6755ecefed000d7532e OS-3822 OS-3780 creates a life of fd crime in libproc commit 1f2ca518aeecee8616fccc0c46a339773faea7d5 4863 illumos-gate can't be built with fresh perl versions commit 386e9c9ebfe4116f62e7a0950acd30564fc60125 5566 elfexec is overzealous with vpages 5572 elfexec and mapelfexec can disagree on aux vectors commit 8a986bad744c8a479dfacfcdc16bcad15bbb1ec6 5101 privileges(5) manual page missing some privileges commit 9ef283481583d677cd2cf5449ef49b90eacc97d4 5261 libm should stop using synonyms.h (fix studio build) commit ed1591688000a5d179c4ba27793cae55590c55d2 5590 improper use of NULL in tools/protocmp commit ad0b1ea5d69a45fe23c434277599e315f29a5fca 5589 improper use of NULL in tools/ctf commit 8bf1e4f3b335466afe9b85d761b3822ec8c1a371 OS-3816 sync up mdb_v8 with upstream commit 97a9db610324e7db4393415018e0e737485a94cd 4393 /etc/rpc: 100133 and 100169 should be added commit dc1de1110df1be3c207fa275c52056314a438b95 OS-3806 /proc/self/fd/2 is no longer working in LX commit ebb8db03bc1050fa9dd3b184c99634f4c2eae56c OS-3810 tar doesn't properly wait for its children OS-3813 Clean up unused variables and parenthesis warnings in tar commit 4190e41f9d08bc0e41bed63c0b3641af9cfa1a1d OS-3811 LTP signal_test_05 now fails commit 86851d81a7ab61819497cbc95630c7fc812d00c9 OS-3808 lx_boot_zone_redhat relies on /tmp being cleared on reboot commit d41c05b714ac5cd589b3edd49c55f21d1d8f2589 OS-3802 LTP kill11 test case fails after vsyscall signal changes OS-3803 LTP kill12 test failing OS-3804 LTP signal03 failing OS-3805 LTP waitpid05 failing commit e3e63864a2ed092a7da41db4ea4998f461524a18 OS-3807 lx brand: asynchronous I/O operations can hang commit 91600d919baafe4e4d8bdee4168878036351c556 5578 file(1) should validate Elf_Shdr->sh_name commit 30e6ec63ea67bd88d75811ab11b9c115ff026ab3 OS-3795 lxbrand initial centos 6.6 support commit 9d47dec0481d8cd53b2c1053c96bfa3f78357d6a 5592 NULL pointer dereference in dsl_prop_notify_all_cb() commit 71ceaec61a50dff6050c6905ac8352dd58c89311 OS-3801 update boot copyright date commit 823c8a3d4ff8d31f222cb81ed5b0685e318215e1 OS-3793 lxbrand /proc/pid/maps formatted incorrectly commit da4b59e7b4853d1b5018cd3e37eb592574a673b4 OS-3768 snoop could fail more cleanly on large files commit 643588d2256f94df9beb942b812ffaa83665c09a OS-3799 lxbrand panic when accessing /proc/net/tcp from GZ commit 9a3dc1f68894cc036075fdabc3764446d5d5fa52 OS-3485 lxbrand populate /proc for netstat commit 12e2b6203a3d75549383615f039c435ab4418037 OS-3790 lxbrand vsyscall segfault when SIGSEGV handler set to SIG_DFL commit d5fef2f4802f515505a545dfee6c81b5fd377a96 OS-3792 platform uses obsolete nfs mount command commit bd181d5a0c2b96669dcb4aa44619e0b7dbbedab9 1100 cpustat usage message is incorrect commit 2515f5d4dbff605ba645d47a6851d8d0bac5b994 5527 ::spa_space fails with mdb: couldn't find member dd_phys of type struct zfs`dsl_dir' commit 6e062f4a9c9a27ea6e2e980c1b5f4c41e33aba45 5563 Some traverse() callers do strange things commit bb633f5b0e92fa59f65274f8b5637a7107ca29ec OS-3782 lx brand: vsyscall can induce fatal SIGSEGV commit 4d01dc17bafd21a83dfb4383d30137cf0ab74ed1 OS-3777 zlogin -I needs to work with docker run when in logging mode commit de267ec7980943d6c76defc73d2a3d8356d3acb2 OS-3776 project rctls should be in sync with zone rctls commit b9acd3d9851f7716ce41f37dcd04dd6067a21146 OS-3780 libproc could know about .gnu_debuglink for remote symbol tables commit 10648e3fb261910e63f8354af96444b02d016f44 OS-3773 lxbrand ltp shmctl ipcinfo can fail on a machine with >4GB of memory OS-3779 lxbrand shmctl_ipcinfo struct incorrect for 64-bit commit 181d66828bce1fbd366a3b3a9224593577390463 OS-3778 lxbrand panic when ptracing native process commit 63098359d8842cf81b6fb1b81567e12c671db06f 5511 stat.h(3head) manpage #define typo commit 7eb15eeb0b1a3f960946b7563765e128425fc13b 5568 'allthreads' needs to be global commit 32b5e9f0cda85eef94eb578dd053e155df43fed3 5554 kmdb can't trace stacks that begin within itself
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)