mirror of
https://github.com/safing/portmaster.git
synced 2026-12-05 10:03:06 +00:00
12 lines
235 B
Go
12 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() {
|
|
|
|
}
|