diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-16 19:20:06 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-16 19:20:06 +0000 |
commit | e44e7544c6768f4aca88b4d81ab5fdd8f1578fdc (patch) | |
tree | c9bf130aae742b288f2617e5d9f61a4dac4dc245 /editcap.c | |
parent | f5e36d54075275fe27fbd2fcb0730e55c5d20785 (diff) |
Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34137 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -383,9 +383,9 @@ set_strict_time_adj(char *optarg_str_p) optarg_str_p++; } - /* - * check for a negative adjustment - * A negative strict adjustment value is a flag + /* + * check for a negative adjustment + * A negative strict adjustment value is a flag * to adjust all frames by the specifed delta time. */ if (*optarg_str_p == '-') { @@ -807,7 +807,7 @@ main(int argc, char *argv[]) /* * Get credential information for later use. */ - get_credential_info(); + init_process_policies(); #ifdef HAVE_PLUGINS /* Register wiretap plugins */ @@ -1226,9 +1226,9 @@ main(int argc, char *argv[]) phdr = &snap_phdr; } } else { - /* - * A negative strict time adjustment is requested. - * Unconditionally set each timestamp to previous + /* + * A negative strict time adjustment is requested. + * Unconditionally set each timestamp to previous * packet's timestamp plus delta. */ snap_phdr = *phdr; |