From owner-cvs-all Mon Sep 30 17: 8:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 681F937B401; Mon, 30 Sep 2002 17:08:56 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FC1143E42; Mon, 30 Sep 2002 17:08:55 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g9108TOo026409; Mon, 30 Sep 2002 20:08:29 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 30 Sep 2002 20:08:28 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Juli Mallett Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/osf1 osf1_signal.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_misc.c linux_signal.c src/sys/compat/svr4 svr4_filio.c svr4_signal.c src/sys/conf files src/sys/fs/procfs procfs_ctl.c src/sys/kern init_main.c ... In-Reply-To: <200210010007.g9107Tkb058991@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thanks, clarification much appreciated. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Mon, 30 Sep 2002, Juli Mallett wrote: > jmallett 2002/09/30 17:07:28 PDT > > Modified files: > sys/alpha/osf1 osf1_signal.c > sys/compat/linprocfs linprocfs.c > sys/compat/linux linux_misc.c linux_signal.c > sys/compat/svr4 svr4_filio.c svr4_signal.c > sys/conf files > sys/fs/procfs procfs_ctl.c > sys/kern init_main.c kern_exit.c kern_fork.c > kern_kthread.c kern_proc.c kern_sig.c > subr_trap.c tty.c subr_sigq.c > sys/sys ksiginfo.h proc.h > Log: > (Forced commit, to clarify previous commit of ksiginfo/signal queue code.) > > I've added a structure, kernel-private, to represent a pending or in-delivery > signal, called `ksiginfo'. It is roughly analogous to the basic information > that is exported by the POSIX interface 'siginfo_t', but more basic. I've > added functions to allocate these structures, and further to wrap all signal > operations using them. > > Once the operations are wrapped, I've added a TailQ (see queue(3)) of these > structures to 'struct proc', and all pending signals are in that TailQ. When > a signal is being delivered, it is dequeued from the list. Once I finish > the spreading of ksiginfo throughout the tree, the dequeued structure will be > delivered to the process in question, whereas currently and normally, the > signal number is what is used. > > Revision Changes Path > 1.21 +0 -0 src/sys/alpha/osf1/osf1_signal.c > 1.57 +0 -0 src/sys/compat/linprocfs/linprocfs.c > 1.132 +0 -0 src/sys/compat/linux/linux_misc.c > 1.37 +0 -0 src/sys/compat/linux/linux_signal.c > 1.18 +0 -0 src/sys/compat/svr4/svr4_filio.c > 1.20 +0 -0 src/sys/compat/svr4/svr4_signal.c > 1.708 +0 -0 src/sys/conf/files > 1.46 +0 -0 src/sys/fs/procfs/procfs_ctl.c > 1.209 +0 -0 src/sys/kern/init_main.c > 1.179 +0 -0 src/sys/kern/kern_exit.c > 1.166 +0 -0 src/sys/kern/kern_fork.c > 1.26 +0 -0 src/sys/kern/kern_kthread.c > 1.156 +0 -0 src/sys/kern/kern_proc.c > 1.193 +9 -4 src/sys/kern/kern_sig.c > 1.2 +17 -0 src/sys/kern/subr_sigq.c > 1.226 +0 -0 src/sys/kern/subr_trap.c > 1.187 +0 -0 src/sys/kern/tty.c > 1.2 +2 -0 src/sys/sys/ksiginfo.h > 1.263 +0 -0 src/sys/sys/proc.h > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message