mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
POSIX specifies getlogin() and getlogin_r(), and NuttX did not have them. NuttX has no login sessions, so the login name is the name of the real user ID in the user database, from getpwuid_r(): "root" when there is no passwd file. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lib_find_pwdfile.c | ||
| lib_getlogin.c | ||
| lib_getpwbuf.c | ||
| lib_getpwbufr.c | ||
| lib_getpwent.c | ||
| lib_getpwnam.c | ||
| lib_getpwnamr.c | ||
| lib_getpwuid.c | ||
| lib_getpwuidr.c | ||
| lib_getspnam.c | ||
| lib_getspnamr.c | ||
| lib_pwd.h | ||
| lib_pwd_globals.c | ||
| Make.defs | ||