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

    • Re: OT: A Google funny.....
      ... continue to annoy the hell out of people in an appalling arrogant ... was in fact a mortal insult to me. ... *your interpretation* of Woody's comment was that he was implying ... you were a nationalist bigot. ...
      (uk.comp.sys.mac)
    • Re: OT: A Google funny.....
      ... continue to annoy the hell out of people in an appalling arrogant ... was in fact a mortal insult to me. ... *your interpretation* of Woody's comment was that he was implying ... you were a nationalist bigot. ...
      (uk.comp.sys.mac)
    • Re: Internet Obsession Blamed for Neglect
      ... He put "weaker" in quotes, as in, it's the cliche ... Snyders name is usually ... the woman in this feminist interpretation) is an insult. ...
      (alt.true-crime)
    • Re: Britney Spears: Its A Boy!
      ... >> Please drop the veiled insult that I and others aren't open-minded people. ... >> Just because someone disagrees with you doesn't make them closed-minded. ... interpretation, ...
      (rec.arts.tv.soaps.abc)
    • Re: OT: A Google funny.....
      ... continue to annoy the hell out of people in an appalling arrogant ... was in fact a mortal insult to me. ... outraged and deeply insulted because *your interpretation* was that you ... you were a nationalist bigot. ...
      (uk.comp.sys.mac)