diff options
author | midipix <writeonce@midipix.org> | 2016-06-24 02:22:21 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-24 03:32:46 -0400 |
commit | 5f1999c6f77e9abb827d61e4e89fa42841caaa9a (patch) | |
tree | baa85523a11f4c0a5b9f049910e931144e49b9f0 /src/internal | |
parent | a3e9aaed1633e5ca5426758719486e001931eddd (diff) | |
download | ntapi-5f1999c6f77e9abb827d61e4e89fa42841caaa9a.tar.bz2 ntapi-5f1999c6f77e9abb827d61e4e89fa42841caaa9a.tar.xz |
process tokens: added __ntapi_tt_[enable/disable]_token_privilege().
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi.c | 4 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index 0749a97..e67bcf1 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -214,6 +214,10 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) __ntapi->tt_exec_map_image_as_data = __ntapi_tt_exec_map_image_as_data; __ntapi->tt_exec_unmap_image = __ntapi_tt_exec_unmap_image; + /* nt_token.h */ + __ntapi->tt_enable_token_privilege = __ntapi_tt_enable_token_privilege; + __ntapi->tt_disable_token_privilege = __ntapi_tt_disable_token_privilege; + /* nt_section.h */ __ntapi->tt_get_section_name = __ntapi_tt_get_section_name; diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index 396fb59..a7436c5 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -102,6 +102,10 @@ ntapi_tt_update_runtime_data __ntapi_tt_update_runtime_data; ntapi_tt_exec_map_image_as_data __ntapi_tt_exec_map_image_as_data; ntapi_tt_exec_unmap_image __ntapi_tt_exec_unmap_image; +/* nt_token.h */ +ntapi_tt_enable_token_privilege __ntapi_tt_enable_token_privilege; +ntapi_tt_disable_token_privilege __ntapi_tt_disable_token_privilege; + /* nt_section.h */ ntapi_tt_get_section_name __ntapi_tt_get_section_name; |