VirtualBox

Ticket #19644: kernel-5.8-4.patch

File kernel-5.8-4.patch, 700 bytes (added by LocutusOfBorg, 4 years ago)

drop-vermagic

  • src/VBox/Additions/linux/sharedfolders/vfsmod.c

    Description: Fix kernel 5.8 forbidding use of vermagic.h header file
    Author: Gianfranco Costamagna <locutusofborg@debian.org>
    Origin: https://www.virtualbox.org/ticket/19644
    Bug-Ubuntu: https://launchpad.net/bugs/1884652
    Last-Update: 2020-08-10
    
    old new  
    5353#include <linux/seq_file.h>
    5454#include <linux/vfs.h>
    5555#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 62)
    56 # include <linux/vermagic.h>
     56# if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0)
     57#  include <linux/vermagic.h>
     58# endif
    5759#endif
    5860#include <VBox/err.h>
    5961#include <iprt/path.h>

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy