mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 15:25:58 +00:00
increased MAXCOMMANDLENGTH to 8k
HAVE_GETCWD -> HAVE_GETWD
This commit is contained in:
11
sudo.h
11
sudo.h
@@ -34,8 +34,11 @@
|
|||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
/* Max length for a command */
|
/*
|
||||||
#define MAXCOMMANDLENGTH MAXPATHLEN
|
* Max length for a command + args in the sudoers file.
|
||||||
|
* This is fairly arbitrary but 8K should be enough.
|
||||||
|
*/
|
||||||
|
#define MAXCOMMANDLENGTH 8192
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IP address and netmask pairs for checking against local interfaces.
|
* IP address and netmask pairs for checking against local interfaces.
|
||||||
@@ -144,8 +147,8 @@ extern int top;
|
|||||||
#ifndef HAVE_STRDUP
|
#ifndef HAVE_STRDUP
|
||||||
char *strdup __P((const char *));
|
char *strdup __P((const char *));
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_GETCWD
|
#ifndef HAVE_GETWD
|
||||||
char *getcwd __P((char *, size_t));
|
char *getwd __P((char *));
|
||||||
#endif
|
#endif
|
||||||
#if !defined(HAVE_PUTENV) && !defined(HAVE_SETENV)
|
#if !defined(HAVE_PUTENV) && !defined(HAVE_SETENV)
|
||||||
int putenv __P((const char *));
|
int putenv __P((const char *));
|
||||||
|
Reference in New Issue
Block a user