Print this page
OS-5642 containerbuddy unable to fork while using syslog driver, causing container services to hang
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
OS-4818 contract template disappears on exec

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man4/process.4
          +++ new/usr/src/man/man4/process.4
   1    1  '\" te
   2    2  .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
        3 +.\" Copyright 2016, Joyent, Inc.
   3    4  .\" 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.
   4    5  .\" 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.
   5    6  .\" 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]
   6      -.TH PROCESS 4 "Mar 25, 2008"
        7 +.TH PROCESS 4 "Sept 6, 2016"
   7    8  .SH NAME
   8    9  process \- process contract type
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12   13  \fB/system/contract/process\fR
  13   14  .fi
  14   15  
  15   16  .SH DESCRIPTION
  16   17  .sp
↓ open down ↓ 178 lines elided ↑ open up ↑
 195  196  .sp .6
 196  197  .RS 4n
 197  198  If set, indicates that the process contract is to be inherited by the process
 198  199  contract the contract owner is a member of if the contract owner exits before
 199  200  explicitly abandoning the process contract.
 200  201  .sp
 201  202  If not set, the process contract is automatically abandoned when the owner
 202  203  exits.
 203  204  .RE
 204  205  
      206 +.sp
      207 +.ne 2
      208 +.na
      209 +\fB\fBCT_PR_KEEP_EXEC\fR\fR
      210 +.ad
      211 +.sp .6
      212 +.RS 4n
      213 +If set, the process contract template remains active across \fBexec\fR(2).
      214 +This can be used to setup a contract for children of an application which
      215 +is not contract-aware. If this is not set then the system clears the active
      216 +template when the process execs. Because this option is intended for an
      217 +application which is not contract-aware, new child process contracts will be
      218 +automatically abandoned by the parent.
      219 +.RE
      220 +
 205  221  .sp
 206  222  .ne 2
 207  223  .na
 208  224  \fB\fBCT_PR_NOORPHAN\fR\fR
 209  225  .ad
 210  226  .sp .6
 211  227  .RS 4n
 212  228  If set, all processes in a process contract are sent \fBSIGKILL\fR if the
 213  229  process contract is abandoned, either explicitly or because the holder died and
 214  230  \fBCT_PR_INHERIT\fR was not set. The scope of \fBSIGKILL\fR is limited to those
↓ open down ↓ 351 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX