Date: Wed, 18 Apr 2001 15:18:40 -0700 (PDT) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys signal.h src/sys/kern vfs_aio.c Message-ID: <200104182218.f3IMIek60049@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/04/18 15:18:40 PDT Modified files: sys/sys signal.h sys/kern vfs_aio.c Log: Check validity of signal callback requested via aio routines. Also move the insertion of the request to after the request is validated, there's still looks like there may be some problems if an invalid address is passed to the aio routines, basically a possible leak or having a not completely initialized structure on the queue may still be possible. A new sig macro was made _SIG_VALID to check the validity of a signal, it would be advisable to use it from now on (in kern/kern_sig.c) rather than rolling your own. PR: kern/17152 Revision Changes Path 1.26 +2 -1 src/sys/sys/signal.h 1.98 +14 -3 src/sys/kern/vfs_aio.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?200104182218.f3IMIek60049>