mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Pass runchroot to match_digest() too.
We use the open fd for the actual I/O but having runchroot makes it possible to report the correct file name in error messages.
This commit is contained in:
@@ -325,7 +325,7 @@ bool addr_matches(char *n);
|
||||
bool command_matches(const char *sudoers_cmnd, const char *sudoers_args, const char *runchroot, struct cmnd_info *info, const struct command_digest_list *digests);
|
||||
|
||||
/* match_digest.c */
|
||||
bool digest_matches(int fd, const char *file, const struct command_digest_list *digests);
|
||||
bool digest_matches(int fd, const char *path, const char *runchroot, const struct command_digest_list *digests);
|
||||
|
||||
/* match.c */
|
||||
struct group;
|
||||
|
Reference in New Issue
Block a user