Print this page
293 useradd/del/mod should be ZFS-aware

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/funcs.h
          +++ new/usr/src/cmd/oamuser/user/funcs.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 1999,2002-2003 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  #ifndef _FUNCS_H
  30   28  #define _FUNCS_H
  31   29  
  32   30  #ifdef  __cplusplus
  33   31  extern "C" {
  34   32  #endif
  35   33  
  36   34  #define CMD_PREFIX_USER "user"
  37   35  
  38   36  #define AUTH_SEP        ","
↓ open down ↓ 4 lines elided ↑ open up ↑
  43   41  
  44   42  char *getusertype(char *cmdname);
  45   43  
  46   44  int is_role(char *usertype);
  47   45  
  48   46  void change_key(const char *, char *);
  49   47  void addkey_args(char **, int *);
  50   48  char *getsetdefval(const char *, char *);
  51   49  
  52   50  extern int nkeys;
       51 +
       52 +/* create_home() or rm_files() flags */
       53 +#define CHANGE_ZFS_FS_OPT       "CHANGE_ZFS_FS="
       54 +#define CHANGE_ZFS_FS   1
  53   55  
  54   56  #ifdef  __cplusplus
  55   57  }
  56   58  #endif
  57   59  
  58   60  #endif  /* _FUNCS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX