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)
Thu, Apr 2, 12:18 AM
Unknown Object (File)
Sat, Mar 28, 3:22 PM
Unknown Object (File)
Sat, Mar 28, 5:18 AM
Unknown Object (File)
Sat, Mar 14, 5:28 AM
Unknown Object (File)
Fri, Mar 13, 8:27 PM
Unknown Object (File)
Mar 5 2026, 5:44 AM
Unknown Object (File)
Mar 3 2026, 6:06 PM
Unknown Object (File)
Mar 3 2026, 2:55 AM
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