Page MenuHomeFreeBSD

Use a platform independent value for PKG_MAX_SIZE.
ClosedPublic

Authored by markj on Jul 12 2019, 9:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 15, 12:20 AM
Unknown Object (File)
Sat, Nov 1, 12:56 PM
Unknown Object (File)
Sat, Nov 1, 10:21 AM
Unknown Object (File)
Thu, Oct 30, 1:26 AM
Unknown Object (File)
Wed, Oct 29, 8:18 PM
Unknown Object (File)
Wed, Oct 29, 7:15 PM
Unknown Object (File)
Wed, Oct 29, 5:58 PM
Unknown Object (File)
Wed, Oct 29, 5:51 PM
Subscribers

Details

Summary

The maximum number of rights one can send over a unix socket is
platform-dependent. Use a platform-indepdent value for the maximum in
libnv so that 32-bit applications work when running on a 64-bit kernel.
This is necessary so long as the freebsd32 compat layer incorrect
applies the 64-bit limit, which is smaller than the 32-bit limit.

Test Plan

This fixes PR 238511.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable