Print this page
8225 passing invalid global pattern to coreadm wedges it nicely

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libscf/inc/libscf.h
          +++ new/usr/src/lib/libscf/inc/libscf.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright 2016 RackTop Systems.
       24 + * Copyright 2017 RackTop Systems.
  25   25   */
  26   26  
  27   27  #ifndef _LIBSCF_H
  28   28  #define _LIBSCF_H
  29   29  
  30   30  
  31   31  #include <stddef.h>
  32   32  #include <libnvpair.h>
  33   33  
  34   34  #ifndef NATIVE_BUILD
↓ open down ↓ 770 lines elided ↑ open up ↑
 805  805  /*
 806  806   * Simplified calls
 807  807   */
 808  808  int smf_enable_instance(const char *, int);
 809  809  int smf_disable_instance(const char *, int);
 810  810  int smf_refresh_instance(const char *);
 811  811  int smf_restart_instance(const char *);
 812  812  int smf_maintain_instance(const char *, int);
 813  813  int smf_degrade_instance(const char *, int);
 814  814  int smf_restore_instance(const char *);
      815 +int smf_enable_instance_synchronous(const char *, int);
      816 +int smf_disable_instance_synchronous(const char *, int);
      817 +int smf_refresh_instance_synchronous(const char *);
      818 +int smf_restart_instance_synchronous(const char *);
      819 +int smf_maintain_instance_synchronous(const char *, int);
      820 +int smf_degrade_instance_synchronous(const char *, int);
      821 +int smf_restore_instance_synchronous(const char *);
 815  822  char *smf_get_state(const char *);
 816  823  
 817  824  int scf_simple_walk_instances(uint_t, void *,
 818  825      int (*inst_callback)(scf_handle_t *, scf_instance_t *, void *));
 819  826  
 820  827  scf_simple_prop_t *scf_simple_prop_get(scf_handle_t *, const char *,
 821  828      const char *, const char *);
 822  829  void scf_simple_prop_free(scf_simple_prop_t *);
 823  830  scf_simple_app_props_t *scf_simple_app_props_get(scf_handle_t *, const char *);
 824  831  void scf_simple_app_props_free(scf_simple_app_props_t *);
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX