Re: [PATCH for 6.2 11/49] bsd-user: Fix calculation of size to allocate

2021-08-07 Thread Richard Henderson
On 8/7/21 11:42 AM, Warner Losh wrote: It was incorrect to subtract off the size of an unsigned int here. In bsd-user fork, this change was made when moving the arch specific items to specific files. The size in BSD that's available for the arguments does not need a return address subtracted fr

[PATCH for 6.2 11/49] bsd-user: Fix calculation of size to allocate

2021-08-07 Thread Warner Losh
It was incorrect to subtract off the size of an unsigned int here. In bsd-user fork, this change was made when moving the arch specific items to specific files. The size in BSD that's available for the arguments does not need a return address subtracted from it. Signed-off-by: Warner Losh ---