]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool: Properly disable uaccess validation
authorJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 24 Mar 2025 21:55:58 +0000 (14:55 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Mar 2025 08:20:26 +0000 (09:20 +0100)
commite1a9dda74dbffbc3fa2069ff418a1876dc99fb14
tree54bc9230a460400c9d6d6300360e0669be2652bd
parent6b023c7842048c4bbeede802f3cf36b96c7a8b25
objtool: Properly disable uaccess validation

If opts.uaccess isn't set, the uaccess validation is disabled, but only
partially: it doesn't read the uaccess_safe_builtin list but still tries
to do the validation.  Disable it completely to prevent false warnings.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/0e95581c1d2107fb5f59418edf2b26bba38b0cbb.1742852846.git.jpoimboe@kernel.org
tools/objtool/check.c