summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2025-10-14 13:28:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-25 11:06:10 +0100
commit1dacf6b3718a356428f0e31300fb7b9e5fc6e347 (patch)
tree69c83f49e5d2324ae36e24dd62fdf66055b0b241 /kernel/bpf/arraymap.c
parent1879319d790f7d57622cdc22807b60ea78b56b6d (diff)
xen/privcmd: add boot control for restricted usage in domU
commit 1613462be621ad5103ec338a7b0ca0746ec4e5f1 upstream. When running in an unprivileged domU under Xen, the privcmd driver is restricted to allow only hypercalls against a target domain, for which the current domU is acting as a device model. Add a boot parameter "unrestricted" to allow all hypercalls (the hypervisor will still refuse destructive hypercalls affecting other guests). Make this new parameter effective only in case the domU wasn't started using secure boot, as otherwise hypercalls targeting the domU itself might result in violating the secure boot functionality. This is achieved by adding another lockdown reason, which can be tested to not being set when applying the "unrestricted" option. This is part of XSA-482 Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions