version 1.17, 2008/11/22 16:33:42 |
version 1.18, 2009/06/21 14:48:42 |
|
|
/* |
/* |
* Copyright (c) 1996, 1998-2005, 2007-2008 |
* Copyright (c) 1996, 1998-2005, 2007-2009 |
* Todd C. Miller <Todd.Miller@courtesan.com> |
* Todd C. Miller <Todd.Miller@courtesan.com> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
|
|
#endif /* HAVE_FNMATCH */ |
#endif /* HAVE_FNMATCH */ |
|
|
#ifndef lint |
#ifndef lint |
__unused static const char rcsid[] = "$Sudo: testsudoers.c,v 1.128 2008/11/19 17:01:20 millert Exp $"; |
__unused static const char rcsid[] = "$Sudo: testsudoers.c,v 1.131 2009/05/25 12:02:42 millert Exp $"; |
#endif /* lint */ |
#endif /* lint */ |
|
|
|
|
|
|
} |
} |
|
|
FILE * |
FILE * |
open_sudoers(path, keepopen) |
open_sudoers(path, isdir, keepopen) |
const char *path; |
const char *path; |
|
int isdir; |
int *keepopen; |
int *keepopen; |
{ |
{ |
return(fopen(path, "r")); |
return(fopen(path, "r")); |
|
|
return; |
return; |
} |
} |
|
|
void |
int |
set_perms(perm) |
set_perms(perm) |
int perm; |
int perm; |
{ |
{ |
return; |
return(1); |
} |
} |
|
|
void |
void |