safing-portmaster/process/process_linux.go
2020-07-22 11:46:59 +02:00

11 lines
235 B
Go

package process
// IsKernel returns whether the process is the Kernel.
func (p *Process) IsKernel() bool {
return p.Pid == 0
}
// specialOSInit does special OS specific Process initialization.
func (p *Process) specialOSInit() {
}