Re: Signal delivery to kernel threads/processes?

From: Bruce Evans (bde_at_zeta.org.au)
Date: 01/16/04

  • Next message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
    Date: Sat, 17 Jan 2004 09:48:57 +1100 (EST)
    To: Robert Watson <rwatson@FreeBSD.org>
    
    

    On Fri, 16 Jan 2004, Robert Watson wrote:

    > 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.

    Setting P_SYSTEM for init is a bug. It also breaks debugging. Setting it
    for init seems to be just a bug in init_main.c 1.124. I have run without
    this setting for many years. I noticed the breakage mainly for
    "cat /proc/1/map".

    Bruce
    _______________________________________________
    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: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"

    Relevant Pages

    • Re: New version of HLA Adventure has been released! :)
      ... As usual, Annie, you're replying for no useful reason other than to ... The word "bug", for instance, is certainly far, far older than computers, ... guessing here but "dingbat" has the sound of being something "distorted", ... kind of general "dung-person" insult? ...
      (alt.lang.asm)
    • Re: Giving an application a window icon in a sensible way
      ... Saying you found a bug is generally ... would not accept the standard solution, ... have inferred an insult, and I see I used the word "stupid". ...
      (comp.lang.java.programmer)
    • Re: Questions about C1x
      ... quo and hence to keep a buffer overflow in the code of the C standard". ... You can disagree with that assertion, or you can say it is wrong, but you can't say it is an insult! ... stone to somebody else because they have a bug. ...
      (comp.std.c)
    • Re: Matlab & LD_LIBRARY_PATH
      ... This happens on different machines running either ... bug, but I can't find it now. ... The question is, when logging in via the display manager, does ... However booting into X11 (init 5) prevents LD_LIBRARY_PATH from ...
      (Fedora)
    • Re: [BUG] get_rtc_time() triggers NMI watchdog in hpet_rtc_interrupt()
      ... but occasionally also early in init. ... The bug may not originate from the 2.6.27-rc series as I only recently ... enabled HPET in this machine's kernels (not due to HPET problems, ... I also just got this during shutdown: ...
      (Linux-Kernel)