summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTrever L. Adams <trever.adams@gmail.com>2016-10-12 09:55:15 -0600
committerJeremy Allison <jra@samba.org>2016-10-13 04:26:26 +0200
commit7accec7f78f40849b50ad291fb56b04f3fd39dc2 (patch)
tree386652bfc0ab139d7e6e624bac9146b5827faf56 /source3/include
parent2a245512b8146e1e726186dd460a85eb5c665969 (diff)
downloadsamba-7accec7f78f40849b50ad291fb56b04f3fd39dc2.tar.gz
Update smbrun to allow for settings environment variables.
Signed-off-by: Trever L. Adams <trever.adams@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Oct 13 04:26:26 CEST 2016 on sn-devel-144
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index fe4217d93ef..0b0a2b59325 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -162,8 +162,8 @@ bool parse_usershare_acl(TALLOC_CTX *ctx, const char *acl_str, struct security_d
/* The following definitions come from lib/smbrun.c */
-int smbrun_no_sanitize(const char *cmd, int *outfd);
-int smbrun(const char *cmd, int *outfd);
+int smbrun_no_sanitize(const char *cmd, int *outfd, char * const *env);
+int smbrun(const char *cmd, int *outfd, char * const *env);
int smbrunsecret(const char *cmd, const char *secret);
/* The following definitions come from lib/sock_exec.c */