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/lib/librestart/common/librestart.h
          +++ new/usr/src/lib/librestart/common/librestart.h
↓ open down ↓ 266 lines elided ↑ open up ↑
 267  267  restarter_instance_state_t restarter_string_to_state(char *);
 268  268  
 269  269  #define RESTARTER_METHOD_CONTEXT_VERSION        8
 270  270  
 271  271  struct method_context {
 272  272          /* Stable */
 273  273          uid_t           uid, euid;
 274  274          gid_t           gid, egid;
 275  275          int             ngroups;                /* -1 means use initgroups(). */
 276  276          gid_t           groups[NGROUPS_MAX];
 277      -        psecflags_t     def_secflags;
      277 +        scf_secflags_t  def_secflags;
 278  278          secflagdelta_t  secflag_delta;
 279  279          priv_set_t      *lpriv_set, *priv_set;
 280  280          char            *corefile_pattern;      /* Optional. */
 281  281          char            *project;               /* NULL for no change */
 282  282          char            *resource_pool;         /* NULL for project default */
 283  283          char            *working_dir;           /* NULL for :default */
 284  284          char            **env;                  /* NULL for no env */
 285  285          size_t          env_sz;                 /* size of env array */
 286  286  
 287  287          /* Private */
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX