mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Use RUNAS_USER_SPECIFIED and RUNAS_GROUP_SPECIFIED when deciding
whether to check runas user/group instead of checking runas_pw or runas_gr.
This commit is contained in:
@@ -27,11 +27,6 @@
|
||||
#undef IMPLIED
|
||||
#define IMPLIED 2
|
||||
|
||||
/*
|
||||
* Returns true if a runas user was specified on the command line.
|
||||
*/
|
||||
#define runas_user_set() (runas_pw != sudo_user.pw || runas_gr == NULL)
|
||||
|
||||
/*
|
||||
* Initialize all tags to UNSPEC.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user