virt: vbox: Use current_uid() in vbg_misc_device_requestor()
authorDenis Efremov <efremov@linux.com>
Mon, 24 Aug 2020 12:53:30 +0000 (15:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Aug 2020 10:22:50 +0000 (12:22 +0200)
commitda0d6b3a536bc800cb46b35cc75327fd546b6272
treea864f7dea1e771da1790ab423e9b0f867cf40831
parent7cd7edb89437457ec36ffdbb970cc314d00c4aba
virt: vbox: Use current_uid() in vbg_misc_device_requestor()

Modify vbg_misc_device_requestor() to use current_uid() wrapper.

Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200824125330.487083-1-efremov@linux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/vboxguest/vboxguest_linux.c