diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-16 23:36:49 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-23 15:29:18 +0200 |
commit | 5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5 (patch) | |
tree | 1f123998f801c375674326ba7946da568be32df0 /tunnel/firewall/types_windows.go | |
parent | updater: use correct length for security attributes (diff) | |
download | wireguard-windows-5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5.tar.xz wireguard-windows-5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5.zip |
global: use SECURITY_DESCRIPTOR apis from x/sys/windows
Diffstat (limited to 'tunnel/firewall/types_windows.go')
-rw-r--r-- | tunnel/firewall/types_windows.go | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tunnel/firewall/types_windows.go b/tunnel/firewall/types_windows.go index fd313993..d61c6480 100644 --- a/tunnel/firewall/types_windows.go +++ b/tunnel/firewall/types_windows.go @@ -405,50 +405,6 @@ const ( cIPPROTO_UDP wtIPProto = 17 ) -type wtExplicitAccess struct { - accessPermissions uint32 - accessMode uint32 - inheritance uint32 - trustee wtTrustee -} - -type wtTrustee struct { - multipleTrustee *wtTrustee - multipleTrusteeOperation uint32 - trusteeForm uint32 - trusteeType uint32 - sid *windows.SID -} - -const ( - cTRUSTEE_IS_UNKNOWN = iota - cTRUSTEE_IS_USER - cTRUSTEE_IS_GROUP - cTRUSTEE_IS_DOMAIN - cTRUSTEE_IS_ALIAS - cTRUSTEE_IS_WELL_KNOWN_GROUP - cTRUSTEE_IS_DELETED - cTRUSTEE_IS_INVALID - cTRUSTEE_IS_COMPUTER -) -const ( - cTRUSTEE_IS_SID = iota - cTRUSTEE_IS_NAME - cTRUSTEE_BAD_FORM - cTRUSTEE_IS_OBJECTS_AND_SID - cTRUSTEE_IS_OBJECTS_AND_NAME -) - -const ( - cNOT_USED_ACCESS = iota - cGRANT_ACCESS - cSET_ACCESS - cDENY_ACCESS - cREVOKE_ACCESS - cSET_AUDIT_SUCCESS - cSET_AUDIT_FAILURE -) - const ( cFWP_ACTRL_MATCH_FILTER = 1 ) |