]> git.ipfire.org Git - thirdparty/glibc.git/commit
alpha: Fix generic brk system call emulation in __brk_call (bug 29490)
authorFlorian Weimer <fweimer@redhat.com>
Mon, 22 Aug 2022 09:04:47 +0000 (11:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Aug 2022 09:12:40 +0000 (11:12 +0200)
commit1fcc7bfee22a07064508b6729cdaa6289851a2b4
treee1d27e54083ac2ed692b876e7dc9ae81f8dc143f
parent4bc889c01ce68475ce36f9c67b9a445a6c0218d9
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").

(cherry picked from commit e7ad26ee3cb74e61d0637c888f24dd478d77af58)
NEWS
sysdeps/unix/sysv/linux/alpha/brk_call.h