On 9/29/2012 5:49 PM, Evan Huus wrote:
On Sat, Sep 29, 2012 at 4:05 PM, Bill Meier <[email protected]> wrote:
My inclination: test the return value of the various set*id calls and if
fail, do g_error().

Thoughts ?

I'd be tempted to make it a g_warning() since Wireshark will
*probably* keep working despite the problem. The general approach
seems sound though.


After thinking about this a bit, I've decided to abort given that if an attempt to reduce privileges fails for some obscure reason, it's probably best not to proceed with possibly elevated privileges.





___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to