Date: Fri, 26 Mar 2004 13:11:57 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Garance A Drosehn <gad@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/pkill pkill.c Message-ID: <Pine.NEB.3.96L.1040326131052.79234E-100000@fledge.watson.org> In-Reply-To: <200403261751.i2QHpn5V048897@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Mar 2004, Garance A Drosehn wrote: > Modified files: > usr.bin/pkill pkill.c > Log: > Switch to checking P_KTHREAD instead of P_SYSTEM when deciding what > "system processes" to always ignore. Based on my testing with `-D', > I am pretty sure this is what we want for 5.x-current. If my thinking > is wrong, this also makes it easier to switch to a different check. Either our definition or my understanding of P_KTHREAD vs P_SYSTEM is weak. P_SYSTEM seems to include init, and P_KTHREAD seems to mean things that really are kprocs, but there was some recent discussion of the details of this on arch@ with regard to whether signals should be delivered to things that are arguably kernel threads or processes. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040326131052.79234E-100000>