commit | 78d9af4cd375880a574327210eb9dab572618364 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Thu Apr 24 18:52:37 2014 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Wed Apr 30 19:10:38 2014 +0200 |
tree | 8b20ed5d22d82192f8c3aad520d4eff6843c1214 | |
parent | 97aa5cddbe9e01521137f337624469374e3cbde5 [diff] |
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: Oleg Nesterov <oleg@redhat.com>