]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of using hand-rolled loops where not needed switch them
authorbz <bz@FreeBSD.org>
Wed, 20 Jun 2018 11:42:06 +0000 (11:42 +0000)
committerbz <bz@FreeBSD.org>
Wed, 20 Jun 2018 11:42:06 +0000 (11:42 +0000)
commit299899c6fd2334f880a9bf4fb0a4d4ade998f9c1
tree9b7c9a562346f0689297d5c6b52b5a2f3f83c4f2
parentd8a107781d17c83c4da1cc17ba71b916883ed3b5
Instead of using hand-rolled loops where not needed switch them
to FOREACH_PROC_IN_SYSTEM() to have a single pattern to look for.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D15916
sys/kern/kern_jail.c
sys/kern/kern_proc.c
sys/kern/subr_kdb.c