Re: Signal delivery to kernel threads/processes?
From: Bruce Evans (bde_at_zeta.org.au)
Date: 01/16/04
- Previous message: David Schultz: "Re: Signal delivery to kernel threads/processes?"
- In reply to: Robert Watson: "Re: Signal delivery to kernel threads/processes?"
- Next in thread: David Schultz: "Re: Signal delivery to kernel threads/processes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: David Schultz: "Re: Signal delivery to kernel threads/processes?"
- In reply to: Robert Watson: "Re: Signal delivery to kernel threads/processes?"
- Next in thread: David Schultz: "Re: Signal delivery to kernel threads/processes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: 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? in SUSE 9.2 console or init 3 windows button
... Was garbled sys info and system state. ... init 3 keeps you from being
stuck in an annoying graphic boot. ... The bug is for the install to default to graphic
boot. ... (alt.os.linux.suse) - Re: Delphi Bugs
... As Linus Torvalds said "Might dlopenbe improved? ... I'll stand by my interpretation.
... > clear, it's a problem for the company, but not a bug for Linux. ... The
responded doesn't rightly state this -- what is Borland to do, ... (borland.public.delphi.non-technical)