Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/llib-lc
          +++ new/usr/src/lib/libc/port/llib-lc
↓ open down ↓ 15 lines elided ↑ open up ↑
  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) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25   25   * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
       26 + * Copyright (c) 2013 Gary Mills
  26   27   */
  27   28  
  28   29  /* LINTLIBRARY */
  29   30  /* PROTOLIB1 */
  30   31  
  31   32  #define __EXTENSIONS__
  32   33  
  33   34  #include <aio.h>
  34   35  #include <alloca.h>
  35   36  #include <attr.h>
↓ open down ↓ 151 lines elided ↑ open up ↑
 187  188      struct group **);
 188  189  int __posix_getpwuid_r(uid_t, struct passwd *, char *, size_t,
 189  190      struct passwd **);
 190  191  int __posix_getpwnam_r(const char *, struct passwd *, char *, size_t,
 191  192      struct passwd **);
 192  193  int __posix_sigwait(const sigset_t * _RESTRICT_KYWD, int * _RESTRICT_KYWD);
 193  194  char *__posix_asctime_r(const struct tm *_RESTRICT_KYWD, char *_RESTRICT_KYWD);
 194  195  char *__posix_ctime_r(const time_t *, char *);
 195  196  int __posix_ttyname_r(int, char *, size_t);
 196  197  int __posix_getlogin_r(char *, int);
      198 +int __posix_getloginx_r(char *, int);
 197  199  
 198  200  /*
 199  201   * XPG4 versions of standard libc routines; these aren't extracted
 200  202   * from the headers above since we cannot #define _XPG4_2.
 201  203   */
 202  204  int __xpg4_putmsg(int, const struct strbuf *, const struct strbuf *, int);
 203  205  int __xpg4_putpmsg(int, const struct strbuf *, const struct strbuf *, int, int);
 204  206  
 205  207  /*
 206  208   * These aren't extracted from the headers above because:
↓ open down ↓ 263 lines elided ↑ open up ↑
 470  472  /* gethostid.c */
 471  473  long gethostid(void);
 472  474  
 473  475  /* gethz.c */
 474  476  int gethz(void);
 475  477  
 476  478  /* getisax.c */
 477  479  uint_t getisax(uint32_t *, uint_t);
 478  480  
 479  481  /* getlogin.c */
      482 +char *getloginx(void);
      483 +char *getloginx_r(char *, int);
      484 +#ifdef  getlogin
      485 +#undef  getlogin
      486 +#endif  /* getlogin */
 480  487  char *getlogin(void);
      488 +#ifdef  getlogin_r
      489 +#undef  getlogin_r
      490 +#endif  /* getlogin_r */
 481  491  char *getlogin_r(char *, int);
 482  492  
 483  493  /* getmntent.c */
 484  494  int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
 485  495  int getmntent(FILE *fd, struct mnttab *mp);
 486  496  
 487  497  /* getnetgrent.c */
 488  498  int setnetgrent(const char *grp);
 489  499  int endnetgrent(void);
 490  500  int getnetgrent(char **machinep, char **namep, char **domainp);
↓ open down ↓ 1302 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX