Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Dead_Mozay:anbox
anbox-modules
ashmem_fix_suse_kernels.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ashmem_fix_suse_kernels.patch of Package anbox-modules
diff --git a/kernel/ashmem/ashmem.c b/kernel/ashmem/ashmem.c index c846db6..64d598e 100644 --- a/ashmem/ashmem.c +++ b/ashmem/ashmem.c @@ -374,7 +374,7 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma) } /* requested protection bits must match our allowed protection mask */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0) || (CONFIG_SUSE_KERNEL && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 39)) if (unlikely((vma->vm_flags & ~calc_vm_prot_bits(asma->prot_mask, 0)) & calc_vm_prot_bits(PROT_MASK, 0))) { #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor