Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • toy's avatar
    d1a7c168
    From Eric Marsden: · d1a7c168
    toy authored
       Replace the code that grovels /etc/passwd files with an interface
       to the standard user and group database access functions. This
       makes CMUCL work better on systems where user databases are
       accessed using NIS or LDAP.
    
       Add functions UNIX-GETPWUID, UNIX-GETPWNAM that return structures
       of type USER-INFO, and UNIX-GETGRGID and UNIX-GETGRNAM that
       return structures of type GROUP-INFO. The functions return NIL if
       the requested information is not available. On Linux/glibc and
       Solaris, reentrant versions of the functions are used. On FreeBSD
       we call the non-thread-safe versions.
    d1a7c168
    History
    From Eric Marsden:
    toy authored
       Replace the code that grovels /etc/passwd files with an interface
       to the standard user and group database access functions. This
       makes CMUCL work better on systems where user databases are
       accessed using NIS or LDAP.
    
       Add functions UNIX-GETPWUID, UNIX-GETPWNAM that return structures
       of type USER-INFO, and UNIX-GETGRGID and UNIX-GETGRNAM that
       return structures of type GROUP-INFO. The functions return NIL if
       the requested information is not available. On Linux/glibc and
       Solaris, reentrant versions of the functions are used. On FreeBSD
       we call the non-thread-safe versions.