Page MenuHomeFreeBSD

prison_proc_iterate(): make it work for prison
ClosedPublic

Authored by kib on Dec 6 2024, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 24, 7:11 PM
Unknown Object (File)
Nov 25 2025, 9:11 AM
Unknown Object (File)
Nov 21 2025, 6:53 AM
Unknown Object (File)
Nov 17 2025, 7:44 PM
Unknown Object (File)
Nov 17 2025, 4:35 PM
Unknown Object (File)
Nov 17 2025, 1:39 PM
Unknown Object (File)
Nov 17 2025, 7:15 AM
Unknown Object (File)
Nov 17 2025, 6:52 AM
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.Dec 6 2024, 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.Dec 6 2024, 5:42 PM
This revision was automatically updated to reflect the committed changes.