in from the front-end.
*/
char *
expand_iolog_path(const char *prefix, const char *dir, const char *file,
- char **slashp)
+ char const **slashp)
{
size_t len, prelen = 0;
char *dst, *dst0, *path, *pathend, tmpbuf[PATH_MAX];
size_t len = 0;
char *errstr = NULL;
char *evstr = NULL;
- char *line, sessid[7], *tsid = NULL;
+ char *line, sessid[7];
+ const char *tsid = NULL;
debug_decl(new_logline, SUDO_DEBUG_LOGGING)
/* A TSID may be a sudoers-style session ID or a free-form string. */
char *privs;
char *limitprivs;
#endif
- char *cwd;
- char *iolog_file;
+ const char *cwd;
+ const char *iolog_file;
GETGROUPS_T *gids;
int ngids;
int closefrom;
/* iolog_path.c */
char *expand_iolog_path(const char *prefix, const char *dir, const char *file,
- char **slashp);
+ char const **slashp);
/* env.c */
char **env_get(void);