Commit Graph

536 Commits

Author SHA1 Message Date
Todd C. Miller
807d1313a5 Use numeric registers to handle conditionals instead of trying
to do it all with text processing.
2010-05-25 16:13:04 -04:00
Todd C. Miller
5dd8e98ec7 Document per-command SELinux settings 2010-05-25 14:43:39 -04:00
Todd C. Miller
0487aee6b4 Bring back closefrom settings. 2010-05-24 15:40:36 -04:00
Todd C. Miller
b519f7a097 Use the --file argument to config.status instead of setting CONFIG_FILES
in the environment.
2010-05-24 12:25:20 -04:00
Todd C. Miller
8a8830e34f Substitute @SHELL@ into Makefiles 2010-05-21 21:29:44 -04:00
Todd C. Miller
95d939f9bb Install sudo_plugin.h as part of "make install" and make other install
targets callable from the top-level Makefile
2010-05-21 15:31:36 -04:00
Todd C. Miller
55ef027d88 Add argc and argv to I/O logger open function. 2010-05-17 10:38:56 -04:00
Todd C. Miller
fa717176b2 Remove check_sudoedit function pointer in struct sudo_policy.
Instead, sudo will set sudoedit=true in the settings array.
The plugin should check for this and modify argv_out as appropriate
in check_policy.
2010-05-17 10:25:27 -04:00
Todd C. Miller
9a6cbe03b6 Clarify sudoedit a tad. 2010-05-14 09:39:01 -04:00
Todd C. Miller
c8a62b1ecb Document sudoedit 2010-05-13 17:49:52 -04:00
Todd C. Miller
21ba4a4680 Document time stamp shortcomings under SECURITY NOTES
Use "time stamp" instead of timestamp.
2010-05-11 15:33:47 -04:00
Todd C. Miller
ad4700e7ae Make sed substitution of mansectsu and mansectform global. 2010-05-11 15:33:08 -04:00
Todd C. Miller
c76e6aa1e3 Remove errant backslash 2010-05-11 10:07:12 -04:00
Todd C. Miller
247f7acaaf Quest now sponsors Sudo development 2010-05-06 10:54:21 -04:00
Todd C. Miller
75f63d9981 Install sudo_plugin man page. 2010-05-05 16:19:02 -04:00
Todd C. Miller
7da9e1a912 Document plugin_printf and new logging functions. 2010-05-05 13:22:21 -04:00
Todd C. Miller
bc813db528 Add a "noninteractive" boolean to the settings passed in to the plugin's
open function that is set when the user specifies the -n flag.
2010-04-14 08:41:53 -04:00
Todd C. Miller
f19be6da31 Handle plugin's open function returning -2 (usage error). 2010-04-13 09:36:43 -04:00
Todd C. Miller
fa2f5f53d7 Fix typo 2010-04-12 11:29:40 -04:00
Todd C. Miller
7ebcbf1027 Add dev targets for *.man.in and *.cat that don't specfify the $(srcdir)
prefix.
2010-04-08 20:08:30 -04:00
Todd C. Miller
29f22dba2d Add a note about the security implications of the fast_glob option. 2010-04-07 10:09:31 -04:00
Todd C. Miller
81819d0c09 Only regen man pages from pod when configured with --with-devel 2010-04-05 12:24:12 -04:00
Todd C. Miller
43b6359df3 Fix out-of-tree builds 2010-04-04 14:01:21 -04:00
Todd C. Miller
d710ea091c We always install sudoreplay in 1.8 2010-04-04 12:31:57 -04:00
Todd C. Miller
9edc09609f Document the -2 return in the check_policy section too 2010-03-21 08:58:13 -04:00
Todd C. Miller
6b180d24da Fix the -s and -i flags and add support for the "implied_shell"
option.  If the user does not specify a command, sudo will now pass
in the path to the user's shell and set impied_shell=true.  The
plugin can them either check the command normally or return -2 to
cause sudo to print a usage message and exit.
2010-03-21 08:54:06 -04:00
Todd C. Miller
18cd91d56e Document progname in settings 2010-03-19 07:56:06 -04:00
Todd C. Miller
81949e89d1 Document lines/cols in user_info 2010-03-17 10:44:16 -04:00
Todd C. Miller
f0f803e337 Mention in the conversation function section that a newline is
not implicit.
2010-03-11 17:02:23 -05:00
Todd C. Miller
07bf968c4d Document -D level command line flag which maps to the debug_level setting. 2010-02-24 07:48:53 -05:00
Todd C. Miller
9eb3e63c56 Document debug_level in plugin doc. Still need to document the -D
flag in sudo itself.
2010-02-24 06:35:45 -05:00
Todd C. Miller
bcd021da5e Rename plugin.pod -> sudo_plugin.pod and wire into Makefile 2010-02-21 21:24:20 -05:00
Todd C. Miller
fadb324f1a Fix up compat dependencies.
Fix distclean target in doc/Makefile.in
2010-02-21 16:12:01 -05:00
Todd C. Miller
279cf1e958 Add doc Makefile.in and wire it up 2010-02-21 13:37:52 -05:00
Todd C. Miller
90c06ad7f2 Sudo plugin API 2010-02-20 09:30:27 -05:00
Todd C. Miller
e90fa482f9 Rework source layout in preparation for modular sudo. 2010-02-20 09:14:01 -05:00