Date: Mon, 30 Sep 2002 17:07:29 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 ... Message-ID: <200210010007.g9107Tkb058991@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210010007.g9107Tkb058991>