2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Add fuzzer-specific stubs source file.

This commit is contained in:
Todd C. Miller
2021-02-24 16:43:59 -07:00
parent 792407fbe5
commit 05767145b3
6 changed files with 135 additions and 60 deletions

View File

@@ -335,28 +335,6 @@ user_is_exempt(void)
return false;
}
/* STUB */
int
group_plugin_query(const char *user, const char *group, const struct passwd *pw)
{
return false;
}
/* STUB */
struct interface_list *
get_interfaces(void)
{
static struct interface_list empty = SLIST_HEAD_INITIALIZER(interfaces);
return ∅
}
/* STUB */
void
init_eventlog_config(void)
{
return;
}
/* STUB */
bool
set_interfaces(const char *ai)
@@ -399,27 +377,6 @@ sudo_auth_needs_end_session(void)
return false;
}
/* STUB */
bool
set_perms(int perm)
{
return true;
}
/* STUB */
bool
restore_perms(void)
{
return true;
}
/* STUB */
bool
rewind_perms(void)
{
return true;
}
/* STUB */
int
timestamp_remove(bool unlink_it)