On 6/16/26 23:20, Richard Henderson wrote:
Introduce user/mmap-min-addr.h. Initialize the variable
from a constructor instead of main.
Reviewed-by: Warner Losh <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Revied-by: Helge Deller <[email protected]>
---
include/user/mmap-min-addr.h | 12 ++++++++++++
linux-user/user-internals.h | 1 -
common-user/mmap-min-addr.c | 37 ++++++++++++++++++++++++++++++++++++
linux-user/elfload.c | 1 +
linux-user/main.c | 33 +++-----------------------------
linux-user/mmap.c | 1 +
common-user/meson.build | 1 +
7 files changed, 55 insertions(+), 31 deletions(-)
create mode 100644 include/user/mmap-min-addr.h
create mode 100644 common-user/mmap-min-addr.c