The vm_flags modifier functions have been introduced to prevent racing since Linux Kernel v6.3. However, the vm_flags have become const since this version. This PR changed the modified code to adopt the new function wrapper for the newer version of the kernel.
I have tested it after cherry-picking #179 , #142 (only xvsec) and #150 in my own branch. It was successfully compiled on Linux v6.3.
The vm_flags modifier functions have been introduced to prevent racing since Linux Kernel v6.3. However, the vm_flags have become const since this version. This PR changed the modified code to adopt the new function wrapper for the newer version of the kernel.
I have tested it after cherry-picking #179 , #142 (only xvsec) and #150 in my own branch. It was successfully compiled on Linux v6.3.