#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2010-2015, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
dnl
dnl Use the top-level autogen.sh script to generate configure and config.h.in
dnl
-dnl Copyright (c) 1994-1996,1998-2018 Todd C. Miller <Todd.Miller@sudo.ws>
+dnl SPDX-License-Identifier: ISC
+dnl
+dnl Copyright (c) 1994-1996, 1998-2018 Todd C. Miller <Todd.Miller@sudo.ws>
+dnl
+dnl Permission to use, copy, modify, and distribute this software for any
+dnl purpose with or without fee is hereby granted, provided that the above
+dnl copyright notice and this permission notice appear in all copies.
+dnl
+dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl
AC_PREREQ([2.59])
AC_INIT([sudo], [1.8.27], [https://bugzilla.sudo.ws/], [sudo])
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2010-2015, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
#!/bin/sh
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2012-2014, 2017 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1994-1996, 1998-2005, 2007-2018
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1994-1996, 1998-2005, 2007-2018
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2003-2019 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2003-2019 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1994-1996, 1998-2005, 2007-2019
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1994-1996, 1998-2005, 2007-2019
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Automatically generated from an mdoc input file. Do not edit.
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1996,1998-2005, 2007-2018
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
.\"
+.\" SPDX-License-Identifier: ISC
+.\"
.\" Copyright (c) 1996,1998-2005, 2007-2018
.\" Todd C. Miller <Todd.Miller@sudo.ws>
.\"
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2014, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2015, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, 2010 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/* $FreeBSD: head/include/getopt.h 203963 2010-02-16 19:28:10Z imp $ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2008, 2009-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2013, 2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015, 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004, 2010-2015, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007, 2010, 2011, 2013-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, 2010-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/* $OpenBSD: arc4random.c,v 1.54 2015/09/13 08:31:47 guenther Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, David Mazieres <dm@uun.org>
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
* Copyright (c) 2013, Markus Friedl <markus@openbsd.org>
/* $OpenBSD: arc4random.h,v 1.4 2015/01/15 06:57:18 deraadt Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, David Mazieres <dm@uun.org>
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
* Copyright (c) 2013, Markus Friedl <markus@openbsd.org>
/* $OpenBSD: arc4random_uniform.c,v 1.2 2015/09/13 08:31:47 guenther Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007, 2010, 2012-2015, 2017-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2010-2015, 2017-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/* $OpenBSD: fnmatch.c,v 1.15 2011/02/10 21:31:59 stsp Exp $ */
-/* Copyright (c) 2011, VMware, Inc.
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Copyright (c) 2011, VMware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, 2016 Todd C. Miller <millert@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1991, 1993
* The Regents of the University of California. All rights reserved.
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
* Copyright (c) 2014 Bob Beck <beck@obtuse.com>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2011, 2013-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/* $FreeBSD: head/lib/libc/stdlib/getopt_long.c 236936 2012-06-11 22:25:20Z delphij $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2002 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2008-2014 Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
/* $OpenBSD: inet_ntop.c,v 1.9 2014/02/05 14:20:43 millert Exp $ */
-/* Copyright (c) 1996 by Internet Software Consortium.
+/*
+ * SPDX-License-Identifier: ISC
+ *
+ * Copyright (c) 1996 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
/* $OpenBSD: inet_pton.c,v 1.8 2010/05/06 15:47:14 claudio Exp $ */
-/* Copyright (c) 1996 by Internet Software Consortium.
+/*
+ * SPDX-License-Identifier: ISC
+ *
+ * Copyright (c) 1996 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, 2010-2011, 2013
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2012, 2014-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007, 2009-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007, 2010-2014
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2012, 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2012, 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2001, 2003, 2004, 2008-2011, 2013, 2015, 2017, 2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2011, 2013, 2017-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007, 2013-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2000, 2002, 2012-2014
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/* $OpenBSD: reallocarray.c,v 1.2 2014/12/08 03:45:00 bcook Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012, 2014-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2012, 2014-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2015, 2017-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/* $OpenBSD: vfprintf.c,v 1.67 2014/12/21 00:23:30 daniel Exp $ */
-/*-
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2005, 2008, 2010-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 1990, 1993
/* $OpenBSD: strlcat.c,v 1.15 2015/03/02 21:41:08 millert Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1998, 2003-2005, 2010-2011, 2013-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/* $OpenBSD: strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1998, 2003-2005, 2010-2011, 2013-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/* $OpenBSD: strndup.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/* $OpenBSD: strnlen.c,v 1.5 2014/06/10 04:17:37 deraadt Exp $ */
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2012-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2015, 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2012, 2014-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2015, 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2016-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
#!/usr/bin/env perl
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
dnl Local m4 macros for autoconf (used by sudo)
dnl
+dnl SPDX-License-Identifier: ISC
+dnl
dnl Copyright (c) 1994-1996, 1998-2005, 2007-2015
dnl Todd C. Miller <Todd.Miller@sudo.ws>
dnl
+dnl Permission to use, copy, modify, and distribute this software for any
+dnl purpose with or without fee is hereby granted, provided that the above
+dnl copyright notice and this permission notice appear in all copies.
+dnl
+dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+dnl
dnl XXX - should cache values in all cases!!!
dnl
dnl checks for programs
#!/usr/bin/env perl
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2017 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
#!/bin/sh
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998, 1999, 2001, 2004, 2005, 2007-2014
* Todd C. Miller <Todd.Miller@sudo.ws>.
*
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2005,2008,2010-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 1996, 1998-2005, 2007-2018
# Todd C. Miller <Todd.Miller@sudo.ws>
#
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999, 2001-2005, 2007, 2010-2012, 2014-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2000-2005, 2007-2008, 2010-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2008, 2010-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2008, 2010-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2010-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1994-1996, 1998-2005, 2010-2012, 2014-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1998-2005, 2010-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007, 2010-2012, 2014-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 2002 Michael Stroucken <michael@stroucken.org>
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007, 2010-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2008-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2016, 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2015, 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2015 Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 2009 Christian S.J. Peron
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2010, 2013-2014 Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 2009 Christian S.J. Peron
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996,1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996,1998-2005, 2007-2014
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2008-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2000-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2010-2015, 2017-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
*
#define YYPREFIX "sudoers"
#line 2 "gram.y"
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2013, 2014-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
static struct defaults *new_default(char *, char *, short);
static struct member *new_member(char *, int);
static struct command_digest *new_digest(int, char *);
-#line 78 "gram.y"
+#line 80 "gram.y"
#ifndef YYSTYPE_DEFINED
#define YYSTYPE_DEFINED
typedef union {
int tok;
} YYSTYPE;
#endif /* YYSTYPE_DEFINED */
-#line 131 "gram.c"
+#line 133 "gram.c"
#define COMMAND 257
#define ALIAS 258
#define DEFVAR 259
YYSTYPE *yyvs;
unsigned int yystacksize;
int yyparse(void);
-#line 904 "gram.y"
+#line 906 "gram.y"
void
sudoerserror(const char *s)
{
opts->limitprivs = NULL;
#endif
}
-#line 1044 "gram.c"
+#line 1046 "gram.c"
/* allocate initial stack or double stack size, up to YYMAXDEPTH */
#if defined(__cplusplus) || defined(__STDC__)
static int yygrowstack(void)
switch (yyn)
{
case 1:
-#line 176 "gram.y"
+#line 178 "gram.y"
{ ; }
break;
case 5:
-#line 184 "gram.y"
+#line 186 "gram.y"
{
;
}
break;
case 6:
-#line 187 "gram.y"
+#line 189 "gram.y"
{
yyerrok;
}
break;
case 7:
-#line 190 "gram.y"
+#line 192 "gram.y"
{
if (!add_userspec(yyvsp[-1].member, yyvsp[0].privilege)) {
sudoerserror(N_("unable to allocate memory"));
}
break;
case 8:
-#line 196 "gram.y"
+#line 198 "gram.y"
{
;
}
break;
case 9:
-#line 199 "gram.y"
+#line 201 "gram.y"
{
;
}
break;
case 10:
-#line 202 "gram.y"
+#line 204 "gram.y"
{
;
}
break;
case 11:
-#line 205 "gram.y"
+#line 207 "gram.y"
{
;
}
break;
case 12:
-#line 208 "gram.y"
+#line 210 "gram.y"
{
if (!add_defaults(DEFAULTS, NULL, yyvsp[0].defaults))
YYERROR;
}
break;
case 13:
-#line 212 "gram.y"
+#line 214 "gram.y"
{
if (!add_defaults(DEFAULTS_USER, yyvsp[-1].member, yyvsp[0].defaults))
YYERROR;
}
break;
case 14:
-#line 216 "gram.y"
+#line 218 "gram.y"
{
if (!add_defaults(DEFAULTS_RUNAS, yyvsp[-1].member, yyvsp[0].defaults))
YYERROR;
}
break;
case 15:
-#line 220 "gram.y"
+#line 222 "gram.y"
{
if (!add_defaults(DEFAULTS_HOST, yyvsp[-1].member, yyvsp[0].defaults))
YYERROR;
}
break;
case 16:
-#line 224 "gram.y"
+#line 226 "gram.y"
{
if (!add_defaults(DEFAULTS_CMND, yyvsp[-1].member, yyvsp[0].defaults))
YYERROR;
}
break;
case 18:
-#line 231 "gram.y"
+#line 233 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].defaults, yyvsp[0].defaults, entries);
yyval.defaults = yyvsp[-2].defaults;
}
break;
case 19:
-#line 237 "gram.y"
+#line 239 "gram.y"
{
yyval.defaults = new_default(yyvsp[0].string, NULL, true);
if (yyval.defaults == NULL) {
}
break;
case 20:
-#line 244 "gram.y"
+#line 246 "gram.y"
{
yyval.defaults = new_default(yyvsp[0].string, NULL, false);
if (yyval.defaults == NULL) {
}
break;
case 21:
-#line 251 "gram.y"
+#line 253 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, true);
if (yyval.defaults == NULL) {
}
break;
case 22:
-#line 258 "gram.y"
+#line 260 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, '+');
if (yyval.defaults == NULL) {
}
break;
case 23:
-#line 265 "gram.y"
+#line 267 "gram.y"
{
yyval.defaults = new_default(yyvsp[-2].string, yyvsp[0].string, '-');
if (yyval.defaults == NULL) {
}
break;
case 25:
-#line 275 "gram.y"
+#line 277 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].privilege, yyvsp[0].privilege, entries);
yyval.privilege = yyvsp[-2].privilege;
}
break;
case 26:
-#line 281 "gram.y"
+#line 283 "gram.y"
{
struct privilege *p = calloc(1, sizeof(*p));
if (p == NULL) {
}
break;
case 27:
-#line 295 "gram.y"
+#line 297 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = false;
}
break;
case 28:
-#line 299 "gram.y"
+#line 301 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = true;
}
break;
case 29:
-#line 305 "gram.y"
+#line 307 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
if (yyval.member == NULL) {
}
break;
case 30:
-#line 312 "gram.y"
+#line 314 "gram.y"
{
yyval.member = new_member(NULL, ALL);
if (yyval.member == NULL) {
}
break;
case 31:
-#line 319 "gram.y"
+#line 321 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NETGROUP);
if (yyval.member == NULL) {
}
break;
case 32:
-#line 326 "gram.y"
+#line 328 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NTWKADDR);
if (yyval.member == NULL) {
}
break;
case 33:
-#line 333 "gram.y"
+#line 335 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
if (yyval.member == NULL) {
}
break;
case 35:
-#line 343 "gram.y"
+#line 345 "gram.y"
{
struct cmndspec *prev;
prev = HLTQ_LAST(yyvsp[-2].cmndspec, cmndspec, entries);
}
break;
case 36:
-#line 396 "gram.y"
+#line 398 "gram.y"
{
struct cmndspec *cs = calloc(1, sizeof(*cs));
if (cs == NULL) {
}
break;
case 37:
-#line 447 "gram.y"
+#line 449 "gram.y"
{
yyval.digest = new_digest(SUDO_DIGEST_SHA224, yyvsp[0].string);
if (yyval.digest == NULL) {
}
break;
case 38:
-#line 454 "gram.y"
+#line 456 "gram.y"
{
yyval.digest = new_digest(SUDO_DIGEST_SHA256, yyvsp[0].string);
if (yyval.digest == NULL) {
}
break;
case 39:
-#line 461 "gram.y"
+#line 463 "gram.y"
{
yyval.digest = new_digest(SUDO_DIGEST_SHA384, yyvsp[0].string);
if (yyval.digest == NULL) {
}
break;
case 40:
-#line 468 "gram.y"
+#line 470 "gram.y"
{
yyval.digest = new_digest(SUDO_DIGEST_SHA512, yyvsp[0].string);
if (yyval.digest == NULL) {
}
break;
case 41:
-#line 477 "gram.y"
+#line 479 "gram.y"
{
yyval.member = yyvsp[0].member;
}
break;
case 42:
-#line 480 "gram.y"
+#line 482 "gram.y"
{
if (yyvsp[0].member->type != COMMAND) {
sudoerserror(N_("a digest requires a path name"));
}
break;
case 43:
-#line 491 "gram.y"
+#line 493 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = false;
}
break;
case 44:
-#line 495 "gram.y"
+#line 497 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = true;
}
break;
case 45:
-#line 501 "gram.y"
+#line 503 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 46:
-#line 506 "gram.y"
+#line 508 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 47:
-#line 510 "gram.y"
+#line 512 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 48:
-#line 515 "gram.y"
+#line 517 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 49:
-#line 520 "gram.y"
+#line 522 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 50:
-#line 525 "gram.y"
+#line 527 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 51:
-#line 529 "gram.y"
+#line 531 "gram.y"
{
yyval.string = yyvsp[0].string;
}
break;
case 52:
-#line 534 "gram.y"
+#line 536 "gram.y"
{
yyval.runas = NULL;
}
break;
case 53:
-#line 537 "gram.y"
+#line 539 "gram.y"
{
yyval.runas = yyvsp[-1].runas;
}
break;
case 54:
-#line 542 "gram.y"
+#line 544 "gram.y"
{
yyval.runas = calloc(1, sizeof(struct runascontainer));
if (yyval.runas != NULL) {
}
break;
case 55:
-#line 557 "gram.y"
+#line 559 "gram.y"
{
yyval.runas = calloc(1, sizeof(struct runascontainer));
if (yyval.runas == NULL) {
}
break;
case 56:
-#line 566 "gram.y"
+#line 568 "gram.y"
{
yyval.runas = calloc(1, sizeof(struct runascontainer));
if (yyval.runas == NULL) {
}
break;
case 57:
-#line 575 "gram.y"
+#line 577 "gram.y"
{
yyval.runas = calloc(1, sizeof(struct runascontainer));
if (yyval.runas == NULL) {
}
break;
case 58:
-#line 584 "gram.y"
+#line 586 "gram.y"
{
yyval.runas = calloc(1, sizeof(struct runascontainer));
if (yyval.runas != NULL) {
}
break;
case 59:
-#line 601 "gram.y"
+#line 603 "gram.y"
{
init_options(&yyval.options);
}
break;
case 60:
-#line 604 "gram.y"
+#line 606 "gram.y"
{
yyval.options.notbefore = parse_gentime(yyvsp[0].string);
free(yyvsp[0].string);
}
break;
case 61:
-#line 612 "gram.y"
+#line 614 "gram.y"
{
yyval.options.notafter = parse_gentime(yyvsp[0].string);
free(yyvsp[0].string);
}
break;
case 62:
-#line 620 "gram.y"
+#line 622 "gram.y"
{
yyval.options.timeout = parse_timeout(yyvsp[0].string);
free(yyvsp[0].string);
}
break;
case 63:
-#line 631 "gram.y"
+#line 633 "gram.y"
{
#ifdef HAVE_SELINUX
free(yyval.options.role);
}
break;
case 64:
-#line 637 "gram.y"
+#line 639 "gram.y"
{
#ifdef HAVE_SELINUX
free(yyval.options.type);
}
break;
case 65:
-#line 643 "gram.y"
+#line 645 "gram.y"
{
#ifdef HAVE_PRIV_SET
free(yyval.options.privs);
}
break;
case 66:
-#line 649 "gram.y"
+#line 651 "gram.y"
{
#ifdef HAVE_PRIV_SET
free(yyval.options.limitprivs);
}
break;
case 67:
-#line 657 "gram.y"
+#line 659 "gram.y"
{
TAGS_INIT(yyval.tag);
}
break;
case 68:
-#line 660 "gram.y"
+#line 662 "gram.y"
{
yyval.tag.nopasswd = true;
}
break;
case 69:
-#line 663 "gram.y"
+#line 665 "gram.y"
{
yyval.tag.nopasswd = false;
}
break;
case 70:
-#line 666 "gram.y"
+#line 668 "gram.y"
{
yyval.tag.noexec = true;
}
break;
case 71:
-#line 669 "gram.y"
+#line 671 "gram.y"
{
yyval.tag.noexec = false;
}
break;
case 72:
-#line 672 "gram.y"
+#line 674 "gram.y"
{
yyval.tag.setenv = true;
}
break;
case 73:
-#line 675 "gram.y"
+#line 677 "gram.y"
{
yyval.tag.setenv = false;
}
break;
case 74:
-#line 678 "gram.y"
+#line 680 "gram.y"
{
yyval.tag.log_input = true;
}
break;
case 75:
-#line 681 "gram.y"
+#line 683 "gram.y"
{
yyval.tag.log_input = false;
}
break;
case 76:
-#line 684 "gram.y"
+#line 686 "gram.y"
{
yyval.tag.log_output = true;
}
break;
case 77:
-#line 687 "gram.y"
+#line 689 "gram.y"
{
yyval.tag.log_output = false;
}
break;
case 78:
-#line 690 "gram.y"
+#line 692 "gram.y"
{
yyval.tag.follow = true;
}
break;
case 79:
-#line 693 "gram.y"
+#line 695 "gram.y"
{
yyval.tag.follow = false;
}
break;
case 80:
-#line 696 "gram.y"
+#line 698 "gram.y"
{
yyval.tag.send_mail = true;
}
break;
case 81:
-#line 699 "gram.y"
+#line 701 "gram.y"
{
yyval.tag.send_mail = false;
}
break;
case 82:
-#line 704 "gram.y"
+#line 706 "gram.y"
{
yyval.member = new_member(NULL, ALL);
if (yyval.member == NULL) {
}
break;
case 83:
-#line 711 "gram.y"
+#line 713 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
if (yyval.member == NULL) {
}
break;
case 84:
-#line 718 "gram.y"
+#line 720 "gram.y"
{
struct sudo_command *c = calloc(1, sizeof(*c));
if (c == NULL) {
}
break;
case 87:
-#line 739 "gram.y"
+#line 741 "gram.y"
{
const char *s;
s = alias_add(&parsed_policy, yyvsp[-2].string, HOSTALIAS,
}
break;
case 89:
-#line 751 "gram.y"
+#line 753 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].member, yyvsp[0].member, entries);
yyval.member = yyvsp[-2].member;
}
break;
case 92:
-#line 761 "gram.y"
+#line 763 "gram.y"
{
const char *s;
s = alias_add(&parsed_policy, yyvsp[-2].string, CMNDALIAS,
}
break;
case 94:
-#line 773 "gram.y"
+#line 775 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].member, yyvsp[0].member, entries);
yyval.member = yyvsp[-2].member;
}
break;
case 97:
-#line 783 "gram.y"
+#line 785 "gram.y"
{
const char *s;
s = alias_add(&parsed_policy, yyvsp[-2].string, RUNASALIAS,
}
break;
case 100:
-#line 798 "gram.y"
+#line 800 "gram.y"
{
const char *s;
s = alias_add(&parsed_policy, yyvsp[-2].string, USERALIAS,
}
break;
case 102:
-#line 810 "gram.y"
+#line 812 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].member, yyvsp[0].member, entries);
yyval.member = yyvsp[-2].member;
}
break;
case 103:
-#line 816 "gram.y"
+#line 818 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = false;
}
break;
case 104:
-#line 820 "gram.y"
+#line 822 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = true;
}
break;
case 105:
-#line 826 "gram.y"
+#line 828 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
if (yyval.member == NULL) {
}
break;
case 106:
-#line 833 "gram.y"
+#line 835 "gram.y"
{
yyval.member = new_member(NULL, ALL);
if (yyval.member == NULL) {
}
break;
case 107:
-#line 840 "gram.y"
+#line 842 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, NETGROUP);
if (yyval.member == NULL) {
}
break;
case 108:
-#line 847 "gram.y"
+#line 849 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, USERGROUP);
if (yyval.member == NULL) {
}
break;
case 109:
-#line 854 "gram.y"
+#line 856 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
if (yyval.member == NULL) {
}
break;
case 111:
-#line 864 "gram.y"
+#line 866 "gram.y"
{
HLTQ_CONCAT(yyvsp[-2].member, yyvsp[0].member, entries);
yyval.member = yyvsp[-2].member;
}
break;
case 112:
-#line 870 "gram.y"
+#line 872 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = false;
}
break;
case 113:
-#line 874 "gram.y"
+#line 876 "gram.y"
{
yyval.member = yyvsp[0].member;
yyval.member->negated = true;
}
break;
case 114:
-#line 880 "gram.y"
+#line 882 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, ALIAS);
if (yyval.member == NULL) {
}
break;
case 115:
-#line 887 "gram.y"
+#line 889 "gram.y"
{
yyval.member = new_member(NULL, ALL);
if (yyval.member == NULL) {
}
break;
case 116:
-#line 894 "gram.y"
+#line 896 "gram.y"
{
yyval.member = new_member(yyvsp[0].string, WORD);
if (yyval.member == NULL) {
}
}
break;
-#line 2173 "gram.c"
+#line 2175 "gram.c"
}
yyssp -= yym;
yystate = *yyssp;
%{
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2013, 2014-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998, 1999, 2004
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1994-1996, 1998-1999, 2004
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007, 2010-2013
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2003-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* This code is derived from software contributed by Aaron Spangler.
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2003-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* This code is derived from software contributed by Aaron Spangler.
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013, 2016, 2018-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* This code is derived from software contributed by Aaron Spangler.
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1994-1996, 1998-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2009-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011, 2014-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2019
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2000, 2004, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996,1998-2005, 2007-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2013, 2015-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2016-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2007, 2009-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004, 2007, 2010, 2013
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1994-1996, 1998-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014, Oracle and/or its affiliates.
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014, Oracle and/or its affiliates.
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2003-2018 Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 2011 Daniel Kopecek <dkopecek@redhat.com>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007-2011, 2013-2015, 2017-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2012 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996, 1998-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996, 1998-2005, 2007-2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2013, 2015, 2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2014-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999, 2009-2011, 2013-2015, 2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
#line 1 "toke.l"
#line 2 "toke.l"
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
-#line 2275 "toke.c"
+#line 2277 "toke.c"
#define INITIAL 0
#define GOTDEFS 1
}
{
-#line 113 "toke.l"
+#line 115 "toke.l"
-#line 2493 "toke.c"
+#line 2495 "toke.c"
while ( 1 ) /* loops until end-of-file is reached */
{
case 1:
YY_RULE_SETUP
-#line 114 "toke.l"
+#line 116 "toke.l"
{
LEXTRACE(", ");
LEXRETURN(',');
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 119 "toke.l"
+#line 121 "toke.l"
BEGIN STARTDEFS;
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 121 "toke.l"
+#line 123 "toke.l"
{
BEGIN INDEFS;
LEXTRACE("DEFVAR ");
case 4:
YY_RULE_SETUP
-#line 130 "toke.l"
+#line 132 "toke.l"
{
BEGIN STARTDEFS;
LEXTRACE(", ");
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 136 "toke.l"
+#line 138 "toke.l"
{
LEXTRACE("= ");
LEXRETURN('=');
YY_BREAK
case 6:
YY_RULE_SETUP
-#line 141 "toke.l"
+#line 143 "toke.l"
{
LEXTRACE("+= ");
LEXRETURN('+');
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 146 "toke.l"
+#line 148 "toke.l"
{
LEXTRACE("-= ");
LEXRETURN('-');
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 151 "toke.l"
+#line 153 "toke.l"
{
LEXTRACE("BEGINSTR ");
sudoerslval.string = NULL;
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 158 "toke.l"
+#line 160 "toke.l"
{
LEXTRACE("WORD(2) ");
if (!fill(sudoerstext, sudoersleng))
case 10:
/* rule 10 can match eol */
YY_RULE_SETUP
-#line 167 "toke.l"
+#line 169 "toke.l"
{
/* Line continuation char followed by newline. */
sudolineno++;
YY_BREAK
case 11:
YY_RULE_SETUP
-#line 173 "toke.l"
+#line 175 "toke.l"
{
LEXTRACE("ENDSTR ");
BEGIN prev_state;
YY_BREAK
case 12:
YY_RULE_SETUP
-#line 205 "toke.l"
+#line 207 "toke.l"
{
LEXTRACE("BACKSLASH ");
if (!append(sudoerstext, sudoersleng))
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 211 "toke.l"
+#line 213 "toke.l"
{
LEXTRACE("STRBODY ");
if (!append(sudoerstext, sudoersleng))
case 14:
YY_RULE_SETUP
-#line 219 "toke.l"
+#line 221 "toke.l"
{
/* quoted fnmatch glob char, pass verbatim */
LEXTRACE("QUOTEDCHAR ");
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 227 "toke.l"
+#line 229 "toke.l"
{
/* quoted sudoers special char, strip backslash */
LEXTRACE("QUOTEDCHAR ");
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
-#line 235 "toke.l"
+#line 237 "toke.l"
{
BEGIN INITIAL;
yyless(0);
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 241 "toke.l"
+#line 243 "toke.l"
{
LEXTRACE("ARG ");
if (!fill_args(sudoerstext, sudoersleng, sawspace))
case 18:
YY_RULE_SETUP
-#line 249 "toke.l"
+#line 251 "toke.l"
{
/* Only return DIGEST if the length is correct. */
yy_size_t digest_len =
YY_BREAK
case 19:
YY_RULE_SETUP
-#line 264 "toke.l"
+#line 266 "toke.l"
{
/* Only return DIGEST if the length is correct. */
yy_size_t len, digest_len =
case 20:
/* rule 20 can match eol */
YY_RULE_SETUP
-#line 286 "toke.l"
+#line 288 "toke.l"
{
char *path;
case 21:
/* rule 21 can match eol */
YY_RULE_SETUP
-#line 304 "toke.l"
+#line 306 "toke.l"
{
char *path;
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 325 "toke.l"
+#line 327 "toke.l"
{
char deftype;
int n;
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 365 "toke.l"
+#line 367 "toke.l"
{
int n;
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 391 "toke.l"
+#line 393 "toke.l"
{
/* cmnd does not require passwd for this user */
LEXTRACE("NOPASSWD ");
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 397 "toke.l"
+#line 399 "toke.l"
{
/* cmnd requires passwd for this user */
LEXTRACE("PASSWD ");
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 403 "toke.l"
+#line 405 "toke.l"
{
LEXTRACE("NOEXEC ");
LEXRETURN(NOEXEC);
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 408 "toke.l"
+#line 410 "toke.l"
{
LEXTRACE("EXEC ");
LEXRETURN(EXEC);
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 413 "toke.l"
+#line 415 "toke.l"
{
LEXTRACE("SETENV ");
LEXRETURN(SETENV);
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 418 "toke.l"
+#line 420 "toke.l"
{
LEXTRACE("NOSETENV ");
LEXRETURN(NOSETENV);
YY_BREAK
case 30:
YY_RULE_SETUP
-#line 423 "toke.l"
+#line 425 "toke.l"
{
LEXTRACE("LOG_OUTPUT ");
LEXRETURN(LOG_OUTPUT);
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 428 "toke.l"
+#line 430 "toke.l"
{
LEXTRACE("NOLOG_OUTPUT ");
LEXRETURN(NOLOG_OUTPUT);
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 433 "toke.l"
+#line 435 "toke.l"
{
LEXTRACE("LOG_INPUT ");
LEXRETURN(LOG_INPUT);
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 438 "toke.l"
+#line 440 "toke.l"
{
LEXTRACE("NOLOG_INPUT ");
LEXRETURN(NOLOG_INPUT);
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 443 "toke.l"
+#line 445 "toke.l"
{
LEXTRACE("MAIL ");
LEXRETURN(MAIL);
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 448 "toke.l"
+#line 450 "toke.l"
{
LEXTRACE("NOMAIL ");
LEXRETURN(NOMAIL);
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 453 "toke.l"
+#line 455 "toke.l"
{
LEXTRACE("FOLLOW ");
LEXRETURN(FOLLOWLNK);
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 458 "toke.l"
+#line 460 "toke.l"
{
LEXTRACE("NOFOLLOW ");
LEXRETURN(NOFOLLOWLNK);
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 463 "toke.l"
+#line 465 "toke.l"
{
/* empty group or netgroup */
LEXTRACE("ERROR ");
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 469 "toke.l"
+#line 471 "toke.l"
{
/* netgroup */
if (!fill(sudoerstext, sudoersleng))
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 477 "toke.l"
+#line 479 "toke.l"
{
/* group */
if (!fill(sudoerstext, sudoersleng))
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 485 "toke.l"
+#line 487 "toke.l"
{
if (!fill(sudoerstext, sudoersleng))
yyterminate();
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 492 "toke.l"
+#line 494 "toke.l"
{
if (!fill(sudoerstext, sudoersleng))
yyterminate();
YY_BREAK
case 43:
YY_RULE_SETUP
-#line 499 "toke.l"
+#line 501 "toke.l"
{
if (!ipv6_valid(sudoerstext)) {
LEXTRACE("ERROR ");
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 510 "toke.l"
+#line 512 "toke.l"
{
if (!ipv6_valid(sudoerstext)) {
LEXTRACE("ERROR ");
YY_BREAK
case 45:
YY_RULE_SETUP
-#line 521 "toke.l"
+#line 523 "toke.l"
{
LEXTRACE("ALL ");
LEXRETURN(ALL);
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 527 "toke.l"
+#line 529 "toke.l"
{
LEXTRACE("CMND_TIMEOUT ");
LEXRETURN(CMND_TIMEOUT);
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 532 "toke.l"
+#line 534 "toke.l"
{
LEXTRACE("NOTBEFORE ");
LEXRETURN(NOTBEFORE);
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 537 "toke.l"
+#line 539 "toke.l"
{
LEXTRACE("NOTAFTER ");
LEXRETURN(NOTAFTER);
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 542 "toke.l"
+#line 544 "toke.l"
{
#ifdef HAVE_SELINUX
LEXTRACE("ROLE ");
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 551 "toke.l"
+#line 553 "toke.l"
{
#ifdef HAVE_SELINUX
LEXTRACE("TYPE ");
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 559 "toke.l"
+#line 561 "toke.l"
{
#ifdef HAVE_PRIV_SET
LEXTRACE("PRIVS ");
YY_BREAK
case 52:
YY_RULE_SETUP
-#line 568 "toke.l"
+#line 570 "toke.l"
{
#ifdef HAVE_PRIV_SET
LEXTRACE("LIMITPRIVS ");
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 577 "toke.l"
+#line 579 "toke.l"
{
got_alias:
if (!fill(sudoerstext, sudoersleng))
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 585 "toke.l"
+#line 587 "toke.l"
{
/* XXX - no way to specify digest for command */
/* no command args allowed for Defaults!/path */
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 594 "toke.l"
+#line 596 "toke.l"
{
digest_type = SUDO_DIGEST_SHA224;
BEGIN WANTDIGEST;
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 601 "toke.l"
+#line 603 "toke.l"
{
digest_type = SUDO_DIGEST_SHA256;
BEGIN WANTDIGEST;
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 608 "toke.l"
+#line 610 "toke.l"
{
digest_type = SUDO_DIGEST_SHA384;
BEGIN WANTDIGEST;
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 615 "toke.l"
+#line 617 "toke.l"
{
digest_type = SUDO_DIGEST_SHA512;
BEGIN WANTDIGEST;
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 622 "toke.l"
+#line 624 "toke.l"
{
BEGIN GOTCMND;
LEXTRACE("COMMAND ");
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 629 "toke.l"
+#line 631 "toke.l"
{
/* directories can't have args... */
if (sudoerstext[sudoersleng - 1] == '/') {
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 644 "toke.l"
+#line 646 "toke.l"
{
LEXTRACE("BEGINSTR ");
sudoerslval.string = NULL;
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 651 "toke.l"
+#line 653 "toke.l"
{
/* a word */
if (!fill(sudoerstext, sudoersleng))
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 659 "toke.l"
+#line 661 "toke.l"
{
LEXTRACE("( ");
LEXRETURN('(');
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 664 "toke.l"
+#line 666 "toke.l"
{
LEXTRACE(") ");
LEXRETURN(')');
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 669 "toke.l"
+#line 671 "toke.l"
{
LEXTRACE(", ");
LEXRETURN(',');
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 674 "toke.l"
+#line 676 "toke.l"
{
LEXTRACE("= ");
LEXRETURN('=');
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 679 "toke.l"
+#line 681 "toke.l"
{
LEXTRACE(": ");
LEXRETURN(':');
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 684 "toke.l"
+#line 686 "toke.l"
{
if (sudoersleng & 1) {
LEXTRACE("!");
case 69:
/* rule 69 can match eol */
YY_RULE_SETUP
-#line 691 "toke.l"
+#line 693 "toke.l"
{
if (YY_START == INSTR) {
LEXTRACE("ERROR ");
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 703 "toke.l"
+#line 705 "toke.l"
{ /* throw away space/tabs */
sawspace = true; /* but remember for fill_args */
}
case 71:
/* rule 71 can match eol */
YY_RULE_SETUP
-#line 707 "toke.l"
+#line 709 "toke.l"
{
sawspace = true; /* remember for fill_args */
sudolineno++;
case 72:
/* rule 72 can match eol */
YY_RULE_SETUP
-#line 713 "toke.l"
+#line 715 "toke.l"
{
if (sudoerstext[sudoersleng - 1] == '\n') {
/* comment ending in a newline */
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 727 "toke.l"
+#line 729 "toke.l"
{
LEXTRACE("ERROR ");
LEXRETURN(ERROR);
case YY_STATE_EOF(INDEFS):
case YY_STATE_EOF(INSTR):
case YY_STATE_EOF(WANTDIGEST):
-#line 732 "toke.l"
+#line 734 "toke.l"
{
if (YY_START != INITIAL) {
BEGIN INITIAL;
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 742 "toke.l"
+#line 744 "toke.l"
ECHO;
YY_BREAK
-#line 3419 "toke.c"
+#line 3421 "toke.c"
case YY_END_OF_BUFFER:
{
#define YYTABLES_NAME "yytables"
-#line 742 "toke.l"
+#line 744 "toke.l"
struct path_list {
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2013, 2015-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
%{
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2018-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2005, 2008, 2010-2015
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
#
+# SPDX-License-Identifier: ISC
+#
# Copyright (c) 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
#
# Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1999-2005, 2007-2012 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2012-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2012, 2014-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2015, 2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996, 1998-2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010, 2011, 2013 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2013-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2016 Todd C. Miller <Todd.Miller@sudo.ws>
* Copyright (c) 2008 Dan Walsh <dwalsh@redhat.com>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2008, 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2015 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2009-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1993-1996, 1998-2005, 2007-2016
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2008, 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2016 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2004-2005, 2010-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2010-2014 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2007-2010, 2013, 2015, 2017
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2017 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 1996, 1998-2005, 2007-2018
* Todd C. Miller <Todd.Miller@sudo.ws>
*
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2012-2019 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any
/*
+ * SPDX-License-Identifier: ISC
+ *
* Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
*
* Permission to use, copy, modify, and distribute this software for any