mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Move LOGIN_NAME_MAX compat define to login_max.c
This commit is contained in:
@@ -41,14 +41,6 @@
|
||||
#include <sudoers.h>
|
||||
#include <pwutil.h>
|
||||
|
||||
#ifndef LOGIN_NAME_MAX
|
||||
# ifdef _POSIX_LOGIN_NAME_MAX
|
||||
# define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX
|
||||
# else
|
||||
# define LOGIN_NAME_MAX 9
|
||||
# endif
|
||||
#endif /* LOGIN_NAME_MAX */
|
||||
|
||||
/*
|
||||
* For testsudoers and cvtsudoers need to support building with a different
|
||||
* function prefix and using custom getpwnam/getpwuid/getgrnam/getgrgid.
|
||||
|
Reference in New Issue
Block a user