path: root/capture_opts.h
diff options
authorGerald Combs <gerald@wireshark.org>2007-08-30 00:24:40 +0000
committerGerald Combs <gerald@wireshark.org>2007-08-30 00:24:40 +0000
commit92802883a6ec5192b9df1ab7b3d4d8069b46f841 (patch)
tree956ab91ef804104bde2f208b6425b01233d6f4b8 /capture_opts.h
parent4e83fc82878f4037921bb688e8559abf5701e856 (diff)
Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark. Remove the "DANGEROUS" notices, but leave it disabled by default. Whine if the user runs Wireshark or TShark as root. Add a preference to disable the whining. Add a "setuid-root" script that can be used to switch dumpcap and TShark's setuid-ness on and off for development and testing. Update the release notes and README.packaging. svn path=/trunk/; revision=22733
Diffstat (limited to 'capture_opts.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index 2f96886d90..c47519329d 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -104,6 +104,10 @@ typedef struct capture_options_tag {
capture_state state; /**< current state of the capture engine */
gboolean output_to_pipe; /**< save_file is a pipe (named or stdout) */
+#ifndef _WIN32
+ uid_t owner; /**< owner of the cfile */
+ gid_t group; /**< group of the cfile */
} capture_options;
/* initialize the capture_options with some reasonable values */