/*
- * Copyright (c) 2009-2012 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2009-2013 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <config.h>
#include <sys/types.h>
-#include <sys/param.h>
#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <priv.h>
#endif
#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
#include "sudo.h"
#include "sudo_exec.h"
preload = fmt_string(RTLD_PRELOAD_VAR, sudo_conf_noexec_path());
# endif
if (preload == NULL)
- errorx(1, _("unable to allocate memory"));
+ fatalx(NULL);
nenvp[env_len++] = preload;
nenvp[env_len] = NULL;
} else {