Make flag in union sudo_defs_val bool to match how it is used.

Adjust find_path()'s ignore_dot function argument to match.
This commit is contained in:
Todd C. Miller
2023-09-13 14:59:29 -06:00
parent a9801cc99d
commit b8f2680cf0
7 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ cmnd_allowed(char *cmnd, size_t cmnd_size, struct stat *cmnd_sbp,
*/
int
find_path(const char *infile, char **outfile, struct stat *sbp,
const char *path, int ignore_dot, char * const *allowlist)
const char *path, bool ignore_dot, char * const *allowlist)
{
char command[PATH_MAX];
const char *cp, *ep, *pathend;