Date: Thu, 04 Sep 2014 18:52:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-emulation@FreeBSD.org Subject: [Bug 192842] [patch][linux] linux_ppoll syscall required by linux apps that use pulseaudio (on linux_base-f20) Message-ID: <bug-192842-4075-98T9W4HiqE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192842-4075@https.bugs.freebsd.org/bugzilla/> References: <bug-192842-4075@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192842 Vassilis Laganakos <vassilis@einval.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #146055|0 |1 is obsolete| | --- Comment #3 from Vassilis Laganakos <vassilis@einval.com> --- Created attachment 146818 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146818&action=edit linux_ppoll syscall patch for linuxulator v2 Thank you for taking a look in this. You're right about the pointer to pa variable; I've dropped it and move the declaration of pa early in the function. Switched back to using ast() as in linux_pselect, dropped the 0s case, and added handling the multiplication and addition potential overflows in a naive way: if the result is smaller than the multiplicator or then the addend, then timeout will get the INT_MAX value. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192842-4075-98T9W4HiqE>