[Bug 192842] [patch][linux] linux_ppoll syscall required by linux apps that use pulseaudio (on linux_base-f20)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 4 18:52:46 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192842

Vassilis Laganakos <vassilis at einval.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #146055|0                           |1
        is obsolete|                            |

--- Comment #3 from Vassilis Laganakos <vassilis at 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.


More information about the freebsd-emulation mailing list