From owner-cvs-all Sun Sep 8 21:13:56 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id C3F1337B400; Sun, 8 Sep 2002 21:13:52 -0700 (PDT) Date: Sun, 8 Sep 2002 21:13:52 -0700 From: Juli Mallett To: Garrett Wollman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c Message-ID: <20020908211352.A12924@FreeBSD.org> References: <200209071912.g87JCs0I062248@freefall.freebsd.org> <20020907163423.A14528@FreeBSD.org> <200209090341.g893fTNH062134@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200209090341.g893fTNH062134@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Sun, Sep 08, 2002 at 11:41:29PM -0400 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Garrett Wollman [ Data: 2002-09-08 ] [ Subjecte: Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c ] > < said: > > > Note that until everything is refactored as I want, I can't make these > > fields "honest", about who's sending the signal, just about who the signal > > is being delivered to. > > Please don't do this without properly implementing POSIX Real-Time > (queued) signals, which is what all this stuff was intended for in the > first place. SA_SIGINFO doesn't do programs much good without it. Trap code, sender pid/uid (if another process sent it), ... I'd love to implement RTS, but it's still possible to move a lot of things to this structure, without implementing RTS. Right now what I'm doing is just expanding our current signal implementation to store a little more info, so that I can implement a few things involving passing events from kernel to userland. From there it's just switching to using a linked list, and getting rid of the current sigset stuff, and so on, to implement RTS, in the queued capacity. I don't know about the other implications. Oh, it also makes it possible to tell a parent which child died, which is useful too. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message