]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r228218, r228219, 228220, 228221
authorpho <pho@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 12 Dec 2011 17:33:38 +0000 (17:33 +0000)
committerpho <pho@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 12 Dec 2011 17:33:38 +0000 (17:33 +0000)
commit3de9cec58ca9d1220d7cf04fcac5eda36532cf86
treeca09114febfff894b7cd097d0d9f2229bd2541d7
parent8dbbda59880eb6e8f4e4f4f9ad4dfdfcfe939759
MFC: r228218, r228219, 228220, 228221

Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameter
check here. Include check for negative seconds value.
Add umtx_copyin_timeout() and move parameter checks here.
Add declaration of umtx_copyin_timeout()
Use umtx_copyin_timeout() to copy and check timeout parameteri in
kern_thr_suspend().

git-svn-id: svn://svn.freebsd.org/base/stable/8@228439 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_thr.c
sys/kern/kern_umtx.c
sys/sys/umtx.h