Move SUDOERS_QUOTED define to parse.h
This commit is contained in:
@@ -38,9 +38,6 @@
|
|||||||
#include "sudo_lbuf.h"
|
#include "sudo_lbuf.h"
|
||||||
#include <gram.h>
|
#include <gram.h>
|
||||||
|
|
||||||
/* Characters that must be quoted in sudoers */
|
|
||||||
#define SUDOERS_QUOTED ":\\,=#\""
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local prototypes.
|
* Local prototypes.
|
||||||
*/
|
*/
|
||||||
@@ -844,7 +841,7 @@ done:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Print the contents of a struct member to stdout
|
* Write the contents of a struct member to the lbuf
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
print_member_int(struct sudo_lbuf *lbuf, char *name, int type, int negated,
|
print_member_int(struct sudo_lbuf *lbuf, char *name, int type, int negated,
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
#ifndef SUDOERS_PARSE_H
|
#ifndef SUDOERS_PARSE_H
|
||||||
#define SUDOERS_PARSE_H
|
#define SUDOERS_PARSE_H
|
||||||
|
|
||||||
|
/* Characters that must be quoted in sudoers */
|
||||||
|
#define SUDOERS_QUOTED ":\\,=#\""
|
||||||
|
|
||||||
#undef UNSPEC
|
#undef UNSPEC
|
||||||
#define UNSPEC -1
|
#define UNSPEC -1
|
||||||
#undef DENY
|
#undef DENY
|
||||||
|
Reference in New Issue
Block a user