Pass resource limits values to the plugin in user_info[]
Sudo resets the resource limits early in its execution so the plugin cannot tell what the original limits were itself.
This commit is contained in:
@@ -293,5 +293,6 @@ void restore_limits(void);
|
||||
void restore_nproc(void);
|
||||
void unlimit_nproc(void);
|
||||
void unlimit_sudo(void);
|
||||
int serialize_limits(char **info, size_t info_max);
|
||||
|
||||
#endif /* SUDO_SUDO_H */
|
||||
|
Reference in New Issue
Block a user