summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-05-30 13:00:03 +0300
committerTom Rini <trini@konsulko.com>2022-06-23 19:58:18 +0300
commit0648b132696532c96c3656876c5b12ac336e1b27 (patch)
tree487bbffca17b31ba71547ff5da66af54755485d4 /arch/x86
parentaac53d3d96a236c1e62f250ed7ffa8cf9b0e44a6 (diff)
downloadu-boot-0648b132696532c96c3656876c5b12ac336e1b27.tar.xz
sandbox: Rename getopt sections
Rename the sections used for defining sandbox command line options so that they don't start with a '.'. ELF says that sections starting with a '.' are reserved for system use, but the sandbox runs as a normal user process so should be using user sections instead. Clang's ASAN adds redzones to non-user sections and the extra padding meant that the list of options was being corrupted. Naming the sections as user sections avoids this issue as clang handles them as we intended. Signed-off-by: Andrew Scull <ascull@google.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions