Remove traces of utmpx

-  USER_NAME_MAX_LENGTH was being calculated in terms of utmpx.  Do it
   in terms of utmp.
-  Remove utmpx support from the whishlist.
-  Remove unused tests about utmpx members.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2022-12-21 18:36:57 +01:00
committed by Iker Pedrosa
parent 170b76cdd1
commit 3be7b9d75a
3 changed files with 2 additions and 11 deletions

View File

@@ -238,8 +238,8 @@ static inline void memzero(void *ptr, size_t size)
#endif
/* Maximum length of usernames */
#include <utmpx.h>
#define USER_NAME_MAX_LENGTH (sizeof (((struct utmpx *)NULL)->ut_user))
#include <utmp.h>
#define USER_NAME_MAX_LENGTH (sizeof (((struct utmp *)NULL)->ut_user))
/* Maximum length of passwd entry */
#define PASSWD_ENTRY_MAX_LENGTH 32768