Page MenuHomeFreeBSD

prison_proc_iterate(): make it work for prison
ClosedPublic

Authored by kib on Fri, Dec 6, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 4:56 PM
Unknown Object (File)
Mon, Dec 9, 2:45 PM
Unknown Object (File)
Sat, Dec 7, 7:50 PM
Unknown Object (File)
Fri, Dec 6, 5:17 PM
Unknown Object (File)
Fri, Dec 6, 5:06 PM
Subscribers

Details

Summary
Do not exclude processes owned by host/prison0 if there are jails
configured.

PR:     283163

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Fri, Dec 6, 5:03 PM

I'm surprised the wrong behavior existed for this long without being noticed. I guess that shows how little-used kill(-1) is in usual operation.

This revision is now accepted and ready to land.Fri, Dec 6, 5:42 PM
This revision was automatically updated to reflect the committed changes.