From owner-cvs-all Sat Sep 7 12:13: 3 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 6C83037B400; Sat, 7 Sep 2002 12:12:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28BE143E42; Sat, 7 Sep 2002 12:12:54 -0700 (PDT) (envelope-from jmallett@FreeBSD.org) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g87JCsJU062249; Sat, 7 Sep 2002 12:12:54 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g87JCs0I062248; Sat, 7 Sep 2002 12:12:54 -0700 (PDT) Message-Id: <200209071912.g87JCs0I062248@freefall.freebsd.org> From: Juli Mallett Date: Sat, 7 Sep 2002 12:12:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 X-FreeBSD-CVS-Branch: HEAD 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 jmallett 2002/09/07 12:12:53 PDT Modified files: sys/alpha/alpha machdep.c sys/i386/i386 machdep.c sys/ia64/ia64 machdep.c sys/pc98/i386 machdep.c sys/sparc64/sparc64 machdep.c Log: Fill out two fields (si_pid, si_uid) in the siginfo structure handed back to userland in the signal handler that were not being iflled out before, but should and can be. This part of sendsig could be slightly refactored to use an MI interface, or ideally, *sendsig*() would have an API change to accept a siginfo_t, which would be filled out by an MI function in the level above sendsig, and said MI function would make a small call into MD code to fill out the MD parts (some of which may be bogus, such as the si_addr stuff in some places). This would eventually make it possible for parts of the kernel sending signals to set up a siginfo with meaningful information. Reviewed by: mux MFC after: 2 weeks Revision Changes Path 1.184 +2 -0 src/sys/alpha/alpha/machdep.c 1.532 +2 -0 src/sys/i386/i386/machdep.c 1.110 +2 -0 src/sys/ia64/ia64/machdep.c 1.292 +2 -0 src/sys/pc98/i386/machdep.c 1.62 +2 -0 src/sys/sparc64/sparc64/machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message