Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 14:19:30 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   Re: Signal delivery to kernel threads/processes?
Message-ID:  <Pine.NEB.3.96L.1040116141843.94620G-100000@fledge.watson.org>
In-Reply-To: <Pine.NEB.3.96L.1040116141623.94620F-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 16 Jan 2004, Robert Watson wrote:

> On Fri, 16 Jan 2004, Robert Watson wrote:
> 
> > 	if (p->p_flag & P_SYSTEM) 
> > 		return (EPERM);
> 
> Another possible interpretation, not quite the same, might be to use
> P_KTHREAD. 

And, to add insult to injury by following up to my post yet another time: 
init has P_SYSTEM set, so P_KTHREAD is a much better choice.  Either that
or introduce a P_KERNEL flag. 

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.1040116141843.94620G-100000>