Date: Sat, 7 Sep 2002 12:12:53 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> 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 Message-ID: <200209071912.g87JCs0I062248@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209071912.g87JCs0I062248>
