If plugin sets "sudoedit=true" in the command info, enable
sudoedit mode even if not invoked as sudoedit. This allows a plugin to enable sudoedit when the user runs an editor.
This commit is contained in:
@@ -115,6 +115,7 @@ struct user_details {
|
||||
#define CD_SET_PRIORITY 0x0040
|
||||
#define CD_SET_UMASK 0x0080
|
||||
#define CD_SET_TIMEOUT 0x0100
|
||||
#define CD_SUDOEDIT 0x0200
|
||||
|
||||
struct command_details {
|
||||
uid_t uid;
|
||||
|
Reference in New Issue
Block a user