aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/privileges.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-21Squelch some cast-discard warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=46647
2012-10-03*nix: Test return status of set*uid and related set*gid fcns for failure;Bill Meier1-8/+20
This fixes gcc compiler errors [-Werror=unused-result] caused by the recent addition of the "__wur" (warn_unused_result) attribute to the declarations of these functions in unistd.h. svn path=/trunk/; revision=45286
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-09-21Fix ex "modeline" so it works;Bill Meier1-2/+2
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
2011-08-17From Gisle Vanem: Make sure our SetProcessDEPPolicyHandler typedefGerald Combs1-2/+3
matches the documentation. I also verified that DEP is still enabled on Win32 using Process Explorer. svn path=/trunk/; revision=38583
2011-02-17Squelch a warning from the MSVC++ static analyzer (it's worried thatGuy Harris1-5/+29
GetModuleHandle() could return a null pointer, which is possible, although if it returns one when handed "kernel32.dll", you have bigger problems...). Add some comments. svn path=/trunk/; revision=35972
2010-09-16More typos.Gerald Combs1-3/+3
svn path=/trunk/; revision=34139
2010-09-16Fix a typo.Gerald Combs1-1/+1
svn path=/trunk/; revision=34138
2010-09-16Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().Gerald Combs1-5/+16
svn path=/trunk/; revision=34137
2008-06-30Move privileges.c and unicode-utils.c from epan to wsutil (so things likeJeff Morriss1-0/+301
capinfos and dumpcap don't need to depend on libwireshark nor directly pull in those modules). Because capinfos and editcap were only being linked with privileges.c if we had plugins, this allows those programs to be linked when someone is compiling --without-plugins. svn path=/trunk/; revision=25640