Remove CVS $Sudo$ tags.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# $Sudo$
|
||||
#
|
||||
|
||||
srcdir = .
|
||||
|
||||
|
@@ -21,8 +21,6 @@
|
||||
#
|
||||
# @configure_input@
|
||||
#
|
||||
# $Sudo$
|
||||
#
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
@@ -450,7 +448,7 @@ sudoers.cat: sudoers.man
|
||||
@DEV@ pod2text -l -i0 $> | sed '1,2d' > $@
|
||||
|
||||
ChangeLog:
|
||||
cvs2cl --follow-only trunk
|
||||
hg log --style=changelog -b default > ChangeLog
|
||||
|
||||
install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man
|
||||
|
||||
|
4
aix.c
4
aix.c
@@ -32,10 +32,6 @@
|
||||
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#ifdef HAVE_GETUSERATTR
|
||||
|
||||
#ifndef RLIM_SAVED_MAX
|
||||
|
4
alias.c
4
alias.c
@@ -46,10 +46,6 @@
|
||||
#include "redblack.h"
|
||||
#include <gram.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
|
4
alloc.c
4
alloc.c
@@ -48,10 +48,6 @@
|
||||
|
||||
#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
|
||||
* could be signed (as it is on SunOS 4.x). This just means that
|
||||
|
2
alloc.h
2
alloc.h
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_ALLOC_H
|
||||
|
@@ -50,10 +50,6 @@
|
||||
#include <afs/stds.h>
|
||||
#include <afs/kautils.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
afs_verify(pw, pass, auth)
|
||||
struct passwd *pw;
|
||||
|
@@ -46,10 +46,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
@@ -51,10 +51,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
extern char *login_style; /* from sudo.c */
|
||||
|
||||
int
|
||||
|
@@ -64,10 +64,6 @@
|
||||
#include "sudo.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 *));
|
||||
|
||||
int
|
||||
|
@@ -49,10 +49,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
fwtk_init(pw, promptp, auth)
|
||||
struct passwd *pw;
|
||||
|
@@ -47,10 +47,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
kerb4_init(pw, promptp, auth)
|
||||
struct passwd *pw;
|
||||
|
@@ -53,10 +53,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#ifdef HAVE_HEIMDAL
|
||||
# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1)
|
||||
# define krb5_free_data_contents(c, d) krb5_data_free(d)
|
||||
|
@@ -72,10 +72,6 @@
|
||||
# define PAM_CONST
|
||||
#endif
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static int sudo_conv __P((int, PAM_CONST struct pam_message **,
|
||||
struct pam_response **, void *));
|
||||
static char *def_prompt = "Password:";
|
||||
|
@@ -46,10 +46,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#define DESLEN 13
|
||||
#define HAS_AGEINFO(p, l) (l == 18 && p[DESLEN] == ',')
|
||||
|
||||
|
@@ -63,10 +63,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
rfc1938_setup(pw, promptp, auth)
|
||||
struct passwd *pw;
|
||||
|
@@ -53,10 +53,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
secureware_init(pw, promptp, auth)
|
||||
struct passwd *pw;
|
||||
|
@@ -53,10 +53,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
union config_record configure;
|
||||
|
||||
int
|
||||
|
@@ -55,10 +55,6 @@
|
||||
#include "sudo.h"
|
||||
#include "sudo_auth.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* securid_init - Initialises communications with ACE server
|
||||
* Arguments in:
|
||||
|
@@ -49,10 +49,6 @@
|
||||
#include "sudo.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 char *def_prompt;
|
||||
|
@@ -52,10 +52,6 @@
|
||||
#include "sudo_auth.h"
|
||||
#include "insults.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
sudo_auth auth_switch[] = {
|
||||
#ifdef AUTH_STANDALONE
|
||||
AUTH_STANDALONE
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef SUDO_AUTH_H
|
||||
|
4
check.c
4
check.c
@@ -58,10 +58,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/* Status codes for timestamp_status() */
|
||||
#define TS_CURRENT 0
|
||||
#define TS_OLD 1
|
||||
|
@@ -49,10 +49,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#ifndef HAVE_FCNTL_CLOSEM
|
||||
# ifndef HAVE_DIRFD
|
||||
# define closefrom_fallback closefrom
|
||||
|
2
compat.h
2
compat.h
@@ -17,8 +17,6 @@
|
||||
* Sponsored in part by the Defense Advanced Research Projects
|
||||
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_COMPAT_H
|
||||
|
@@ -1,6 +1,5 @@
|
||||
dnl
|
||||
dnl Process this file with GNU autoconf to produce a configure script.
|
||||
dnl $Sudo$
|
||||
dnl
|
||||
dnl Copyright (c) 1994-1996,1998-2009 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
dnl
|
||||
|
@@ -49,10 +49,6 @@
|
||||
#include "parse.h"
|
||||
#include <gram.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* For converting between syslog numbers and strings.
|
||||
*/
|
||||
|
@@ -17,8 +17,6 @@
|
||||
* Sponsored in part by the Defense Advanced Research Projects
|
||||
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_DEFAULTS_H
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_TIMESPEC_H
|
||||
|
4
env.c
4
env.c
@@ -49,10 +49,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Flags used in rebuild_env()
|
||||
*/
|
||||
|
4
error.c
4
error.c
@@ -23,10 +23,6 @@
|
||||
#include <compat.h>
|
||||
#include "error.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static void _warning __P((int, const char *, va_list));
|
||||
void cleanup __P((int));
|
||||
|
||||
|
2
error.h
2
error.h
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_ERROR_H_
|
||||
|
@@ -53,10 +53,6 @@
|
||||
# define LINE_MAX 2048
|
||||
#endif
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Update the access and modify times on an fd or file.
|
||||
*/
|
||||
|
@@ -45,10 +45,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* This function finds the full pathname for a command and
|
||||
* stores it in a statically allocated array, filling in a pointer
|
||||
|
4
getcwd.c
4
getcwd.c
@@ -78,10 +78,6 @@
|
||||
(dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
|
||||
(dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
char *
|
||||
getcwd(pt, size)
|
||||
char *pt;
|
||||
|
@@ -24,10 +24,6 @@
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
const char *
|
||||
getprogname()
|
||||
{
|
||||
|
@@ -70,10 +70,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Exported for auth/secureware.c
|
||||
*/
|
||||
|
@@ -28,10 +28,6 @@
|
||||
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Get the current time via gettimeofday() for systems with
|
||||
* timespecs in struct stat or, otherwise, using time().
|
||||
|
@@ -38,10 +38,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Verify that path is a normal file and executable by root.
|
||||
*/
|
||||
|
4
gram.c
4
gram.c
@@ -72,10 +72,6 @@ static char yyrcsid[]
|
||||
#include "sudo.h"
|
||||
#include "parse.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
4
gram.y
4
gram.y
@@ -53,10 +53,6 @@
|
||||
#include "sudo.h"
|
||||
#include "parse.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INS_2001_H
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INS_CLASSIC_H
|
||||
|
@@ -13,8 +13,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INS_CSOPS_H
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INS_GOONS_H
|
||||
|
@@ -13,8 +13,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INSULTS_H
|
||||
|
@@ -84,10 +84,6 @@ struct rtentry;
|
||||
#include "sudo.h"
|
||||
#include "interfaces.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/* Minix apparently lacks IFF_LOOPBACK */
|
||||
#ifndef IFF_LOOPBACK
|
||||
# define IFF_LOOPBACK 0
|
||||
|
@@ -17,8 +17,6 @@
|
||||
* Sponsored in part by the Defense Advanced Research Projects
|
||||
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_INTERFACES_H
|
||||
|
@@ -17,10 +17,6 @@
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#undef isblank
|
||||
int
|
||||
isblank(ch)
|
||||
|
4
lbuf.c
4
lbuf.c
@@ -52,10 +52,6 @@
|
||||
#include "sudo.h"
|
||||
#include "lbuf.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#if !defined(TIOCGSIZE) && defined(TIOCGWINSZ)
|
||||
# define TIOCGSIZE TIOCGWINSZ
|
||||
# define ttysize winsize
|
||||
|
2
lbuf.h
2
lbuf.h
@@ -14,8 +14,6 @@
|
||||
* 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
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Sudo$"
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_LBUF_H
|
||||
|
4
ldap.c
4
ldap.c
@@ -81,10 +81,6 @@
|
||||
#include "parse.h"
|
||||
#include "lbuf.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#ifndef LDAP_OPT_SUCCESS
|
||||
# define LDAP_OPT_SUCCESS LDAP_SUCCESS
|
||||
#endif
|
||||
|
4
list.c
4
list.c
@@ -31,10 +31,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
struct list_proto {
|
||||
struct list_proto *prev;
|
||||
struct list_proto *next;
|
||||
|
2
list.h
2
list.h
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_LIST_H
|
||||
|
@@ -57,10 +57,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static void do_syslog __P((int, char *));
|
||||
static void do_logfile __P((char *));
|
||||
static void send_mail __P((char *));
|
||||
|
@@ -13,8 +13,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _LOGGING_H
|
||||
|
4
match.c
4
match.c
@@ -93,10 +93,6 @@
|
||||
# include "nonunix.h"
|
||||
#endif /* USING_NONUNIX_GROUPS */
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static struct member_list empty;
|
||||
|
||||
static int command_matches_dir __P((char *, size_t));
|
||||
|
@@ -18,10 +18,6 @@
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <config.h>
|
||||
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_MISSING_H
|
||||
|
@@ -4,8 +4,6 @@
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Sudo$
|
||||
|
||||
umask 022
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
@@ -31,10 +31,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] = "$Sudo$";
|
||||
#endif /* not lint */
|
||||
|
||||
static unsigned int get_random __P((void));
|
||||
static void seed_random __P((void));
|
||||
|
||||
|
@@ -44,10 +44,6 @@
|
||||
#include "sudo.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.
|
||||
*/
|
||||
|
@@ -31,10 +31,6 @@
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
nanosleep(ts, rts)
|
||||
const struct timespec *ts;
|
||||
|
4
parse.c
4
parse.c
@@ -48,10 +48,6 @@
|
||||
#include "lbuf.h"
|
||||
#include <gram.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/* Characters that must be quoted in sudoers */
|
||||
#define SUDOERS_QUOTED ":\\,=#\""
|
||||
|
||||
|
2
parse.h
2
parse.h
@@ -13,8 +13,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_PARSE_H
|
||||
|
@@ -17,8 +17,6 @@
|
||||
* Sponsored in part by the Defense Advanced Research Projects
|
||||
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
/*
|
||||
|
4
pty.c
4
pty.c
@@ -56,10 +56,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#if defined(HAVE_OPENPTY)
|
||||
int
|
||||
get_pty(master, slave, name, namesz)
|
||||
|
4
pwutil.c
4
pwutil.c
@@ -52,10 +52,6 @@
|
||||
#include "sudo.h"
|
||||
#include "redblack.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* The passwd and group caches.
|
||||
*/
|
||||
|
@@ -57,10 +57,6 @@
|
||||
#include "sudo.h"
|
||||
#include "redblack.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static void rbrepair __P((struct rbtree *, struct rbnode *));
|
||||
static void rotate_left __P((struct rbtree *, struct rbnode *));
|
||||
static void rotate_right __P((struct rbtree *, struct rbnode *));
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_REDBLACK_H
|
||||
|
@@ -6,8 +6,6 @@
|
||||
# There are two basic ways to configure PAM, either via pam_stack
|
||||
# or by explicitly specifying the various methods to use.
|
||||
#
|
||||
# $Sudo$
|
||||
#
|
||||
# Here we use pam_stack
|
||||
auth required pam_stack.so service=system-auth
|
||||
account required pam_stack.so service=system-auth
|
||||
|
@@ -4,8 +4,6 @@
|
||||
# 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.
|
||||
#
|
||||
# $Sudo$
|
||||
|
||||
##
|
||||
# Override built-in defaults
|
||||
|
@@ -16,8 +16,6 @@
|
||||
# Syslogd will not create new log files for you, you must first
|
||||
# create the file before syslogd will log to it. Eg.
|
||||
# 'touch /var/log/sudo'
|
||||
#
|
||||
# $Sudo$
|
||||
|
||||
# This logs successful and failed sudo attempts to the file /var/log/sudo
|
||||
local2.debug /var/log/sudo
|
||||
|
4
script.c
4
script.c
@@ -74,10 +74,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#define SFD_MASTER 0
|
||||
#define SFD_SLAVE 1
|
||||
#define SFD_LOG 2
|
||||
|
@@ -48,10 +48,6 @@
|
||||
#include "sudo.h"
|
||||
#include "pathnames.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
static security_context_t old_context;
|
||||
static security_context_t new_context;
|
||||
static security_context_t tty_context;
|
||||
|
4
sesh.c
4
sesh.c
@@ -29,10 +29,6 @@
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
|
@@ -51,10 +51,6 @@
|
||||
|
||||
#include "sudo.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
#ifdef __TANDEM
|
||||
# define ROOT_UID 65535
|
||||
#else
|
||||
|
@@ -23,10 +23,6 @@
|
||||
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
int
|
||||
sigaction(signo, sa, osa)
|
||||
int signo;
|
||||
|
@@ -78,10 +78,6 @@
|
||||
|
||||
#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));
|
||||
|
||||
/*
|
||||
|
@@ -18,10 +18,6 @@
|
||||
#include <config.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()
|
||||
* (assumes ASCII..).
|
||||
|
@@ -24,10 +24,6 @@
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Map errno -> error string.
|
||||
*/
|
||||
|
@@ -22,10 +22,6 @@
|
||||
#include <config.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
|
||||
|
@@ -21,10 +21,6 @@
|
||||
#include <config.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
|
||||
* will be copied. Always NUL terminates (unless siz == 0).
|
||||
|
@@ -20,10 +20,6 @@
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Get signal description string
|
||||
*/
|
||||
|
4
sudo.c
4
sudo.c
@@ -107,10 +107,6 @@
|
||||
# include "nonunix.h"
|
||||
#endif
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
|
2
sudo.h
2
sudo.h
@@ -17,8 +17,6 @@
|
||||
* Sponsored in part by the Defense Advanced Research Projects
|
||||
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_SUDO_H
|
||||
|
@@ -18,7 +18,6 @@
|
||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
.\"
|
||||
.\" $Sudo$
|
||||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
|
1
sudo.pod
1
sudo.pod
@@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects
|
||||
Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
|
||||
$Sudo$
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
@@ -55,10 +55,6 @@
|
||||
|
||||
#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 char **environ;
|
||||
|
||||
|
@@ -28,10 +28,6 @@
|
||||
|
||||
#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
|
||||
* to stub out all of them, just the ones that correspond to actual
|
||||
|
@@ -44,10 +44,6 @@
|
||||
#include "sudo.h"
|
||||
#include "lbuf.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
extern struct sudo_nss sudo_nss_file;
|
||||
#ifdef HAVE_LDAP
|
||||
extern struct sudo_nss sudo_nss_ldap;
|
||||
|
@@ -12,8 +12,6 @@
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
struct lbuf;
|
||||
|
@@ -14,8 +14,6 @@
|
||||
* 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
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Sudo$
|
||||
*/
|
||||
|
||||
#ifndef _SUDO_USAGE_H
|
||||
|
@@ -14,7 +14,6 @@
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Sudo$
|
||||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
|
@@ -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.
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
$Sudo$
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
@@ -18,7 +18,6 @@
|
||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
.\"
|
||||
.\" $Sudo$
|
||||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
|
@@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects
|
||||
Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
|
||||
$Sudo$
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
@@ -5,8 +5,6 @@ use strict;
|
||||
# Converts a sudoers file to LDIF format in prepration for loading into
|
||||
# the LDAP server.
|
||||
#
|
||||
# $Sudo$
|
||||
#
|
||||
|
||||
# BUGS:
|
||||
# Does not yet handle multiple lines with : in them
|
||||
|
@@ -88,10 +88,6 @@
|
||||
#include "error.h"
|
||||
#include "missing.h"
|
||||
|
||||
#ifndef lint
|
||||
__unused static const char rcsid[] = "$Sudo$";
|
||||
#endif /* lint */
|
||||
|
||||
/* For getopt(3) */
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user