From ace5e3111c0b8d8bfd84b32f2c689b0a4d92c061 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 13 Jul 2018 23:36:13 +0200 Subject: Do not apply uaccess tag for /dev/kvm if mode is 0666 --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index dd904c7148..2a70af0dcb 100644 --- a/meson.build +++ b/meson.build @@ -741,7 +741,9 @@ substs.set('USERS_GID', users_gid) conf.set10('ENABLE_ADM_GROUP', get_option('adm-group')) conf.set10('ENABLE_WHEEL_GROUP', get_option('wheel-group')) -substs.set('DEV_KVM_MODE', get_option('dev-kvm-mode')) +dev_kvm_mode = get_option('dev-kvm-mode') +substs.set('DEV_KVM_MODE', dev_kvm_mode) +conf.set10('DEV_KVM_UACCESS', dev_kvm_mode != '0666') substs.set('GROUP_RENDER_MODE', get_option('group-render-mode')) kill_user_processes = get_option('default-kill-user-processes') -- cgit v1.2.3