Todd C. Miller
|
4bd1b5e35c
|
We no longer use mbr_check_membership() and setrlimit64() is
AIX-specific.
|
2013-04-02 16:52:59 -04:00 |
|
Todd C. Miller
|
09754a11aa
|
The first (all) target must be by itself or some makes will choose
the run the entire target list.
|
2013-04-02 12:40:53 -04:00 |
|
Todd C. Miller
|
7364f0ce98
|
Do exec_prefix expansion when enable_shared even if noexec is
not enabled.
|
2013-04-02 12:25:54 -04:00 |
|
Todd C. Miller
|
b9bb50ff5b
|
Use free() not efree() since we don't include alloc.h here
|
2013-04-02 11:23:31 -04:00 |
|
Todd C. Miller
|
382640839e
|
regen
|
2013-04-02 10:40:16 -04:00 |
|
Todd C. Miller
|
46db7a20e4
|
Pass in expected gid to testsudoers in addition to the uid that
matches the test sudoers files.
|
2013-04-02 09:25:51 -04:00 |
|
Todd C. Miller
|
414fc377c9
|
Tru64 5.x does declare innetgr() and getdomainname().
|
2013-04-01 16:39:30 -04:00 |
|
Todd C. Miller
|
cd980f0b4f
|
Fix compilation when getdomainame() is not present.
|
2013-04-01 16:35:35 -04:00 |
|
Todd C. Miller
|
f7b62e8dc1
|
Move SET/CLR/ISSET from config.h.in to missing.h
|
2013-04-01 15:38:09 -04:00 |
|
Todd C. Miller
|
3a83dbafbe
|
Fix getgrouplist() check.
|
2013-04-01 14:58:31 -04:00 |
|
Todd C. Miller
|
159664ad78
|
No more timestamp.h
|
2013-04-01 14:56:54 -04:00 |
|
Todd C. Miller
|
073989aa68
|
Neded sys/time.h for struct timeval in struct sudo_tty_info.
|
2013-04-01 14:48:00 -04:00 |
|
Todd C. Miller
|
e7e739f659
|
regen depends
|
2013-04-01 14:10:42 -04:00 |
|
Todd C. Miller
|
87e191787f
|
Mention libibmldap on HP-UX
|
2013-04-01 14:10:37 -04:00 |
|
Todd C. Miller
|
e23ebd53c3
|
Instead of checking the domain name explicitly for "(none)", just
check for illegal characters.
|
2013-04-01 13:56:42 -04:00 |
|
Todd C. Miller
|
328994740e
|
Only warn once when we are unable to open the sudoers file.
|
2013-04-01 11:23:29 -04:00 |
|
Todd C. Miller
|
41ab8da22c
|
Fall back to opening /dev/tty to determine whether there is a tty
if the system doesn't have kernel support for determing the tty.
|
2013-04-01 10:40:17 -04:00 |
|
Todd C. Miller
|
afc95dd118
|
Update guard to take __progname into account
|
2013-04-01 10:23:36 -04:00 |
|
Todd C. Miller
|
d7ea8fead5
|
Some older systems have inttypes.h but not stdint.h
|
2013-04-01 10:23:18 -04:00 |
|
Todd C. Miller
|
98ffa51545
|
Add guards in compat source files. Not really needed since we only
include them in the Makefile if they are needed but should not hurt
either.
|
2013-04-01 10:19:26 -04:00 |
|
Todd C. Miller
|
d30008d580
|
Don't include gram.h in gram.y, its contents are already included.
Move sudoerserror to the end of gram.y so COMMENT is declared
when we need to use it.
|
2013-03-31 09:58:37 -04:00 |
|
Todd C. Miller
|
6b2a085a2c
|
Remove some pre-ANSI cruft.
|
2013-03-29 16:30:27 -04:00 |
|
Todd C. Miller
|
7796d6456d
|
Rename NAME_MATCH -> SUDOERS_NAME_MATCH and avoid pulling in glob.h
when it is set.
|
2013-03-29 14:03:00 -04:00 |
|
Todd C. Miller
|
a17d171155
|
We still want to recognize %{seq} for the SUDOERS_NO_SEQ case but
just leave it as-is.
|
2013-03-29 10:54:46 -04:00 |
|
Todd C. Miller
|
a2ce6fd296
|
Add missing semicolon in rule.
|
2013-03-28 20:53:55 -04:00 |
|
Todd C. Miller
|
37b4b5d15e
|
Now that we can determine the terminal even when file descriptors
are redirected we can check user_ttypath rather than opening
/dev/tty when enforcing requiretty.
|
2013-03-28 15:46:52 -04:00 |
|
Todd C. Miller
|
38dac1e0a4
|
Stash umask in struct sudo_user so we don't need to look it up later.
|
2013-03-28 15:40:32 -04:00 |
|
Todd C. Miller
|
5bac16f5cc
|
Minor cosmetic change
|
2013-03-28 14:25:24 -04:00 |
|
Todd C. Miller
|
d482b00ec1
|
No longer need to declare interfaces
|
2013-03-28 14:25:09 -04:00 |
|
Todd C. Miller
|
b7e3516833
|
Fix compilation in SUDOERS_NO_SEQ case
|
2013-03-28 14:23:31 -04:00 |
|
Todd C. Miller
|
155669cfe4
|
No longer need to define sudo_printf
|
2013-03-28 13:40:20 -04:00 |
|
Todd C. Miller
|
4d3fc204f7
|
Pass auth_pw to the timestamp functions.
|
2013-03-28 13:22:09 -04:00 |
|
Todd C. Miller
|
2541257696
|
Fix SUDOERS_NO_SEQ
|
2013-03-28 13:21:43 -04:00 |
|
Todd C. Miller
|
7eb2394b40
|
Don't need all of sudoers.h in here
|
2013-03-28 11:19:18 -04:00 |
|
Todd C. Miller
|
213f7ff113
|
Don't need to include sudoers_version.h here.
|
2013-03-28 10:49:18 -04:00 |
|
Todd C. Miller
|
ec19ea97f2
|
DEFAULT_LECTURE is no longer used.
|
2013-03-27 15:01:26 -04:00 |
|
Todd C. Miller
|
13dbba174e
|
Move sudo_conv into policy.c
|
2013-03-27 13:42:40 -04:00 |
|
Todd C. Miller
|
c66cf7c87e
|
cosmetic fixes
|
2013-03-27 11:29:58 -04:00 |
|
Todd C. Miller
|
ddc1d36a0b
|
RHEL (and perhaps other Linux distros) use the string "(none)"
instead of an empty string when there is no actual NIS-style domain
name. Bug #596
|
2013-03-27 03:41:00 -04:00 |
|
Todd C. Miller
|
64e558bcfb
|
Fix return values when NAME_MATCH is defined.
|
2013-03-27 03:39:18 -04:00 |
|
Todd C. Miller
|
b729284df9
|
Update copyright year.
|
2013-03-26 13:29:05 -04:00 |
|
Todd C. Miller
|
6e50087010
|
Add sudo_set_grlist(), currently unused by the back end.
|
2013-03-26 13:27:51 -04:00 |
|
Todd C. Miller
|
cee83cbf2d
|
Remove unused macros, fix a debug_decl
|
2013-03-26 13:26:59 -04:00 |
|
Todd C. Miller
|
6083947939
|
Tru64 Unix doesn't prototype innetgr() or getdomainname().
|
2013-03-26 13:19:59 -04:00 |
|
Todd C. Miller
|
d710f1b41c
|
Whitespace fixes
|
2013-03-26 10:27:06 -04:00 |
|
Todd C. Miller
|
adee3cded4
|
Don't need to include setjmp.h here, error.h already includes it.
|
2013-03-26 08:56:56 -04:00 |
|
Todd C. Miller
|
837cda0c54
|
regen depends
|
2013-03-25 13:54:25 -04:00 |
|
Todd C. Miller
|
84ff871a58
|
Rename guard define.
|
2013-03-25 11:30:16 -04:00 |
|
Todd C. Miller
|
8b4c192058
|
Move contents of timestamp.h into check.h.
|
2013-03-25 11:28:21 -04:00 |
|
Todd C. Miller
|
d6b5ffbbd8
|
expand_prompt() is now in prompt.c
sudo_printf extern is now in error.h
|
2013-03-25 11:19:56 -04:00 |
|