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)
Mar 22 2024, 9:11 PM
Unknown Object (File)
Mar 22 2024, 9:11 PM
Unknown Object (File)
Mar 22 2024, 9:11 PM
Unknown Object (File)
Mar 22 2024, 7:14 PM
Unknown Object (File)
Mar 8 2024, 7:58 AM
Unknown Object (File)
Jan 12 2024, 1:02 PM
Unknown Object (File)
Jan 4 2024, 12:27 PM
Unknown Object (File)
Jan 4 2024, 12:23 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25327
Build 23987: arc lint + arc unit