Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78d9af4c authored by Oleg Nesterov's avatar Oleg Nesterov
Browse files

uprobes/x86: Cleanup the usage of arch_uprobe->def.fixups, make it u8



handle_riprel_insn() assumes that nobody else could modify ->fixups
before. This is correct but fragile, change it to use "|=".

Also make ->fixups u8, we are going to add the new members into the
union. It is not clear why UPROBE_FIX_RIP_.X lived in the upper byte,
redefine them so that they can fit into u8.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
parent 97aa5cdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment