summaryrefslogtreecommitdiff
path: root/vendor/github.com/AllenDang/w32/fork_constants.go
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-01-12 18:39:45 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-17 12:30:32 +0100
commitb1247d2d0d51108c910a73891ff3116e5f032ab1 (patch)
treee9948964f0bfb1ad2df3bc7bad02aa1f41ccfbd8 /vendor/github.com/AllenDang/w32/fork_constants.go
parentefcb8312e31b5c2261b1a1e95ace55b322cfcc27 (diff)
[pkg] all your deps are vendored to us
Diffstat (limited to 'vendor/github.com/AllenDang/w32/fork_constants.go')
-rw-r--r--vendor/github.com/AllenDang/w32/fork_constants.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/github.com/AllenDang/w32/fork_constants.go b/vendor/github.com/AllenDang/w32/fork_constants.go
new file mode 100644
index 0000000..3e9b217
--- /dev/null
+++ b/vendor/github.com/AllenDang/w32/fork_constants.go
@@ -0,0 +1,26 @@
+package w32
+
+const (
+ RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED = 0x00000001
+ RTL_CLONE_PROCESS_FLAGS_INHERIT_HANDLES = 0x00000002
+ RTL_CLONE_PROCESS_FLAGS_NO_SYNCHRONIZE = 0x00000004
+
+ RTL_CLONE_PARENT = 0
+ RTL_CLONE_CHILD = 297
+
+ THREAD_TERMINATE = 0x0001
+ THREAD_SUSPEND_RESUME = 0x0002
+ THREAD_GET_CONTEXT = 0x0008
+ THREAD_SET_CONTEXT = 0x0010
+ THREAD_SET_INFORMATION = 0x0020
+ THREAD_QUERY_INFORMATION = 0x0040
+ THREAD_SET_THREAD_TOKEN = 0x0080
+ THREAD_IMPERSONATE = 0x0100
+ THREAD_DIRECT_IMPERSONATION = 0x0200
+ THREAD_SET_LIMITED_INFORMATION = 0x0400
+ THREAD_QUERY_LIMITED_INFORMATION = 0x0800
+ THREAD_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xffff
+
+ PROCESS_SET_SESSIONID = 0x0004
+ PROCESS_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xffff
+)