From 92802883a6ec5192b9df1ab7b3d4d8069b46f841 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 30 Aug 2007 00:24:40 +0000 Subject: 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 --- capture_opts.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capture_opts.h') 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 { #endif 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 */ +#endif } capture_options; /* initialize the capture_options with some reasonable values */ -- cgit v1.2.3