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
Todd C. Miller
e63182a25b
Prototype init_envtables()
2001-12-11 23:03:24 +00:00
Todd C. Miller
199a17436d
o Convert environment handling to use lists instead of strings.
...
This greatly simplifies routines that need to do "foreach" type
operations.
o Add new init_envtables() function to set env_check and env_delete
defaults based on initial_badenv_table and initial_checkenv_table
(formerly sudo_badenv_table).
2001-12-11 23:02:51 +00:00
Todd C. Miller
2f818e2c32
o Add a new LIST type and functions to manipulate it.
...
o This is for use with environment handling variables.
o Call new init_envtables() routine inside init_defaults() to
initialize the environment lists.
2001-12-11 23:00:34 +00:00
Todd C. Miller
93971de654
Convert environment options to use the new LIST type and add a new one,
...
env_check that only deletes if the sanity check fails.
2001-12-11 22:57:44 +00:00
Todd C. Miller
7b93f51d5e
Add dummy version of init_envtables()
2001-12-11 22:55:23 +00:00
Todd C. Miller
f0e806a12c
honor quiet mode
2001-12-11 22:53:39 +00:00