mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
13 lines
261 B
Go
13 lines
261 B
Go
//+build !windows,!linux
|
|
|
|
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() {
|
|
|
|
}
|