mirror of
https://github.com/safing/portmaster
synced 2025-09-13 00:09:40 +00:00
Improve metadata handling of profiles
Also, improve OS profile handling
This commit is contained in:
parent
4b694c5f84
commit
5a88fc2fce
8 changed files with 133 additions and 130 deletions
|
@ -1,9 +1,7 @@
|
|||
package process
|
||||
|
||||
// IsKernel returns whether the process is the Kernel.
|
||||
func (p *Process) IsKernel() bool {
|
||||
return p.Pid == 0
|
||||
}
|
||||
// SystemProcessID is the PID of the System/Kernel itself.
|
||||
const SystemProcessID = 0
|
||||
|
||||
// specialOSInit does special OS specific Process initialization.
|
||||
func (p *Process) specialOSInit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue