Documentation ¶
Rendered for windows/amd64
Overview ¶
Package JobObject allows creation of job object for SSM agent process. This is to to control the lifetime of daemon processes launched via the RunDaemon plugin.
Index ¶
Constants ¶
View Source
const (
JobObjectExtendedLimitInformation = 9
)
Variables ¶
View Source
var ( CreateJobObjectW = kernel32.NewProc("CreateJobObjectW") AssignProcessToJobObject = kernel32.NewProc("AssignProcessToJobObject") SetInformationJobObject = kernel32.NewProc("SetInformationJobObject") )
Windows APIs
View Source
var SSMjobObject syscall.Handle
Functions ¶
func AttachProcessToJobObject ¶
Function AttachProcessToJobObject attached child processes to the SSM agent job object.
Types ¶
type IoCounters ¶
type JobObjectBasicLimit ¶
type JobObjectExtendedLimit ¶
type JobObjectExtendedLimit struct { BasicLimitInformation JobObjectBasicLimit IoInfo IoCounters ProcessMemoryLimit uintptr JobMemoryLimit uintptr PeakProcessMemoryUsed uintptr PeakJobMemoryUsed uintptr }
Click to show internal directories.
Click to hide internal directories.