mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Add OpenBSD malloc options.
This commit is contained in:
@@ -1022,6 +1022,13 @@ main(int argc, char *argv[])
|
||||
int ch;
|
||||
debug_decl_vars(main, SUDO_DEBUG_MAIN)
|
||||
|
||||
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||
{
|
||||
extern char *malloc_options;
|
||||
malloc_options = "S";
|
||||
}
|
||||
#endif
|
||||
|
||||
initprogname(argc > 0 ? argv[0] : "sudo_logsrvd");
|
||||
setlocale(LC_ALL, "");
|
||||
bindtextdomain("sudo", LOCALEDIR); /* XXX - add logsrvd domain */
|
||||
|
@@ -1129,6 +1129,13 @@ main(int argc, char *argv[])
|
||||
FILE *fp;
|
||||
debug_decl_vars(main, SUDO_DEBUG_MAIN)
|
||||
|
||||
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||
{
|
||||
extern char *malloc_options;
|
||||
malloc_options = "S";
|
||||
}
|
||||
#endif
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
initprogname(argc > 0 ? argv[0] : "sendlog");
|
||||
|
Reference in New Issue
Block a user