3

I have noticed, that Manjaro Linux (kernel 6.6.8) loads 32 bit executable files with ADDR_LIMIT_3GB set. Or as: setarch -B --3g.

But I have a clear memory, that earlier it was not the case and 32 bit programs started in --4G mode.

Is it hardcoded in the kernel or is configurable behavior? How to change it?

3
  • On what arch ? how did you notice ADDR_LIMIT_3GB is set ? what version of util-linux ? Commented Jan 9, 2024 at 19:42
  • additionally : running in some container ? seccomp ? Commented Jan 9, 2024 at 19:52
  • @MC68020: When I open the file in the debugger the stack is set at addresses under 0xc0000000. Also, sys_personality returns ADDR_LIMIT_3GB. Commented Jan 11, 2024 at 13:56

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.