Re: Signal delivery to kernel threads/processes?

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 01/16/04

  • Next message: John Baldwin: "Re: Request for Comments: libarchive, bsdtar"
    Date: Fri, 16 Jan 2004 14:19:30 -0500 (EST)
    To: arch@FreeBSD.org
    
    

    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

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: John Baldwin: "Re: Request for Comments: libarchive, bsdtar"

    Relevant Pages