alpha: Fix generic brk system call emulation in __brk_call (bug 29490)
commite7ad26ee3cb74e61d0637c888f24dd478d77af58
authorFlorian Weimer <fweimer@redhat.com>
Mon, 22 Aug 2022 09:04:47 +0000 (22 11:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Aug 2022 09:05:42 +0000 (22 11:05 +0200)
tree7abb7d15d2f92f6dd3dd545bb6850fce3ab5c13f
parentf7b0fc5cc61301461e3c1a278240ce78701bb9a8
alpha: Fix generic brk system call emulation in __brk_call (bug 29490)

The kernel special-cases the zero argument for alpha brk, and we can
use that to restore the generic Linux error handling behavior.

Fixes commit b57ab258c1140bc45464b4b9908713e3e0ee35aa ("Linux:
Introduce __brk_call for invoking the brk system call").
sysdeps/unix/sysv/linux/alpha/brk_call.h