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/libscf/inc/libscf_priv.h
          +++ new/usr/src/lib/libscf/inc/libscf_priv.h
↓ open down ↓ 588 lines elided ↑ open up ↑
 589  589  int _scf_get_svc_notify_params(const char *, nvlist_t *, int32_t, int, int);
 590  590  
 591  591  /*
 592  592   * _scf_notify_get_params()
 593  593   * Specialized function to get notification parametes from a pg into an
 594  594   * nvlist_t
 595  595   */
 596  596  int _scf_notify_get_params(scf_propertygroup_t *, nvlist_t *);
 597  597  
 598  598  #if !defined(NATIVE_BUILD)
 599      -int scf_default_secflags(scf_handle_t *, psecflags_t *);
      599 +int scf_default_secflags(scf_handle_t *, scf_secflags_t *);
 600  600  #endif
 601  601  
 602  602  #define SCF_NOTIFY_PARAMS_SOURCE_NAME   ((const char *)"preference_source")
 603  603  
 604  604  #ifdef  __cplusplus
 605  605  }
 606  606  #endif
 607  607  
 608  608  #endif  /* _LIBSCF_PRIV_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX