Print this page
smf: switch to a tri-state for process-security properties true=on,false=off,nil=default

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/milestone/process-security.xml
          +++ new/usr/src/cmd/svc/milestone/process-security.xml
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34                       default instance so that we show up in svcs -a -->
  35   35  
  36   36                  <exec_method type="method" name="start" exec=":true" timeout_seconds="0"/>
  37   37                  <exec_method type="method" name="stop" exec=":true" timeout_seconds="30"/>
  38   38  
  39   39                  <property_group name='startd' type='framework'>
  40   40                    <propval name='duration' type='astring' value='transient' />
  41   41                  </property_group>
  42   42  
  43   43                  <property_group name='default' type='application'>
  44      -                  <propval name='aslr' type='boolean' value='false' />
  45      -                  <propval name='forbidnullmap' type='boolean' value='false' />
  46      -                  <propval name='noexecstack' type='boolean' value='false' />
       44 +                  <property name='aslr' type='boolean' />
       45 +                  <property name='forbidnullmap' type='boolean' />
       46 +                  <property name='noexecstack' type='boolean' />
  47   47  
  48   48                    <propval name='value_authorization' type='astring'
  49   49                             value='solaris.smf.value.process-security' />
  50   50                  </property_group>
  51   51  
  52   52                  <property_group name='lower' type='application'>
  53      -                  <propval name='aslr' type='boolean' value='false' />
  54      -                  <propval name='forbidnullmap' type='boolean' value='false' />
  55      -                  <propval name='noexecstack' type='boolean' value='false' />
       53 +                  <property name='aslr' type='boolean' />
       54 +                  <property name='forbidnullmap' type='boolean' />
       55 +                  <property name='noexecstack' type='boolean' />
  56   56  
  57   57                    <propval name='value_authorization' type='astring'
  58   58                             value='solaris.smf.value.process-security' />
  59   59                  </property_group>
  60   60  
  61   61                  <property_group name='upper' type='application'>
  62      -                  <propval name='aslr' type='boolean' value='true' />
  63      -                  <propval name='forbidnullmap' type='boolean' value='true' />
  64      -                  <propval name='noexecstack' type='boolean' value='true' />
       62 +                  <property name='aslr' type='boolean' />
       63 +                  <property name='forbidnullmap' type='boolean' />
       64 +                  <property name='noexecstack' type='boolean' />
  65   65  
  66   66                    <propval name='value_authorization' type='astring'
  67   67                             value='solaris.smf.value.process-security' />
  68   68                  </property_group>
  69   69  
  70   70  
  71   71  
  72   72                  <stability value="Unstable" />
  73   73  
  74   74                  <template>
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX