Forked from
cmucl / cmucl
Source project has a limited visibility.
-
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.
toy authoredReplace 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.