2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Add support for MAIL and NOMAIL command tags to toggle mail sending

behavior on a per-command (or Cmnd_Alias) basis.
This commit is contained in:
Todd C. Miller
2015-02-19 10:02:20 -07:00
parent 53ac30b63a
commit 45548cf049
16 changed files with 2210 additions and 1994 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 1998-2000, 2004, 2007-2014
* Copyright (c) 1996, 1998-2000, 2004, 2007-2015
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -58,6 +58,7 @@ struct cmndtag {
signed int setenv: 3;
signed int log_input: 3;
signed int log_output: 3;
signed int send_mail: 3;
};
/*