On 13/12/2025 16:44, Paul Eggert wrote:
On 2025-12-13 08:09, Matteo Croce wrote:
That was the purpose of the patch, even if maybe I should calculate it
by using sysconf(_SC_PAGESIZE).
OK, but I'm not seeing why the patch would be a good idea for the
coreutils master branch. Without the patch, doesn't 'cat' work well on
all porting targets? Why add an unnecessary syscall?
Yes I agree.
It would seem to be a layering violation to add a limit
in the userspace call. Let the kernel limit things as necessary.
cheers,
Padraig