Summary: | Increase MAXPATHLEN value | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Rodrigo Osorio <rodrigo> | ||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Only Me | CC: | cem | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 225761 | ||||||
Attachments: |
|
Description
Rodrigo Osorio
2018-04-19 12:18:50 UTC
(In reply to Rodrigo Osorio from comment #0) The bug is is : bug #225761 This shouldn't be done solely for a piece of broken ports software. This is a big change, not to mention ABI-breaking. It can't go to stable/* but the port needs to work on stable/*, presumably. The supplied patch also isn't sufficient to fix up the fallout (particularly, libc glob allocates a bunch of MAXPATHLEN buffers on the stack, which becomes much worse with a 4kB length). Here is a little more thorough treatment of the issue: https://reviews.freebsd.org/D12330 (it also bumps MAXNAMLEN from 255 to 1023 — long enough to hold 255 arbitrary Unicode characters in UTF-8). This needs arch-level discussion and buy-in; it's not a Bugzilla PR level issue. |