/*1* SPDX-License-Identifier: ISC2*3* Copyright (c) 1994-1996, 1998-1999, 20044* Todd C. Miller <[email protected]>5*6* Permission to use, copy, modify, and distribute this software for any7* purpose with or without fee is hereby granted, provided that the above8* copyright notice and this permission notice appear in all copies.9*10* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES11* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF12* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR13* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES14* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN15* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF16* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.17*/1819#ifndef SUDOERS_INSULTS_H20#define SUDOERS_INSULTS_H2122#if defined(HAL_INSULTS) || defined(GOONS_INSULTS) || defined(CLASSIC_INSULTS) || defined(CSOPS_INSULTS) || defined(PYTHON_INSULTS)2324#include <sudo_rand.h>2526/*27* Use one or more set of insults as determined by configure28*/2930const char *insults[] = {3132# ifdef HAL_INSULTS33# include "ins_2001.h"34# endif3536# ifdef GOONS_INSULTS37# include "ins_goons.h"38# endif3940# ifdef CLASSIC_INSULTS41# include "ins_classic.h"42# endif4344# ifdef CSOPS_INSULTS45# include "ins_csops.h"46# endif4748# ifdef PYTHON_INSULTS49# include "ins_python.h"50# endif5152NULL5354};5556/*57* How may I insult you? Let me count the ways...58*/59#define NOFINSULTS (nitems(insults) - 1)6061/*62* return a pseudo-random insult.63*/64#define INSULT (insults[arc4random_uniform(NOFINSULTS)])6566#endif /* HAL_INSULTS || GOONS_INSULTS || CLASSIC_INSULTS || CSOPS_INSULTS || PYTHON_INSULTS */6768#endif /* SUDOERS_INSULTS_H */697071