Remove CVS $Sudo$ tags.

This commit is contained in:
Todd C. Miller
2010-01-17 19:51:28 -05:00
parent 4a50fafc14
commit 3bb69ffe81
113 changed files with 1 additions and 361 deletions

View File

@@ -14,8 +14,6 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
# $Sudo$
#
srcdir = . srcdir = .

View File

@@ -21,8 +21,6 @@
# #
# @configure_input@ # @configure_input@
# #
# $Sudo$
#
#### Start of system configuration section. #### #### Start of system configuration section. ####
@@ -450,7 +448,7 @@ sudoers.cat: sudoers.man
@DEV@ pod2text -l -i0 $> | sed '1,2d' > $@ @DEV@ pod2text -l -i0 $> | sed '1,2d' > $@
ChangeLog: ChangeLog:
cvs2cl --follow-only trunk hg log --style=changelog -b default > ChangeLog
install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man

4
aix.c
View File

@@ -32,10 +32,6 @@
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#ifdef HAVE_GETUSERATTR #ifdef HAVE_GETUSERATTR
#ifndef RLIM_SAVED_MAX #ifndef RLIM_SAVED_MAX

View File

@@ -46,10 +46,6 @@
#include "redblack.h" #include "redblack.h"
#include <gram.h> #include <gram.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Globals * Globals
*/ */

View File

@@ -48,10 +48,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t
* could be signed (as it is on SunOS 4.x). This just means that * could be signed (as it is on SunOS 4.x). This just means that

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_ALLOC_H #ifndef _SUDO_ALLOC_H

View File

@@ -50,10 +50,6 @@
#include <afs/stds.h> #include <afs/stds.h>
#include <afs/kautils.h> #include <afs/kautils.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
afs_verify(pw, pass, auth) afs_verify(pw, pass, auth)
struct passwd *pw; struct passwd *pw;

View File

@@ -46,10 +46,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* For a description of the AIX authentication API, see * For a description of the AIX authentication API, see
* http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/authenticate.htm * http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/authenticate.htm

View File

@@ -51,10 +51,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
extern char *login_style; /* from sudo.c */ extern char *login_style; /* from sudo.c */
int int

View File

@@ -64,10 +64,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static int check_dce_status __P((error_status_t, char *)); static int check_dce_status __P((error_status_t, char *));
int int

View File

@@ -49,10 +49,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
fwtk_init(pw, promptp, auth) fwtk_init(pw, promptp, auth)
struct passwd *pw; struct passwd *pw;

View File

@@ -47,10 +47,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
kerb4_init(pw, promptp, auth) kerb4_init(pw, promptp, auth)
struct passwd *pw; struct passwd *pw;

View File

@@ -53,10 +53,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#ifdef HAVE_HEIMDAL #ifdef HAVE_HEIMDAL
# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1) # define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1)
# define krb5_free_data_contents(c, d) krb5_data_free(d) # define krb5_free_data_contents(c, d) krb5_data_free(d)

View File

@@ -72,10 +72,6 @@
# define PAM_CONST # define PAM_CONST
#endif #endif
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static int sudo_conv __P((int, PAM_CONST struct pam_message **, static int sudo_conv __P((int, PAM_CONST struct pam_message **,
struct pam_response **, void *)); struct pam_response **, void *));
static char *def_prompt = "Password:"; static char *def_prompt = "Password:";

View File

@@ -46,10 +46,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#define DESLEN 13 #define DESLEN 13
#define HAS_AGEINFO(p, l) (l == 18 && p[DESLEN] == ',') #define HAS_AGEINFO(p, l) (l == 18 && p[DESLEN] == ',')

View File

@@ -63,10 +63,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
rfc1938_setup(pw, promptp, auth) rfc1938_setup(pw, promptp, auth)
struct passwd *pw; struct passwd *pw;

View File

@@ -53,10 +53,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
secureware_init(pw, promptp, auth) secureware_init(pw, promptp, auth)
struct passwd *pw; struct passwd *pw;

View File

@@ -53,10 +53,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
union config_record configure; union config_record configure;
int int

View File

@@ -55,10 +55,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* securid_init - Initialises communications with ACE server * securid_init - Initialises communications with ACE server
* Arguments in: * Arguments in:

View File

@@ -49,10 +49,6 @@
#include "sudo.h" #include "sudo.h"
#include "sudo_auth.h" #include "sudo_auth.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static int sudo_collect __P((int, int, uchar_t *, int, prompt_t *)); static int sudo_collect __P((int, int, uchar_t *, int, prompt_t *));
static char *def_prompt; static char *def_prompt;

View File

@@ -52,10 +52,6 @@
#include "sudo_auth.h" #include "sudo_auth.h"
#include "insults.h" #include "insults.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
sudo_auth auth_switch[] = { sudo_auth auth_switch[] = {
#ifdef AUTH_STANDALONE #ifdef AUTH_STANDALONE
AUTH_STANDALONE AUTH_STANDALONE

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef SUDO_AUTH_H #ifndef SUDO_AUTH_H

View File

@@ -58,10 +58,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* Status codes for timestamp_status() */ /* Status codes for timestamp_status() */
#define TS_CURRENT 0 #define TS_CURRENT 0
#define TS_OLD 1 #define TS_OLD 1

View File

@@ -49,10 +49,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#ifndef HAVE_FCNTL_CLOSEM #ifndef HAVE_FCNTL_CLOSEM
# ifndef HAVE_DIRFD # ifndef HAVE_DIRFD
# define closefrom_fallback closefrom # define closefrom_fallback closefrom

View File

@@ -17,8 +17,6 @@
* Sponsored in part by the Defense Advanced Research Projects * Sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force * Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
* $Sudo$
*/ */
#ifndef _SUDO_COMPAT_H #ifndef _SUDO_COMPAT_H

View File

@@ -1,6 +1,5 @@
dnl dnl
dnl Process this file with GNU autoconf to produce a configure script. dnl Process this file with GNU autoconf to produce a configure script.
dnl $Sudo$
dnl dnl
dnl Copyright (c) 1994-1996,1998-2009 Todd C. Miller <Todd.Miller@courtesan.com> dnl Copyright (c) 1994-1996,1998-2009 Todd C. Miller <Todd.Miller@courtesan.com>
dnl dnl

View File

@@ -49,10 +49,6 @@
#include "parse.h" #include "parse.h"
#include <gram.h> #include <gram.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* For converting between syslog numbers and strings. * For converting between syslog numbers and strings.
*/ */

View File

@@ -17,8 +17,6 @@
* Sponsored in part by the Defense Advanced Research Projects * Sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force * Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
* $Sudo$
*/ */
#ifndef _SUDO_DEFAULTS_H #ifndef _SUDO_DEFAULTS_H

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
/* /*

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_TIMESPEC_H #ifndef _SUDO_TIMESPEC_H

4
env.c
View File

@@ -49,10 +49,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Flags used in rebuild_env() * Flags used in rebuild_env()
*/ */

View File

@@ -23,10 +23,6 @@
#include <compat.h> #include <compat.h>
#include "error.h" #include "error.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static void _warning __P((int, const char *, va_list)); static void _warning __P((int, const char *, va_list));
void cleanup __P((int)); void cleanup __P((int));

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_ERROR_H_ #ifndef _SUDO_ERROR_H_

View File

@@ -53,10 +53,6 @@
# define LINE_MAX 2048 # define LINE_MAX 2048
#endif #endif
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Update the access and modify times on an fd or file. * Update the access and modify times on an fd or file.
*/ */

View File

@@ -45,10 +45,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* This function finds the full pathname for a command and * This function finds the full pathname for a command and
* stores it in a statically allocated array, filling in a pointer * stores it in a statically allocated array, filling in a pointer

View File

@@ -78,10 +78,6 @@
(dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \ (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
(dp->d_name[1] == '.' && dp->d_name[2] == '\0'))) (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
char * char *
getcwd(pt, size) getcwd(pt, size)
char *pt; char *pt;

View File

@@ -24,10 +24,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
const char * const char *
getprogname() getprogname()
{ {

View File

@@ -70,10 +70,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Exported for auth/secureware.c * Exported for auth/secureware.c
*/ */

View File

@@ -28,10 +28,6 @@
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Get the current time via gettimeofday() for systems with * Get the current time via gettimeofday() for systems with
* timespecs in struct stat or, otherwise, using time(). * timespecs in struct stat or, otherwise, using time().

View File

@@ -38,10 +38,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Verify that path is a normal file and executable by root. * Verify that path is a normal file and executable by root.
*/ */

4
gram.c
View File

@@ -72,10 +72,6 @@ static char yyrcsid[]
#include "sudo.h" #include "sudo.h"
#include "parse.h" #include "parse.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* We must define SIZE_MAX for yacc's skeleton.c. * We must define SIZE_MAX for yacc's skeleton.c.
* If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t

4
gram.y
View File

@@ -53,10 +53,6 @@
#include "sudo.h" #include "sudo.h"
#include "parse.h" #include "parse.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* We must define SIZE_MAX for yacc's skeleton.c. * We must define SIZE_MAX for yacc's skeleton.c.
* If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_INS_2001_H #ifndef _SUDO_INS_2001_H

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_INS_CLASSIC_H #ifndef _SUDO_INS_CLASSIC_H

View File

@@ -13,8 +13,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_INS_CSOPS_H #ifndef _SUDO_INS_CSOPS_H

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_INS_GOONS_H #ifndef _SUDO_INS_GOONS_H

View File

@@ -13,8 +13,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_INSULTS_H #ifndef _SUDO_INSULTS_H

View File

@@ -84,10 +84,6 @@ struct rtentry;
#include "sudo.h" #include "sudo.h"
#include "interfaces.h" #include "interfaces.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* Minix apparently lacks IFF_LOOPBACK */ /* Minix apparently lacks IFF_LOOPBACK */
#ifndef IFF_LOOPBACK #ifndef IFF_LOOPBACK
# define IFF_LOOPBACK 0 # define IFF_LOOPBACK 0

View File

@@ -17,8 +17,6 @@
* Sponsored in part by the Defense Advanced Research Projects * Sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force * Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
* $Sudo$
*/ */
#ifndef _SUDO_INTERFACES_H #ifndef _SUDO_INTERFACES_H

View File

@@ -17,10 +17,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#undef isblank #undef isblank
int int
isblank(ch) isblank(ch)

4
lbuf.c
View File

@@ -52,10 +52,6 @@
#include "sudo.h" #include "sudo.h"
#include "lbuf.h" #include "lbuf.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#if !defined(TIOCGSIZE) && defined(TIOCGWINSZ) #if !defined(TIOCGSIZE) && defined(TIOCGWINSZ)
# define TIOCGSIZE TIOCGWINSZ # define TIOCGSIZE TIOCGWINSZ
# define ttysize winsize # define ttysize winsize

2
lbuf.h
View File

@@ -14,8 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Sudo$"
*/ */
#ifndef _SUDO_LBUF_H #ifndef _SUDO_LBUF_H

4
ldap.c
View File

@@ -81,10 +81,6 @@
#include "parse.h" #include "parse.h"
#include "lbuf.h" #include "lbuf.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#ifndef LDAP_OPT_SUCCESS #ifndef LDAP_OPT_SUCCESS
# define LDAP_OPT_SUCCESS LDAP_SUCCESS # define LDAP_OPT_SUCCESS LDAP_SUCCESS
#endif #endif

4
list.c
View File

@@ -31,10 +31,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
struct list_proto { struct list_proto {
struct list_proto *prev; struct list_proto *prev;
struct list_proto *next; struct list_proto *next;

2
list.h
View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_LIST_H #ifndef _SUDO_LIST_H

View File

@@ -57,10 +57,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static void do_syslog __P((int, char *)); static void do_syslog __P((int, char *));
static void do_logfile __P((char *)); static void do_logfile __P((char *));
static void send_mail __P((char *)); static void send_mail __P((char *));

View File

@@ -13,8 +13,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _LOGGING_H #ifndef _LOGGING_H

View File

@@ -93,10 +93,6 @@
# include "nonunix.h" # include "nonunix.h"
#endif /* USING_NONUNIX_GROUPS */ #endif /* USING_NONUNIX_GROUPS */
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static struct member_list empty; static struct member_list empty;
static int command_matches_dir __P((char *, size_t)); static int command_matches_dir __P((char *, size_t));

View File

@@ -18,10 +18,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#include <sys/types.h> #include <sys/types.h>
#include <config.h> #include <config.h>

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_MISSING_H #ifndef _SUDO_MISSING_H

View File

@@ -4,8 +4,6 @@
# Created: 1993-05-16 # Created: 1993-05-16
# Public domain # Public domain
# $Sudo$
umask 022 umask 022
errstatus=0 errstatus=0
dirmode="" dirmode=""

View File

@@ -31,10 +31,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
static const char rcsid[] = "$Sudo$";
#endif /* not lint */
static unsigned int get_random __P((void)); static unsigned int get_random __P((void));
static void seed_random __P((void)); static void seed_random __P((void));

View File

@@ -44,10 +44,6 @@
#include "sudo.h" #include "sudo.h"
#include "mon_systrace.h" #include "mon_systrace.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Open the systrace device and return the fd or -1 on failure. * Open the systrace device and return the fd or -1 on failure.
*/ */

View File

@@ -31,10 +31,6 @@
#include "compat.h" #include "compat.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
nanosleep(ts, rts) nanosleep(ts, rts)
const struct timespec *ts; const struct timespec *ts;

View File

@@ -48,10 +48,6 @@
#include "lbuf.h" #include "lbuf.h"
#include <gram.h> #include <gram.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* Characters that must be quoted in sudoers */ /* Characters that must be quoted in sudoers */
#define SUDOERS_QUOTED ":\\,=#\"" #define SUDOERS_QUOTED ":\\,=#\""

View File

@@ -13,8 +13,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_PARSE_H #ifndef _SUDO_PARSE_H

View File

@@ -17,8 +17,6 @@
* Sponsored in part by the Defense Advanced Research Projects * Sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force * Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
* $Sudo$
*/ */
/* /*

4
pty.c
View File

@@ -56,10 +56,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#if defined(HAVE_OPENPTY) #if defined(HAVE_OPENPTY)
int int
get_pty(master, slave, name, namesz) get_pty(master, slave, name, namesz)

View File

@@ -52,10 +52,6 @@
#include "sudo.h" #include "sudo.h"
#include "redblack.h" #include "redblack.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* The passwd and group caches. * The passwd and group caches.
*/ */

View File

@@ -57,10 +57,6 @@
#include "sudo.h" #include "sudo.h"
#include "redblack.h" #include "redblack.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static void rbrepair __P((struct rbtree *, struct rbnode *)); static void rbrepair __P((struct rbtree *, struct rbnode *));
static void rotate_left __P((struct rbtree *, struct rbnode *)); static void rotate_left __P((struct rbtree *, struct rbnode *));
static void rotate_right __P((struct rbtree *, struct rbnode *)); static void rotate_right __P((struct rbtree *, struct rbnode *));

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
#ifndef _SUDO_REDBLACK_H #ifndef _SUDO_REDBLACK_H

View File

@@ -6,8 +6,6 @@
# There are two basic ways to configure PAM, either via pam_stack # There are two basic ways to configure PAM, either via pam_stack
# or by explicitly specifying the various methods to use. # or by explicitly specifying the various methods to use.
# #
# $Sudo$
#
# Here we use pam_stack # Here we use pam_stack
auth required pam_stack.so service=system-auth auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth account required pam_stack.so service=system-auth

View File

@@ -4,8 +4,6 @@
# This file MUST be edited with the 'visudo' command as root. # This file MUST be edited with the 'visudo' command as root.
# #
# See the sudoers man page for the details on how to write a sudoers file. # See the sudoers man page for the details on how to write a sudoers file.
#
# $Sudo$
## ##
# Override built-in defaults # Override built-in defaults

View File

@@ -16,8 +16,6 @@
# Syslogd will not create new log files for you, you must first # Syslogd will not create new log files for you, you must first
# create the file before syslogd will log to it. Eg. # create the file before syslogd will log to it. Eg.
# 'touch /var/log/sudo' # 'touch /var/log/sudo'
#
# $Sudo$
# This logs successful and failed sudo attempts to the file /var/log/sudo # This logs successful and failed sudo attempts to the file /var/log/sudo
local2.debug /var/log/sudo local2.debug /var/log/sudo

View File

@@ -74,10 +74,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#define SFD_MASTER 0 #define SFD_MASTER 0
#define SFD_SLAVE 1 #define SFD_SLAVE 1
#define SFD_LOG 2 #define SFD_LOG 2

View File

@@ -48,10 +48,6 @@
#include "sudo.h" #include "sudo.h"
#include "pathnames.h" #include "pathnames.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static security_context_t old_context; static security_context_t old_context;
static security_context_t new_context; static security_context_t new_context;
static security_context_t tty_context; static security_context_t tty_context;

4
sesh.c
View File

@@ -29,10 +29,6 @@
#include "compat.h" #include "compat.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
main (int argc, char **argv) main (int argc, char **argv)
{ {

View File

@@ -51,10 +51,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
#ifdef __TANDEM #ifdef __TANDEM
# define ROOT_UID 65535 # define ROOT_UID 65535
#else #else

View File

@@ -23,10 +23,6 @@
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
int int
sigaction(signo, sa, osa) sigaction(signo, sa, osa)
int signo; int signo;

View File

@@ -78,10 +78,6 @@
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
static int xxxprintf __P((char **, size_t, int, const char *, va_list)); static int xxxprintf __P((char **, size_t, int, const char *, va_list));
/* /*

View File

@@ -18,10 +18,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Case insensitive string compare routines, same semantics as str[n]cmp() * Case insensitive string compare routines, same semantics as str[n]cmp()
* (assumes ASCII..). * (assumes ASCII..).

View File

@@ -24,10 +24,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Map errno -> error string. * Map errno -> error string.
*/ */

View File

@@ -22,10 +22,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Appends src to string dst of size siz (unlike strncat, siz is the * Appends src to string dst of size siz (unlike strncat, siz is the

View File

@@ -21,10 +21,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Copy src to string dst of size siz. At most siz-1 characters * Copy src to string dst of size siz. At most siz-1 characters
* will be copied. Always NUL terminates (unless siz == 0). * will be copied. Always NUL terminates (unless siz == 0).

View File

@@ -20,10 +20,6 @@
#include <config.h> #include <config.h>
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Get signal description string * Get signal description string
*/ */

4
sudo.c
View File

@@ -107,10 +107,6 @@
# include "nonunix.h" # include "nonunix.h"
#endif #endif
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Prototypes * Prototypes
*/ */

2
sudo.h
View File

@@ -17,8 +17,6 @@
* Sponsored in part by the Defense Advanced Research Projects * Sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force * Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
*
* $Sudo$
*/ */
#ifndef _SUDO_SUDO_H #ifndef _SUDO_SUDO_H

View File

@@ -18,7 +18,6 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.\" $Sudo$
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\" .\"
.\" Standard preamble: .\" Standard preamble:

View File

@@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects
Agency (DARPA) and Air Force Research Laboratory, Air Force Agency (DARPA) and Air Force Research Laboratory, Air Force
Materiel Command, USAF, under agreement number F39502-99-1-0512. Materiel Command, USAF, under agreement number F39502-99-1-0512.
$Sudo$
=pod =pod
=head1 NAME =head1 NAME

View File

@@ -55,10 +55,6 @@
#include "sudo.h" #include "sudo.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
extern sigaction_t saved_sa_int, saved_sa_quit, saved_sa_tstp; extern sigaction_t saved_sa_int, saved_sa_quit, saved_sa_tstp;
extern char **environ; extern char **environ;

View File

@@ -28,10 +28,6 @@
#include <compat.h> #include <compat.h>
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* /*
* Dummy versions of the execve() family of syscalls. We don't need * Dummy versions of the execve() family of syscalls. We don't need
* to stub out all of them, just the ones that correspond to actual * to stub out all of them, just the ones that correspond to actual

View File

@@ -44,10 +44,6 @@
#include "sudo.h" #include "sudo.h"
#include "lbuf.h" #include "lbuf.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
extern struct sudo_nss sudo_nss_file; extern struct sudo_nss sudo_nss_file;
#ifdef HAVE_LDAP #ifdef HAVE_LDAP
extern struct sudo_nss sudo_nss_ldap; extern struct sudo_nss sudo_nss_ldap;

View File

@@ -12,8 +12,6 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Sudo$
*/ */
struct lbuf; struct lbuf;

View File

@@ -14,8 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Sudo$
*/ */
#ifndef _SUDO_USAGE_H #ifndef _SUDO_USAGE_H

View File

@@ -14,7 +14,6 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $Sudo$
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\" .\"
.\" Standard preamble: .\" Standard preamble:

View File

@@ -14,7 +14,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$Sudo$
=pod =pod
=head1 NAME =head1 NAME

View File

@@ -18,7 +18,6 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.\" $Sudo$
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
.\" .\"
.\" Standard preamble: .\" Standard preamble:

View File

@@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects
Agency (DARPA) and Air Force Research Laboratory, Air Force Agency (DARPA) and Air Force Research Laboratory, Air Force
Materiel Command, USAF, under agreement number F39502-99-1-0512. Materiel Command, USAF, under agreement number F39502-99-1-0512.
$Sudo$
=pod =pod
=head1 NAME =head1 NAME

View File

@@ -5,8 +5,6 @@ use strict;
# Converts a sudoers file to LDIF format in prepration for loading into # Converts a sudoers file to LDIF format in prepration for loading into
# the LDAP server. # the LDAP server.
# #
# $Sudo$
#
# BUGS: # BUGS:
# Does not yet handle multiple lines with : in them # Does not yet handle multiple lines with : in them

View File

@@ -88,10 +88,6 @@
#include "error.h" #include "error.h"
#include "missing.h" #include "missing.h"
#ifndef lint
__unused static const char rcsid[] = "$Sudo$";
#endif /* lint */
/* For getopt(3) */ /* For getopt(3) */
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;

Some files were not shown because too many files have changed in this diff Show More