Pass back exec_background to front end if it is enabled in sudoers.

This commit is contained in:
Todd C. Miller
2013-01-27 13:45:35 -05:00
parent 9ed1f0287e
commit 8ab7cf61bd

View File

@@ -415,6 +415,8 @@ sudoers_policy_exec_setup(char *argv[], char *envp[], mode_t cmnd_umask,
easprintf(&command_info[info_len++], "closefrom=%d", def_closefrom);
if (def_noexec)
command_info[info_len++] = estrdup("noexec=true");
if (def_exec_background)
command_info[info_len++] = estrdup("exec_background=true");
if (def_set_utmp)
command_info[info_len++] = estrdup("set_utmp=true");
if (def_use_pty)