Commit Graph

2881 Commits

Author SHA1 Message Date
Todd C. Miller
66d801055c Use new HAVE_SIGACTION_T define 2001-12-14 23:38:31 +00:00
Todd C. Miller
3d723eda82 Fix compilation on K&C 2001-12-14 23:33:38 +00:00
Todd C. Miller
82a1cba52c regen 2001-12-14 23:14:47 +00:00
Todd C. Miller
1f20e80b96 Add check for sigaction_t -- IRIX already defines this so don't redefine it. 2001-12-14 23:14:36 +00:00
Todd C. Miller
b3a5ef5b76 fix typo 2001-12-14 22:15:56 +00:00
Todd C. Miller
3b925f81a2 need stdlib.h here too 2001-12-14 22:12:39 +00:00
Todd C. Miller
df5df978db regen 2001-12-14 20:31:33 +00:00
Todd C. Miller
06461973d7 Remove redundant checks for string.h, strings.h and unistd.h 2001-12-14 20:31:27 +00:00
Todd C. Miller
5d0b523ae3 Regen from pod files 2001-12-14 20:29:19 +00:00
Todd C. Miller
ba0635bf5c Update for 1.6.4 2001-12-14 20:03:49 +00:00
Todd C. Miller
722cebb5c4 regen 2001-12-14 19:59:57 +00:00
Todd C. Miller
e0315c59ea Return EINVAL if errnum > sys_nerr 2001-12-14 19:56:48 +00:00
Todd C. Miller
152e745d71 o Update copyright year 2001-12-14 19:55:01 +00:00
Todd C. Miller
47dff37185 o Update copyright year 2001-12-14 19:54:56 +00:00
Todd C. Miller
c2b2b6c3d2 o Don't define STDC_HEADERS unconditionally for IRIX
o Update copyright year
2001-12-14 19:54:09 +00:00
Todd C. Miller
ea17e9fd64 update version 2001-12-14 19:53:23 +00:00
Todd C. Miller
65fad4df35 o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:54 +00:00
Todd C. Miller
31053cfac4 o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:48 +00:00
Todd C. Miller
f61723c47b o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:47 +00:00
Todd C. Miller
ca12a5bef2 o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:47 +00:00
Todd C. Miller
46dd419cd9 o Reorder some headers and use STDC_HEADERS define properly
o Update copyright year
2001-12-14 19:52:47 +00:00
Todd C. Miller
38a8900974 regen 2001-12-14 06:53:49 +00:00
Todd C. Miller
b1dd45403c flags set in signal handlers should be volatile sig_atomic_t 2001-12-14 06:53:25 +00:00
Todd C. Miller
86743d987e Add checks for volatile and sig_atomic_t 2001-12-14 06:52:44 +00:00
Todd C. Miller
b0095c2f92 regen 2001-12-14 06:43:06 +00:00
Todd C. Miller
2e677e1023 Remove "secure_path" Defaults option since it cannot work with the
existing parser.
2001-12-14 06:40:03 +00:00
Todd C. Miller
f590093e46 Unset "secure_path" if user_is_exempt() 2001-12-14 06:26:55 +00:00
Todd C. Miller
2cbd965d63 o Remove assumption that PATH and TERM are not listed in env_keep
o If no PATH is in the environment use a default value
o If TERM is not set in the non-reset case also give it a default
  value.
2001-12-14 06:24:26 +00:00
Todd C. Miller
be8422eedf _PATH_SENDMAIL -> _PATH_SUDO_SENDMAIL so --without-sendmail works on
systems that define  in paths.h
2001-12-14 06:17:35 +00:00
Todd C. Miller
e299dee342 Add support for skeyaccess(3) if it is present in libskey. 2001-12-14 06:15:08 +00:00
Todd C. Miller
cf92836ecf Only need to do 'lc = login_getclass(NULL)' if lc == NULL 2001-12-13 02:42:45 +00:00
Todd C. Miller
3f97a5e44f '\\' is a perfectly legal character to have in a command line argument. 2001-12-13 02:24:40 +00:00
Todd C. Miller
678f56e2e8 o Defer call to set_fqdn() until it is safe to use log_error()
o Don't print errno string value if gethostbyname fails, it is not relevant
2001-12-13 01:24:45 +00:00
Todd C. Miller
4572e80469 Fix CIDR -> in_addr_t conversion. 2001-12-13 01:07:25 +00:00
Todd C. Miller
bcdcc32a7f Remove an extra "User_List" in the User_Spec definition
From ybertrand AT snoopymail.com
2001-12-12 21:21:49 +00:00
Todd C. Miller
afff0d56b4 Make 'listpw=never' work for users who are not explicitly mentioned in
sudoers.
2001-12-12 21:00:56 +00:00
Todd C. Miller
3d1344a717 Remove gratuitous '=' in EBNF grammar; era AT iki.fi 2001-12-12 20:40:12 +00:00
Todd C. Miller
b1687838f5 Document new list Defaults type and convert env_keep and env_delete
to lists.
Document new env_check option.
2001-12-12 20:34:26 +00:00
Todd C. Miller
d684d37a95 regen parser 2001-12-12 20:11:47 +00:00
Todd C. Miller
4447e04fa7 Don't let '#' appear in a {WORD} and restrict #foo in a Runas spec to #[0-9-]+. 2001-12-12 19:56:53 +00:00
Todd C. Miller
40840e10cd regen 2001-12-12 19:55:36 +00:00
Todd C. Miller
170eef9642 Simpler SUDO_FUNC_ISBLANK that uses AC_TRY_LINK 2001-12-12 19:55:25 +00:00
Todd C. Miller
f66fcb464b Add check for skeyaccess(3) 2001-12-12 19:43:23 +00:00
Todd C. Miller
4632986cd0 Document new -c, -f, and -q options 2001-12-12 00:47:49 +00:00
Todd C. Miller
3c4691a1d0 o Add -f option (alternate sudoers file)
o Convert to use getopt(3)
2001-12-12 00:41:33 +00:00
Todd C. Miller
4073b477f2 regen 2001-12-12 00:31:16 +00:00
Todd C. Miller
46be666b32 Add check for isblank and a replacement macro if it doesn't exist. 2001-12-12 00:31:07 +00:00
Todd C. Miller
8f896ec2e2 In check-only mode, don't create sudoers if it does not already exist. 2001-12-11 23:22:54 +00:00
Todd C. Miller
5486390782 o Add a new token, DEFVAR, to indicate a Defaults variable name
o Add support for "+=" and "-=" list operators
 o replace some 1 and 0 with TRUE and FALSE for greater legibility.
2001-12-11 23:06:52 +00:00
Todd C. Miller
cf2db3682b o Use exclusive start conditions to remove some ambiguity in the
lexer.  Also reorder some things for clarity.
 o Add support for "+=" and "-=" list operators.
 o Use the new DEFVAR token to denote a Defaults variable name.
2001-12-11 23:05:44 +00:00