2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

No longer need to stub out eventlog config functions.

This commit is contained in:
Todd C. Miller
2021-02-25 16:08:55 -07:00
parent f5d7db56e7
commit df1b431110

View File

@@ -75,114 +75,6 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
return 0;
}
void
eventlog_set_type(int type)
{
return;
}
void
eventlog_set_format(enum eventlog_format format)
{
return;
}
void
eventlog_set_syslog_acceptpri(int pri)
{
return;
}
void
eventlog_set_syslog_rejectpri(int pri)
{
return;
}
void
eventlog_set_syslog_alertpri(int pri)
{
return;
}
void
eventlog_set_syslog_maxlen(int len)
{
return;
}
void
eventlog_set_file_maxlen(int len)
{
return;
}
void
eventlog_set_mailuid(uid_t uid)
{
return;
}
void
eventlog_set_omit_hostname(bool omit_hostname)
{
return;
}
void
eventlog_set_logpath(const char *path)
{
return;
}
void
eventlog_set_time_fmt(const char *fmt)
{
return;
}
void
eventlog_set_mailerpath(const char *path)
{
return;
}
void
eventlog_set_mailerflags(const char *mflags)
{
return;
}
void
eventlog_set_mailfrom(const char *from_addr)
{
return;
}
void
eventlog_set_mailto(const char *to_addr)
{
return;
}
void
eventlog_set_mailsub(const char *subject)
{
return;
}
void
eventlog_set_open_log(FILE *(*fn)(int type, const char *))
{
return;
}
void
eventlog_set_close_log(void (*fn)(int type, FILE *))
{
return;
}
void
iolog_set_defaults(void)
{