diff options
author | Simon Rozman <simon@rozman.si> | 2021-03-08 13:48:29 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2021-03-08 13:48:29 +0100 |
commit | cef79225560bd454cb5c49d8d2b0cfac869de8d3 (patch) | |
tree | 9196e23668f0ae06498442b73a6797f7d4fe52d8 /wintun.sln | |
parent | api: upgrade logging (diff) | |
download | wintun-cef79225560bd454cb5c49d8d2b0cfac869de8d3.tar.xz wintun-cef79225560bd454cb5c49d8d2b0cfac869de8d3.zip |
api: elevate to SYSTEM in WintunEnumAdapters()
The WintunEnumAdapters() requires namespace mutex. However,
NamespaceTakePoolMutex() works as SYSTEM user only.
WireGuard is using the WintunEnumAdapters() in its manager service to
cleanup stale adapters. As the WireGuard manager service is running as
SYSTEM, this requirement was not apparent before.
This commit also extends the example project to list its existing
adapters at start.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.sln')
0 files changed, 0 insertions, 0 deletions