From b1247d2d0d51108c910a73891ff3116e5f032ab1 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Sat, 12 Jan 2019 18:39:45 +0100 Subject: [pkg] all your deps are vendored to us --- vendor/github.com/AllenDang/w32/fork_constants.go | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vendor/github.com/AllenDang/w32/fork_constants.go (limited to 'vendor/github.com/AllenDang/w32/fork_constants.go') 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 +) -- cgit v1.2.3