Home
last modified time | relevance | path

Searched refs:pri_token (Results 1 – 3 of 3) sorted by relevance

/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/src/openvpnserv/
H A Dinteractive.c1598 HANDLE svc_token = NULL, imp_token = NULL, pri_token = NULL; in RunOpenvpn() local
1753 if (!DuplicateTokenEx(imp_token, TOKEN_ALL_ACCESS, NULL, 0, TokenPrimary, &pri_token)) in RunOpenvpn()
1827 if (!CreateProcessAsUserW(pri_token, exe_path, cmdline, &ovpn_sa, NULL, TRUE, in RunOpenvpn()
1901 CloseHandleEx(&pri_token); in RunOpenvpn()
/dports/security/openvpn-mbedtls/openvpn-2.5.6/src/openvpnserv/
H A Dinteractive.c1613 HANDLE svc_token = NULL, imp_token = NULL, pri_token = NULL; in RunOpenvpn() local
1768 if (!DuplicateTokenEx(imp_token, TOKEN_ALL_ACCESS, NULL, 0, TokenPrimary, &pri_token)) in RunOpenvpn()
1848 if (!CreateProcessAsUserW(pri_token, exe_path, cmdline, &ovpn_sa, NULL, TRUE, in RunOpenvpn()
1922 CloseHandleEx(&pri_token); in RunOpenvpn()
/dports/security/openvpn/openvpn-2.5.6/src/openvpnserv/
H A Dinteractive.c1613 HANDLE svc_token = NULL, imp_token = NULL, pri_token = NULL; in RunOpenvpn() local
1768 if (!DuplicateTokenEx(imp_token, TOKEN_ALL_ACCESS, NULL, 0, TokenPrimary, &pri_token)) in RunOpenvpn()
1848 if (!CreateProcessAsUserW(pri_token, exe_path, cmdline, &ovpn_sa, NULL, TRUE, in RunOpenvpn()
1922 CloseHandleEx(&pri_token); in RunOpenvpn()