diff options
author | 2022-10-17 20:45:40 +0200 | |
---|---|---|
committer | 2022-10-22 05:15:56 -0400 | |
commit | 2e3272bc1790825c43d2c39690bf2836b81c6d36 (patch) | |
tree | c632ac9f2bf8917f5bbd23e5bce547338aae8ea0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | kvm: Add support for arch compat vm ioctls (diff) | |
download | linux-dev-2e3272bc1790825c43d2c39690bf2836b81c6d36.tar.xz linux-dev-2e3272bc1790825c43d2c39690bf2836b81c6d36.zip |
KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
In the next patch we want to introduce a second caller to
set_msr_filter() which constructs its own filter list on the stack.
Refactor the original function so it takes it as argument instead of
reading it through copy_from_user().
Signed-off-by: Alexander Graf <graf@amazon.com>
Message-Id: <20221017184541.2658-3-graf@amazon.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions